The Serverless Framework was designed to provision your Alibaba Cloud Function Compute Functions, Events and Resources safely and quickly.
This is the main method for doing deployments with the Serverless Framework:
Use this method when you have updated your Function, Events or Resource configuration in
serverless.yml and you want to deploy that change (or multiple changes at the same time) to Alibaba Cloud.
The Serverless Framework translates all syntax in
serverless.yml to a Alibaba Cloud Deployment Manager configuration template.
- The provider plugin parses
serverless.ymlconfiguration and translates it to Alibaba Cloud resources
- The code of your Functions is then packaged into a directory, zipped and uploaded to the deployment bucket
- Resources are deployed
- Use this in your CI/CD systems, as it is the safest method of deployment.
Check out the deploy command docs for all details and options.