mirror of https://github.com/CrimsonTome/tldr.git
28 lines
483 B
Markdown
28 lines
483 B
Markdown
|
# serverless
|
||
|
|
||
|
> Toolkit for deploying and operating serverless architectures on AWS, Google Cloud, Azure and IBM OpenWhisk.
|
||
|
|
||
|
- Create a serverless project.
|
||
|
|
||
|
`sls create`
|
||
|
|
||
|
- Create a serverless project from template:
|
||
|
|
||
|
`sls create --template {{template_name}}`
|
||
|
|
||
|
- Deploy to a cloud provider:
|
||
|
|
||
|
`sls deploy`
|
||
|
|
||
|
- Display information about a serverless project:
|
||
|
|
||
|
`sls info`
|
||
|
|
||
|
- Follow logs for a project:
|
||
|
|
||
|
`sls logs -t`
|
||
|
|
||
|
- Display metrics for a function:
|
||
|
|
||
|
`sls metrics -f {{function_name}}`
|