Serverless Devs is an open source platform for serverless application developers. Use it to manage the full lifecycle of a Function Compute application — from local development and debugging to deployment, observability, and version control.
YAML configuration and permissions
The following pages describe the YAML fields and the required permission policies for each resource type:
Commands
Build and deployment | Observability | Invocation and debugging | Publishing and configuration | Others |
Migrate resources from Funcraft to Serverless Devs (s fun2s) | ||||
None | None | |||
None | ||||
None | None | None |
Build and deployment
| Command | Description |
|---|---|
s build | Build a function or install dependencies |
s deploy | Deploy resources to Function Compute |
s remove | Delete deployed resources |
s plan | Preview resource changes before deployment |
Observability
| Command | Description |
|---|---|
s metrics | Query function metrics |
s logs | Query function logs |
Invocation and debugging
| Command | Description |
|---|---|
s local | Debug a function in a local environment |
s invoke | Invoke a deployed function or debug it online |
s instance | Log in to a running function instance |
Publishing and configuration
| Command | Description |
|---|---|
s version | Manage service versions |
s alias | Manage service aliases |
s provision | Manage provisioned instances |
s onDemand | Manage on-demand instances |
s layer | Manage layers |
Other commands
| Command | Description |
|---|---|
s info | Query the details of a deployed resource |
s sync | Synchronize online resources to a local environment |
s stress | Run stress tests on a function |
s nas | Mount a File Storage NAS file system |
s fun2s | Migrate Funcraft resources to Serverless Devs |
CI/CD integration
Serverless Devs integrates with continuous integration and continuous delivery (CI/CD) platforms and tools, including GitHub Actions, GiteeGo, Jenkins, and Alibaba Cloud DevOps. For setup instructions, see Integration with CI/CD platforms and tools.