As we have seen so far, the majority of services that can be used to deliver web content in AWS are regionally bound. Since we have regions available in multiple geographies, we are always able to replicate our environment so that the content is delivered from the regions that are close to our users. But this approach might not be the most cost-effective, as replication between regions can be expensive. On top of that, users in geographies where no regions are situated close by will still see high latencies and slow delivery of content. We can improve this situation dramatically by delivering our content through the CloudFront content delivery network.
We will cover the following topics in this chapter:
- Overview of CloudFront
- Edge Locations
- Content delivery methods
- Cache behavior
- Working with CloudFront