Skip to Content
Hands-On Serverless Computing
book

Hands-On Serverless Computing

by Kuldeep Chowhan
July 2018
Intermediate to advanced
350 pages
8h 47m
English
Packt Publishing
Content preview from Hands-On Serverless Computing

Deploying a serverless app

Now that we have the artifact uploaded to an S3 bucket and the packaged.yaml file generated as well, let's run the sam deploy command to deploy the Hello World serverless app that we built in this chapter.

Run the below command to deploy the Serverless app on to AWS. sam deploy \ --template-file packaged.yaml \ --stack-name hello-world-app \ --capabilities CAPABILITY_IAM

The following is a screenshot of the command:

By running the sam deploy command, your serverless application is created using AWS CloudFormation.

You can look at the resources SAM CLI created for you through the AWS Console. In this case, it should ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn AWS Serverless Computing

Learn AWS Serverless Computing

Scott Patterson
Erlang and OTP in Action

Erlang and OTP in Action

Eric Merritt, Richard Carlsson, Martin Logan

Publisher Resources

ISBN: 9781788836654Supplemental Content