Serverless Devs is an open source platform for serverless application developers. Serverless Devs frees you from underlying resource management and allows you to use serverless services and frameworks in a pluggable manner and develop components and plug-ins. This helps improve O&M efficiency. Serverless Devs also allows you to develop, create, test, and deploy projects in an efficient and easy manner. You can use Serverless Devs to manage full lifecycles of projects.
Benefits
Serverless Devs provides higher flexibility and openness than other developer tools and delivers the following benefits:
Full lifecycle management
Serverless Devs allows you to manage the full lifecycles of projects. You can use Serverless Devs to create, develop, debug, and deploy projects.
Secure release
Serverless Devs automatically detects and synchronizes function updates that are made in the Function Compute console and SDKs.
Quick integration
Serverless Devs can integrate with common continuous integration or continuous delivery (CI/CD) platforms and tools.
Observability
Serverless Devs provides excellent observability. You can run log query commands on clients to observe execution logs of your business.
Multi-mode debugging
Serverless Devs allows multi-mode debugging that can meet debugging requirements during the development and O&M of applications. For example, you can debug an application that runs on your on-premises machine or on the cloud.
Serverless Devs is a flexible and open platform that plays an important role in scenarios such as automatic deployment and O&M. If you integrate Serverless Devs into the full lifecycles of your projects, the O&M efficiency of the projects can be increased by 90%. For more information, see Serverless Devs.
Components
Alibaba Cloud Function Compute provides various components that are supported by Serverless Devs. The following section describes the FC3 component in Function Compute.
FC3
The FC3 component is a tool that supports the full lifecycle management of Alibaba Cloud serverless applications. FC3 uses the s.yaml file to develop, build, and test applications and deploy applications to Function Compute in an efficient manner.
Usage modes of FC3
YAML mode
You can use the s.yaml file based on the YAML syntax of Function Compute components to define resources for your serverless applications. The resources that can be defined in the file include functions, triggers, and custom domain names. For more information about the YAML specifications of Alibaba Cloud Function Compute components, see YAML syntax and permission management.
Non-YAML mode
You can use FC3 in the CLI mode. In this mode, you do not need to create and configure the s.yaml file on your on-premises machine to manage resources. For example, you can run the
s cli fc3 sync
command to synchronize resources that are deployed on the cloud, such as function configurations or code, to your on-premises machines.
Benefits of FC3:
Simplicity: FC3 allows you to use the one-click mode to create and update functions and other resources. In addition, all features are loaded on demand to ensure smoothness of usage.
High efficiency: FC3 provides development and O&M capabilities, supports deployment and removal of resources, and helps improve efficiency of development and testing. You can use FC3 to perform operations such as local building, querying, dependency installation, and debugging.
FC3 is applicable to all scenarios where Function Compute applications are deployed, such as migrating traditional frameworks to Function Compute and managing functions.
For more information about features and permissions of FC3, see Common commands of Serverless Devs.