Recently, Tencent Cloud Serverless released an upgraded version of the cloud function console creation process, which further shortens the process of creating functions quickly.

The upgraded cloud function console supports template creation function configuration guidance, and supports the creation of applications on the cloud function console. This article introduces you to the new capabilities of the cloud Function Console upgrade.

background

At present, the CLOUD function SCF console has provided hundreds of function templates, covering API gateway trigger, COS trigger, Ckafka trigger and other trigger scenarios, involving log service CLS, cloud database CDW and dozens of cloud products.

With the increase of cloud function coverage scenarios and cloud products, how to complete template function configuration and creation in the creation process, and how to provide the ability to create applications, this cloud function console experience upgrade has been optimized and improved in these aspects.

Simplify function creation process and quickly complete function creation

  1. Automatically generate and fill in the function name, whether template creation or custom creation function, will automatically generate and fill in the function name, in the rapid creation of function in the scene, really do not need additional input, click “Finish” to complete the function creation step.

  2. Only mandatory items for function creation are displayed. Other configuration items are folded into advanced configuration to avoid unnecessary cost of understanding.

Template creation functions support configuration

Follow the configuration guide to complete the function creation to complete the configuration of all the functions that the template depends on for proper operation.

  1. When a function is created using a template, the configuration items on which the template runs are promoted to the basic configuration and displayed first, and the recommended values for the normal operation of the template are automatically filled in.
  2. Template running Role Configuration guide. If you select and use the SCF template running role, the function running role SCF_ExecuteRole will be automatically created and associated with policies that the template runs on, or you can select an existing running role associated with corresponding policies according to the text guide.
  3. Environment variable configuration guide, template function code to run on the environment variable key has been pre-populated, complete the environment variable configuration as prompted in value.

The function creation process supports trigger configuration

  1. Supports automatic creation of timing triggers and API gateway triggers based on function template trigger requirements.
  2. Supports automatic selection of required triggers and automatic filling of triggers to create default values according to function template trigger requirements.

With Serverless Framework, support to create applications in the cloud function console

Template creation and Serverless Framework are connected. Select an application template on the Cloud function console and click “Next” to enter the application configuration and creation process. The following applications are supported: Express, Laravel, Nextjs SSR, Nuxtjs SSR, SpringBoot, Koa, Flask, and Egg. After an application is created, you can view and manage it on the Serverless Framework console.

With CODING, support for deploying functions and applications through CI

Template creation and CODING are integrated. After selecting a template in the cloud function console, click “Deploy by CI” to create a function or application through CI on the CODING side.

Currently, only Express applications, Flask applications, and Web static page hosting functions run in Node.js 12.16 are supported using CI

One More Thing

Immediately experience Tencent Cloud Serverless Demo and receive Serverless new user package 👉 Serverless /start

Welcome to: Serverless Chinese!