In the near future , Tencent cloud Serverless Released the cloud function console creation process upgrade , It further shortens the process of creating functions quickly .
The upgraded cloud function console supports template creation and function configuration guidance , Support the creation of applications in the cloud function console . This article mainly introduces the new capabilities provided by the upgraded version of cloud function console .
Current cloud functions SCF The console has provided hundreds of function templates , Cover API Gateway triggered 、COS Trigger 、Ckafka Trigger and other trigger scenarios , Involving Log Services CLS、 Cloud database CDW And dozens of cloud products .
With the increase of cloud function coverage scenarios and docking cloud products , How to complete the template function configuration and creation in the creation process , How to provide the ability to create applications , The cloud function console experience upgrade has optimized and improved in these aspects .
Simplify function creation process , Quickly complete function creation
Automatically generate and fill in function names , Whether it's template creation or custom creation function , Function names are automatically generated and filled in , In the context of creating functions quickly , True implementation without additional input , Click on 【 complete 】 Complete the function creation in one step .
Only show the required items of function creation , Other configuration items collapse into advanced configuration , Avoid unnecessary cost of understanding .
Template creation functions support configuration
According to the configuration guide to complete the function creation, you can complete all the function configuration that the template depends on for normal operation .
- When creating a function from a template , The configuration items that the template depends on will be promoted to the basic configuration and displayed first , And automatically fill in the recommended value of the normal operation of the template .
- Template run role configuration boot , choice Configure and use SCF Template running role , The function running role will be created automatically SCF_ExecuteRole And associated with the strategy on which the template runs , Or select the existing running role associated with the corresponding policy according to the text guidance .
- Environment variable configuration boot , Environment variables that template function code depends on key It's pre filled , according to value Complete the configuration of environment variables .
Function creation process supports trigger configuration
- Support according to the function template trigger needs , Automatically create timed triggers and API Gateway triggers .
- Support according to the function template trigger needs , Automatically select the trigger you want , And automatically fill in the trigger to create the default value .
and Serverless Framework Get through , Support the creation of applications in the cloud function console
Template creation and Serverless Framework Get through , Select the application template in the cloud function console , single click 【 next step 】 You can enter the application configuration and creation process . Currently supported applications are ：
Egg, After the application is created, it can be used in Serverless Framework Console View and manage .
and CODING Get through , Supported by CI Deploy functions and Applications
Template creation and CODING Get through , In the cloud function console, select the template and click 【 adopt CI Deploy 】 Can be in CODING Side complete through CI Create a function or application .
Currently, only through CI Deploy Express application 、Flask The application and running environment is Node.js 12.16 Of Web Static page hosting functions
One More Thing
Experience Tencent cloud immediately Serverless Demo, receive Serverless New user gift pack serverless/start
Welcome to visit ：Serverless Chinese net ！