Content Delivery Network (CDN) Flashcards
What is Content Delivery Network (CDN)?
A mechanism to deliver content quickly and efficiently based on geographic location
What are the types of Content Delivery Networks (CDN)?
CloudFront
Global Accelerator
S3 Transfer Acceleration
What is CloudFront?
Allows for global distribution of content
Security Features *DDoS protection and geo-restriction
A fast CDN service that securely delivers data, videos, applications, and APIs to customers globally with low latency, high transfer speeds, all within a developer-friendly environment.
Is integrated with AWS – both physical locations that are directly connected to the AWS global infrastructure, as well as other AWS services.
Works seamlessly with services including AWS Shield for DDoS mitigation, Amazon S3, Elastic Load Balancing or Amazon EC2 as origins for your applications, and Lambda@Edge to run custom code closer to customers’ users and to customize the user experience.
Uses edge locations (mini data centers) to cache content (cache is just a copy of a file) not using EC2 instances this is mainly for static content
What is Content Delivery Networks (CDN) pricing option?
Offers a simple, pay-as-you-go pricing model with no upfront fees or required long-term contracts, and support for the CDN is included in your existing AWS Support subscription.
What are some CloudFront use cases?
When a user requests content from your website it pulls directly from the cache which speeds up your deliver. If your content is not in the cache then is sends a request to the origin. The origin is the original source of the content which could be an S3 bucket, EC2 instance or Elastic load balancer.
Real world examples:
S3 static websites
Used to prevent attacks like DDoS
IP address blocking to prevent users in certain countries from accessing you content.
What is Global Accelerator?
An Amazon Content Delivery Network (CDN) with low latency and availability of single-region applications
60% performance boost
Automatically re-routes traffic to healthy available regional endpoints
Improves the availability of your application by sending user traffic through AWS’s global network infrastructure.
What is S3 Transfer Acceleration?
An Amazon Content Delivery Network (CDN) that provides fast transfer of files over long distances
Uses cloud front globally distributed edge locations
Customers around the world can upload to a central bucket