Cloud Function Configuration¶

  • Cloud Functions are serverless code invocation service in the cloud.
    • In AliBaba Cloud this service is called Function Compute
  • There are also similar services in other cloud providers such as Cloud Functions from Google, and Azure Functions from Azure.
  • For Function Compute, there are 2 main levels - Service, and Functions. The description and configuration of each level is shown in table below:

Service¶

Description

  • A service is a unit for resource management in Function Compute.
  • A service can consist of multiple functions.
  • All functions in the same service share some common settings, such as permission settings, network setting, file storage settings, log settings, etc.
  • In business scenarios, you can divide an application into multiple services.

Configuration image-3.png

Functions¶

Description

  • A function is a packaged programme consisting of the environment runtime, dependencies and the code.
  • The programme is used to perform a specific task. In our case - perform an ETL task.
  • A function comprises the code, triggers, log, layers (dependencies), environment variable, etc.

Configuration image.png