current position:Home>1 minute serverless set up a real website to lead the cat super card: scene experience of "set up nails at a high speed to broadcast the weather regularly"
1 minute serverless set up a real website to lead the cat super card: scene experience of "set up nails at a high speed to broadcast the weather regularly"
2022-06-24 09:50:38【Alibaba cloud cloud Lab】
Introduction to the experience
Make a nail weather forecast robot gadget by yourself , Let you and your friends know the weather in time . This application mainly demonstrates that the function calculation timing trigger follows cron Function of expression timing trigger function . Add link description
Gift collection :
https://developer.aliyun.com/adc/series/activity/serverless2022
Experiment preparation
Before experiencing this scene , You need to open the following services :
Function calculation FC:https://fcnext.console.aliyun.com/
Download nail :https://www.dingtalk.com/
in addition : This scenario may incur costs , It mainly includes :
Function to calculate the cost of using resources :https://www.aliyun.com/price/product#/commodity/vm
If you need to use this tool for a long time , Please calculate the function carefully (FC) Cost of using resources , Avoid unexpected expenses ; For example, it is only for experience function without long-term use , Please follow the last deletion steps of the document , Delete immediately after deployment .
Open up business
Open the following services :
Function calculation FC:https://fcnext.console.aliyun.com/
Add staple group assistant
First create a nail group , There are already nail groups that can jump to the next step
Click the set button in the upper right corner of the group , And add intelligent group assistant
Add robots
Choose Custom
Enter the following configuration and click “ complete “
take Webhook Copy down
Create a scheduled notification application
Enter the function calculation console :https://fcnext.console.aliyun.com/overview
Click the Apply button on the left :
To create an application from a template, select “ other ” And select “ Nail nail regular weather broadcast ” that will do :
Choose Create now , Then choose direct deployment :
At this time, you also need to pay attention to the role name part on the page , for example :
At this time, you need to click to authorize , When the authorization is completed, you may be prompted :
You need to continue clicking to authorize :
In the advanced configuration, the Webhook Copy in :
City citykey Please check the list :
https://weather-city-key-do-not-delete.oss-cn-hangzhou.aliyuncs.com/citykey.json
When finished, click the Create button at the bottom of the page . Wait a moment here , Wait until the creation is complete :
The experiment is finished ! The nail robot will push the weather information for you on time at 8 a.m. every day :
Choose to do - Change the timing trigger
On the left Services and functions And select SererlessWeatherDingTalk:
choice weather-forecast:
Under trigger Management “ edit “ Timing trigger :
Change to the desired trigger time :
Resource deletion
The deployment process in this operation is free , But in the later use process, there will be a certain cost , It mainly includes :
\1. Function to calculate the cost of using resources , Specific cost reference :https://www.aliyun.com/price/product?spm=5176.59209.J_5834642020.11.1ce176b9ut6vjT#/nas/detail/nas_bag
So if you need to upload later 、 Download and other operations , May involve relevant use , If you want to avoid expenses , You can delete the corresponding resource :
\1. Delete the function calculation service that helps you create , Function calculation console :https://fcnext.console.aliyun.com/
in addition , You can also click Delete service... In the upper right corner of the application center , Delete related resources .
It should be noted that , If you go through other ways / The channel uses the function calculation resource to be deleted , Please note the impact of deletion .
copyright notice
author[Alibaba cloud cloud Lab],Please bring the original link to reprint, thank you.
https://en.cdmana.com/2022/175/202206240903319561.html
The sidebar is recommended
- The birth of atomic quantum circuit marks a major breakthrough in quantum computer technology
- How to locate lock waiting in Dameng database
- Easily play with IOS 16 lock screen interface
- How to open an account online for new bonds? Please bless me
- React usestate storage function
- What else can the project implementation engineer do without the project?
- Precautions when applying to upgrade springcloud Version (Dalston to Edgware)
- A docker implemented by shell script
- Android studio simulator modify system language / enable Developer mode / customize resolution and size
- Android uses itemtouchhelper to realize item dragging position exchange and side sliding deletion of recyclerview
guess what you like
Why does the menu bar created with QT in vs report errors
Oauth2 released methods cannot be accessed
About pyopengl: why is the obj model (dinosaur) read and displayed like this? How can it display the same material effect as the teapot
CSS problem, card jitter
Jpprofiler monitors the problem of excessive memory deployed under Tomcat
A HashMap talked with the interviewer for half an hour
Java interview experience in a small company
I have made an application to visually generate echarts code, so I don't have to look at complex documents anymore (attached with project source code)
Can you do it as soon as possible? There is not much time
For non front and rear end separation projects, how can the front and rear ends be separated and packaged separately?
Random recommended
- () is a linear table that restricts the internal structure of data elements to only one character. A. Stack B. queue C. string D. array
- TS cannot find global variable for NPM package
- Java, what should I do if there is an edit configuration in the idea when it runs
- C++ code. Freshmen have just come into contact with this language
- Tnsnames Ora file configuration
- Handling method of Oracle data file header SCN inconsistency
- Oracle database listening file configuration
- Oracle database expdp only exports tables
- Windows method for checking network port occupation and kill process
- Oracle viewing data file header SCN information
- Ora-28000 error after upgrading Oracle 12C to 19C
- [talk about serviceregistryendpoint of springcloud]
- [springcloud service registration and anti registration AOP interception]
- [springboot source code analysis - @endpoint annotation validation principle analysis]
- [elegant offline and grayscale release of spring cloud]
- PostgreSQL
- Reactnative 0.69 release
- The new design can be called a new generation. The gradient borderless grille has a high appearance value. The application drawing of Changan Ruicheng plus
- Linux general command summary
- Render external link address URL video page via iframe - Vue
- Detailed explanation of Linux system tuning (VII) -- network status viewing command nethogs
- Vue failed to parse source for import analysis because the content contains invalid JS syntax
- Differences between front-end set and map
- Difference between front-end foreach and map
- Front end array flattening
- How the front end judges the data type
- Front end CSS style expand and collapse
- Front end array de duplication
- Front end throttling and anti shake
- Analysis of 43 cases of MATLAB neural network: Chapter 33 prediction algorithm of fuzzy neural network -- water quality evaluation of Jialing River
- Java & c++ problem solving and expansion -- leetcode30 Concatenate substrings of all words [new knowledge of Mo]
- Eclipse customizes and calls the header file [c/c++]
- Detailed explanation of Vue Foundation
- Unity determines whether all toggles are selected or not
- Program reverse output and print results
- Ubuntu modify time zone
- Linux Installation maven
- Okhttp source code analysis of Android network framework
- Android adds system service interfaces and test cases
- Ubuntu deployment according to Vue version