Skip to Content
Learn AWS Serverless Computing
book

Learn AWS Serverless Computing

by Scott Patterson
December 2019
Intermediate to advanced
382 pages
9h 43m
English
Packt Publishing
Content preview from Learn AWS Serverless Computing

Amazon CloudFront

Let's move on to Amazon CloudFront now. This is our content distribution network and edge caching layer. We use this to publish the web app to the internet, and additionally to provide a higher level of routing flexibility. What we need here is a web distribution that routes to our S3 bucket. This is where we might add a route to a traditional hosting pattern if we needed one of those. It would look something like the following, with the /alternative path routing to an origin that is backed by a load balancer.

The following is a screenshot from the CloudFront console showing two routes, one that is the default route going to our S3 bucket, and the other is routing to an application load balancer. The second is only needed ...

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

Practical Amazon EC2, SQS, Kinesis, and S3: A Hands-On Approach to AWS

Practical Amazon EC2, SQS, Kinesis, and S3: A Hands-On Approach to AWS

Sunil Gulabani

Publisher Resources

ISBN: 9781789958355