概念
Edge locations
AWS sites in cities close to users. CloudFront and other services answer requests there, so responses are faster.
本课尚未翻译,暂以英文显示。
- 1A user in Sydney asks for a video. The request goes to the nearest edge location.
- 2The video is not cached there yet, so the edge location fetches it from the origin in a Region in Europe and keeps a copy.
- 3Another user in Sydney asks for the same video and gets the cached copy straight from Sydney.
分步说明
- 1A user in Sydney asks for a video. The request goes to the nearest edge location.
- 2The video is not cached there yet, so the edge location fetches it from the origin in a Region in Europe and keeps a copy.
- 3Another user in Sydney asks for the same video and gets the cached copy straight from Sydney.
The first request fills the cache at the edge location. Later requests nearby are answered there.
Caches copies of web content at edge locations, so pages and videos load faster.
Answers DNS queries from edge locations around the world.
Brings user traffic onto the AWS network at the nearest edge location.
Shield Standard absorbs common DDoS attacks at the edge, at no extra charge.
Blocks harmful web requests at the edge when used with CloudFront.
S3 Transfer Acceleration sends long-distance uploads through the nearest edge location.
1 / 2
Caches copies of web content at edge locations, so pages and videos load faster.
Answers DNS queries from edge locations around the world.
Brings user traffic onto the AWS network at the nearest edge location.
Shield Standard absorbs common DDoS attacks at the edge, at no extra charge.
是什么
An edge location, also called a point of presence, is an AWS site in a city close to users. Edge locations are separate from Regions and Availability Zones, and there are many more of them than Regions. The private AWS global network connects them to the Regions.
是什么
You do not run your own servers in an edge location. You use edge locations through the services that run there. Amazon CloudFront keeps copies of your content in a cache at edge locations. The original files stay in your origin, such as an Amazon S3 bucket in a Region. So a user in Sydney can get a video from Sydney instead of from a Region on another continent. Amazon Route 53 answers DNS queries at edge locations, and AWS Global Accelerator brings user traffic onto the AWS network at the nearest one.
是什么
Edge locations bring three benefits: lower latency for users far from your Region, less load on your origin servers, and protection from attacks before they reach your Region, because AWS Shield and AWS WAF also work at the edge.
要记住
- Edge locations are not part of any Region. There are many more of them, in many more cities.
- The first request for a file goes to the origin. Later requests are answered from the cache at the edge.
- Services at the edge: CloudFront, Route 53, Global Accelerator, AWS Shield and AWS WAF.
- S3 Transfer Acceleration uses edge locations to speed up long-distance uploads to Amazon S3.
要记住
- Regional edge caches sit between edge locations and the origin. They keep less popular content close to users.
- Your servers and databases run in Availability Zones. Edge locations cache content and route traffic.
考试中
- “Deliver content to users around the world with low latency” points to Amazon CloudFront and its edge locations.
- “Cache content close to users” describes edge locations, not Availability Zones or Regions.
- “Customers around the world upload files to one S3 bucket, and the uploads are slow” points to S3 Transfer Acceleration, which uses edge locations.
别和这些弄混
- Availability ZonesIsolated locations inside a Region, each one or more data centers. Using two or more keeps an application running.
Amazon CloudFrontA content delivery network. It keeps copies of your content in edge locations near users, so pages and video load faster.
- AWS RegionsSeparate areas of the world where AWS clusters its data centers. Your resources live in the Region you choose.