CloudFront Flashcards
What is CloudFront?
Content Delivery Network (CDN) to distribute servers that deliver webpages and other content to a user based on geographical location of user, origin of webpage content delivery server.
How does CloudFront deliver objects at a lower latency?
It uses edge locations to cache copies of objects at lower latency
Can you clear the cache yourself in CloudFront?
Yes, but you will be charged
How to upload faster to S3
Transfer Acceleration
2 types of edge location collections for CloudFront
1) Web Distribution
2) RTMP
When to use Web Distribution CloudFront?
For websites, that don’t use flash.
S3 buckets or HTTP/HTTPS Server
When to use RTMP CloudFront?
Media Streaming
Uses Adobe real time messaging protocol
Max TTL for CloudFront
365 days
What does it mean if you receive a 5XX error?
server-side error
What does it mean when you receive a 4XX error
client-side error
How to customize content CloudFront delivers, or use signed URLs or signed cookies
Lambda@Edge
How to restrict certain countries from accessing content from CloudFront?
Whitelist for countries that can access content.
Blacklist for countries that are not allowed to access content.
Possible origin servers for CloudFront
S3 bucket own HTTP server EC2 instance ELB Route 53
How to set up HTTPS communication with viewers using ELB and CloudFront
- Set up Viewer Protocol Policy to use Redirect HTTP to HTTPS
- Set Viewer Protocol Policy to use HTTPS Only
How to setup HTTPS communication with origin and CloudFront?
SSL certificates