- Full lifecycle management: manages a project during its lifecycle, including creation, development, debugging, deployment, and O&M.
- Security release: automatically detects the changes in functions.
- Quick integration: integrates with common CI/CD tools. For more information, see CI/CD tools.
- Observability: allows you to query metrics and logs on your client. For more information, see Query metrics and Query logs.
- Multi-mode debugging: supports multi-mode debugging to meet different debugging requirements in the development state and O&M state. The modes include local call, remote debugging, and cloud-terminal joint debugging.
🙋 To use the FC component, perform the following steps:
❶ Run the following command to install Serverless Devs:
npm install -g @serverless-devs/s
After installation, you also need to configure the key. Please refer to Secret Configuration Document
❷ Run the following command to initialize the
Hello World project of Function Compute:
s init devsapp/start-fc-http-python3
❸ Determine whether to deploy the project. To deploy the project, enter
y and press Enter.
The Create an application topic introduces the following projects: Serverless: Hello WorldArtificial intelligence: object detection, Traditional framework: Django-based blog project. The Quick start topic introduces the following features: deploy operation, Calls, and Observability.
The following table lists the commands that are supported by the FC component:
|Building and deployment||Observability||Call and debugging||Release and configuration||Other feature|
|api (to be supported)|
When you use the FC component, you must edit resource description files. For more information about the YAML specifications of the FC component, see YAML specifications. You also need to read some tips on the FC component, such as Declaration and deployment of multiple functions. For more information, see Common tips.
If you are using Funcraft or Function Compute command line interface (fcli), you can view the differences among Funcraft, fcli, and Serverless Devs from Compare among Serverless Devs, fcli, and Funcraft. To migrate resources from Funcraft or fcli to Serverless Devs, see Migrate resources from Funcraft to Serverless Devs and Migrate resources from fcli to Serverless Devs
We sincerely invite you to join the project to make your contributions. The contributions include but are not limited to code maintenance, contribution in applications and components, and document improvement. For more information, see 🏆 Contributing to Serverless Devs FC Component.
Thank all contributors for their efforts in the FC component of Serverless Devs. For more information, see 👬 Contributors.
The FC component of Serverless Devs complies with the MIT License.
All files located in the node_modules directories and external directories are from external maintenance libraries that have their own licenses. We recommend that you read the licenses because their terms may be different from the terms of the MIT License.
We welcome your feedback and suggestions. For more information, visit Serverless Devs issues or FC component issues. If you want to join our discussion group or learn about the latest updates in the FC component, scan one of the following quick response (QR) codes.