This topic describes how to create, modify, and delete a service in the Function Compute console.

Background information

Function Compute allows you to create, update, and delete a service by using one of the following methods:

  • Use the Function Compute console. This method is described in this topic.
  • Use Funcraft. For more information, see Features.
  • Use Aliyun Serverless VSCode Extension. For more information, see Aliyun Serverless VSCode Extension.

Create a service

  1. Log on to the Function Compute console.
  2. In the top navigation bar, select a region.
  3. In the left-side navigation pane, click Services and Functions. Click Create Service in the upper-right corner of the Services pane.
    creat_service
  4. On the Create Service page, set the parameters and click Submit.
    enter_name

    The following table describes the parameters.

    Parameter Description
    Service Name The name of the service.
    Description Optional. The description of the service, which is used to facilitate service differentiation.
    Bind Log Specifies whether to bind a log to the service. If you select Bind Log, you can view the execution logs of functions in the service. These logs help you develop and debug the functions.
    Enable Tracing Analysis Specifies whether to enable Tracing Analysis for the service. For more information, see Overview.
    On the Services and Functions page, you can view the created service in the Services pane.creat_service_result

Modify a service

  1. Log on to the Function Compute console.
  2. In the top navigation bar, select a region.
  3. In the left-side navigation pane, click Services and Functions.
  4. On the Services and Functions page, click the service that you require. Then, click the Service Configurations tab. On the Service Configurations tab, click Modify Configuration.
    Modify service configurations
  5. On the Modify Configurations page, modify the parameters as needed and click Submit.
    Modify a service

Delete a service

Notice Before you delete a service, make sure that the service has no functions, provisioned instances, versions, and aliases. Otherwise, you will fail to delete the service.
  1. Log on to the Function Compute console.
  2. In the top navigation bar, select a region.
  3. In the left-side navigation pane, click Services and Functions.
  4. On the Services and Functions page, click the service that you want to delete. Click the Service Configurations tab. On the Service Configurations tab, click Delete Service in the upper-right corner.
    Delete a service
  5. In the message that appears, click OK.