CloudFront Flashcards
What does CDN stand for?
Content Delivery Network
What is a Content Delivery Network?
A Content Delivery Network is a system of distributed servers that deliver web content to a user based on the geographic locations of the user, the origin of the webpage, and a content delivery space.
What is an Edge Location?
A location where content is cached. (This is separate from an AWS Region/AZ)
In the context of CloudFront and Content Delivery Networks, what is an origin? What are some examples of origins?
The origin of all the files that the CDN will distribute.
This can be an S3 bucket, an EC2 instance, an Elastic Load Balancer, or Route53
In the context of CloudFront, what is a Distribution?
the name given to the CDN, which consists of a collection of edge locations
Are edge locations read-only?
No. You can write to an edge location too!
What is Amazon CloudFront?
CloudFront is the AWS-integrated CDN
CloudFront can be used to deliver your entire website, including dynamic, static, streaming, and interactive content, using a global network of edge locations.
Why is Amazon CloudFront good for performance?
Geographic Cacheing. Requests for your content are automatically routed to the nearest edge location, so content is delivered with best performance possible.
What does RTMP stand for?
Real-Time Messaging Protocol
What are the 2 types of distributions used for CloudFront?
- Web Distribution - for websites
- RTMP - for media streaming
Can you clear cached objects in an edge location?
Yes, but you will be charged. (Invalidating the Cache)
In the context of CloudFront, what is the Time To Live?
How long objects are cached in an edge location.
This is a configurable amount.
What does TTL stand for?
Time To Live
What are the areas for which you are charged in CloudFront?
-
Data Transfer Out
- To the internet from the edge locations
- from cloudfront to the origin server
-
Requests
- HTTP/HTTPs
- Origin Shield
- Invalidation
- Field Level Encryption
- Real-Time Log
- Dedicated IP Custom SSL certificates associated with a Cloudfront Distribution
Suppose you have specific items in CloudFront that you want to keep in the cache longer than normal. How can you accomplish this?
Utilize a Cache-Control header for these items