Publishing a serverless app
Before we start packaging and deploying the AWS serverless application that we built to AWS, we need to create an S3 bucket where artefacts such as the AWS Lambda function, along with its dependent packages, will be uploaded. You can either create an S3 bucket using the AWS Console or using the AWS CLI. If you already have an S3 bucket that you can use for this, then skip ahead to the Packaging a serverless app, subsection.
To be able to use the AWS CLI, you need to first download the AWS CLI and then configure it. The instructions to perform both of these actions are listed at https://docs.aws.amazon.com/lambda/latest/dg/setup-awscli.html.
To be able to create an S3 bucket through the console, you can follow the ...
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.
Read now
Unlock full access