サービス · ネットワークとコンテンツ配信
Amazon CloudFront
A content delivery network. It keeps copies of your content in edge locations near users, so pages and video load faster.
このレッスンはまだ翻訳されていないため、英語で表示しています。
- 1A user requests a file. The request goes to the nearest edge location, which answers at once if it has a copy.
- 2If it has no copy, CloudFront fetches the file from the origin, here an S3 bucket, and keeps a copy for the next user.
流れ
- 1A user requests a file. The request goes to the nearest edge location, which answers at once if it has a copy.
- 2If it has no copy, CloudFront fetches the file from the origin, here an S3 bucket, and keeps a copy for the next user.
概要
Amazon CloudFront is the content delivery network (CDN) of AWS. It delivers websites, images, video and other web content to users through a worldwide network of edge locations. Each request goes to the edge location that gives that user the lowest latency.
If the edge location already has a copy of the file, it answers at once. If not, CloudFront fetches the file from the origin, the place that holds the original, and keeps a copy for the next user. The origin can be an Amazon S3 bucket, a load balancer or any web server, inside or outside AWS. Fewer requests reach the origin, and users wait less.
概要
CloudFront also helps protect your application. AWS Shield Standard guards it against common DDoS attacks at no extra cost, you can add AWS WAF rules, and you can serve content over HTTPS with certificates from AWS Certificate Manager (ACM).
覚えること
- A CDN: copies of your content are cached in edge locations close to users.
- Lower latency for users, and less load on your origin.
- The origin can be an S3 bucket, a load balancer, an EC2 instance or a server outside AWS.
- Works with AWS Shield Standard, AWS WAF and ACM to protect your content.
覚えること
- Data transfer from AWS origins to CloudFront is free. With pay-as-you-go pricing, you pay for data sent to users and for requests.
試験では
- “Deliver website content and video to users around the world with low latency” points to Amazon CloudFront.
- CloudFront caches content at edge locations. AWS Global Accelerator caches nothing: it carries TCP and UDP traffic over the AWS network to your application.
混同しやすいもの
AWS Global AcceleratorGives an application fixed IP addresses and carries its traffic over the AWS global network to the best healthy Region.
- Edge locationsAWS sites in cities close to users. CloudFront and other services answer requests there, so responses are faster.
Amazon Route 53The AWS DNS service. It registers domain names and sends users to a healthy endpoint for each name.