DNS, Caching, and Performance Optimization Flashcards
What is Amazon CloudFront
CloudFront is a Content Delivery Network CDN
The purpose of a CDN is to improve the performance of accessing objects (files).
You can use CloudFront edge locations to improve performance of transfers from client to S3 buckets
CloudFront Origin is the origin where the content is coming from.
- The origin is in a single region an can be for example an S3 bucket.
- Then we have something called Edge locations, that are located all over the world
- The content is pushed from the origin and cached at the edge location. And so the content is closer to the user how wants to access the file.
A custom origin can point to an on-premises server and CloudFront is able to cache content for dynamic websites.
CloudFront can provide performance optimizations for custom origins even if they are running on on-premises servers
When a user requests your content, CloudFront typically serves the requested content regardless of where the user is located. If you need to prevent users in specific countries from accessing your content, you can use the CloudFront geo restriction feature.
With Amazon CloudFront you can set the price class to determine where in the world the content will be cached. One of the price classes is “U.S, Canada and Europe” and this is where the company’s users are located. Choosing this price class will result in lower costs and better performance for the company’s users.
What is AWS Global Accelerator
AWS Global Accelerator is a network service provided by Amazon Web Services (AWS) that improves the availability and performance of applications by directing traffic across the AWS global network infrastructure. It is designed to enhance the user experience for globally distributed applications, by reducing latency, providing high availability, and offering improved fault tolerance.