All Products
Search
Document Center

Function Compute:Serverless Devs commands

Last Updated:Oct 31, 2024

Serverless Devs is an open source platform for serverless application developers. You can use Serverless Devs to manage the full lifecycle of an application. This topic describes the YAML syntax, permission management, and commands of Serverless Devs that can be used for the full lifecycle management.

YAML syntax and permission management

You can visit the following pages to view the details and permission policies for the fields in the YAML syntax.

Command list

Build and deployment

Observability

Invocation and debugging

Publishing and configuration

Others

Run the s build command to build a function or install dependencies

Run the s metrics command to query metrics

Run the s local command to debug a function in an on-premises environment

Run the s version command to manage service versions

Migrate resources from Funcraft to Serverless Devs

Run the s deploy command to deploy resources

Run the s logs command to query logs

Run the s invoke command to debug or invoke a function online

Run the s alias command to manage service aliases

Run the s nas command to mount an File Storage NAS file system

Run the s remove command to delete resources

None

Run the s proxied command to perform device-cloud joint debugging

Run the s alias command to manage service aliases

Run the s info command to query the details of a resource

Run the s plan command to query the change information about a resource

None

Run the s instance command to log on to an instance

Run the s onDemand command to manage on-demand instances

Run the s sync command to synchronize online resources to an on-premises environment

None

None

None

Run the s layer command to manage layers

Run the s stress command to perform stress testing

Integration with continuous integration and continuous delivery (CI/CD) platforms or tools

Serverless Devs can integrate with platforms or tools such as GitHub Actions, GiteeGo, Jenkins, or Apsara Devops to implement continuous integration and continuous delivery (CI/CD). For more information, see Integration with CI and CD platforms and tools.