[AWS Cloud Fundamental Notes] CloudFront
Introduction to CloudFront and its usage and operational mechanism
Amazon CloudFront is a content delivery network (CDN) service that addresses DDoS and repetitive access to static resources.
Glossary
Distribution
Divides the content of CloudFront services into multiple regions based on geographic location.
Distributions can be grouped for operations such as geographic restrictions
.
Edge Location
Within a Distribution, there are multiple sites known as Edge Locations.
Traffic is routed through Edge Locations back to our servers.
Origin
The source of the data content, such as S3 or a web service server.
Use Cases
DDoS
Resolve DDoS issues using geographic restrictions
.
Repetitive Access to Static Resources
For static resources like HTML or images, consider avoiding redundant requests to the server.
Store resources in S3 and allow access only through CloudFront, also known as OAI (Origin Access Identity).
CloudFront uses OAI to access S3, providing resources to users. Users cannot directly access resources in S3 using S3’s URL.
Additional Resources
How do I use CloudFront to serve a static website hosted on Amazon S3?