CDN Flashcards
What is AWS CloudFront?
Amazon CloudFront is a global content delivery network (CDN) service that accelerates delivery of your websites, APIs, video content or other web assets.
Does an CloudFront Edge location is related to an AZ?
No.
What is an Edge Location?
Is the location where content will be cached. This is separate to an AWS Region/AZ.
What is an origin in CloudFront?
Is the source of the files that the CDN will distribute: S3 bucket, EC2 instance, ELB or Route53
What type of CloudFront distribution exists?
Web distribution
RTMP
What is the format of an CloudFront url?
http://f1g42olgu3q9vj.cloudfront.net/fileName
What is a CloudFront Distribution?
It’s the name given the CDN which consists of a collection of Edge Locations.
Is it possible to have only one or multiple origins for an Edge Location?
It is possible to have multiple origins
How much time is an object cached in an Edge Location?
For the life of the TTL
Can you clear an Edge Location cache? What impact does it have in terms of cost?
You can clear cached objects, but you will be charged.
Are Edge Locations read-only?
No. You can write to them too.
How can you protect resources using CloudFront?
Using signed URL’s with expiry dates or signed cookies
How can objects be prevented from being cached?
Creating invalidations
Can I prevent users from specific countries to access resources?
Yes, with Geo-Restrictions.