After developing and testing a serverless application on your computer, you can use Fun to deploy the application to Function Compute.

Prerequisites

Fun is installed and configured on your computer. For more information, see Install and configure Fun.

Procedure

Run the following command on the host where Fun is installed to deploy a serverless application:

fun deploy

Fun queries the template.yml file and deploys it to Function Compute. You can log on to the Function Compute console and check whether the application exists. If the application exists, the deployment is successful.