diff --git a/pages/common/serverless.md b/pages/common/serverless.md new file mode 100644 index 000000000..9aca35cc9 --- /dev/null +++ b/pages/common/serverless.md @@ -0,0 +1,27 @@ +# 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}}`