CloudFront Flashcards
What is AWS CloudFront?
Content Delivery Network (CDN)
Are you protected against DDOS attacks when using CloudFront?
Yes
What can be used as CloudFront origins?
S3 bucket, any custom http backend (load balancer, EC2)
What access control policies are involved when using CloudFront with an S3 bucket?
S3 bucket policy plus the Origin Access Control
What is the difference between CloudFront and using S3 cross region replication?
Using CloudFront files are available globally, files are cached for a TTL, good for static content that must be available everywhere. S3 cross region replication must be setup for each region, read-only, good for dynamic content that needs to be available at low-latency in a few regions.
What is the difference between the cache policy and the origin request policy
Cache policy defines what can be used as the cache key for requests, anything used as the key is automatically forwarded as part of origin requests. The origin request policy lets you specify other parts of the request to forward to the origin.
Can CloudFront be used to send traffic to a private EC2 instance not publicly available?
No the EC2 instance must be public
When you’re configuring a CloudFront distribution to use Signed URLs/Cookies, it is recommended to use Trusted Key Group signer instead of CloudFront Key Pair. OR should you use CloudFront Key Pair instead of Trusted Key Group?
You should use a Trusted Key Group instead of a CloudFront Key Pair.