Skip to Main Content
AWS Lambda Quick Start Guide
book

AWS Lambda Quick Start Guide

by Markus Klems
June 2018
Intermediate to advanced content levelIntermediate to advanced
184 pages
3h 28m
English
Packt Publishing
Content preview from AWS Lambda Quick Start Guide

Deploying a serverless frontend on CloudFront

We are going to take a look at deploying our serverless application frontend to Amazon S3. Then we will deploy our frontend to edge locations on CloudFront. Last but not least, we will benchmark the latency of our frontend.

So let's get started!

Create an S3 bucket named sls-frontend in the S3 dashboard on the AWS Management Console. To upload data to the bucket, click on the Upload button and drag your local web directory into the bucket:

As you can see from the previous screenshot, once the files are uploaded, we need to specify that our bucket is used for static website hosting, so we enable ...

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

Mastering AWS Lambda

Mastering AWS Lambda

Yohan Wadia, Udita Gupta

Publisher Resources

ISBN: 9781789340198Supplemental Content