CloudFront + Global Accelerator
Bài học trình bày sáu nội dung: giới hạn truy cập origin S3 chỉ thông qua CloudFront, lựa chọn loại origin phù hợp, các cơ chế bảo vệ và đảm bảo tính sẵn sàng tại edge (WAF, geo restriction, signed URL/cookie, field-level encryption, origin failover), và tiêu chí lựa chọn giữa CloudFront, S3 Transfer Acceleration và AWS Global Accelerator, đường đi của request qua regional edge cache (bao gồm tải lên và API động), cùng phần phân biệt nhanh các thiết lập dễ nhầm.This lesson covers six topics: restricting access to an S3 origin so that it is reachable only through CloudFront, choosing the right origin type, the protection and availability mechanisms at the edge (WAF, geo restriction, signed URLs/cookies, field-level encryption, origin failover), and the criteria for choosing between CloudFront, S3 Transfer Acceleration and AWS Global Accelerator, the request path through regional edge caches (including uploads and dynamic APIs), and a quick comparison of settings that are easy to confuse.
- Mức độ
- Quan trọng Được sử dụng phổ biến trong nhiều mẫu kiến trúc
- Kiến thức tiên quyết
- AWS Global Infrastructure: Region, AZ và edge locationAWS Global Infrastructure: Regions, AZs and edge locationsRoute 53
- Thời lượng
- ~30 phút, 6 phần học có mô phỏng
Nội dung tĩnh của MFTECH đã được phân phối qua Amazon CloudFront (xem bài Global Infrastructure). Hệ thống hiện mở rộng sang khoá học video trả phí, thanh toán bằng thẻ và người dùng tại nhiều quốc gia, dẫn tới ba yêu cầu: bucket S3 không được truy cập trực tiếp, nội dung trả phí chỉ được phục vụ cho người dùng có quyền, và dịch vụ phải duy trì khi origin chính gặp sự cố.
MFTECH’s static content is already distributed through Amazon CloudFront (see the Global Infrastructure lesson). The system is now expanding to paid video courses, card payments and users in many countries, which leads to three requirements: the S3 bucket must not be accessed directly, paid content must be served only to entitled users, and the service must keep running when the primary origin fails.
Các phần của bài học
Kiến thức
6 phần học, đọc theo thứ tự- Phần 1/6Part 1/6 · 3 phút Đã đọc ✓ Đang đọc Giới hạn truy cập origin S3 thông qua CloudFrontRestricting access to the S3 origin through CloudFront
- Phần 2/6Part 2/6 · 3 phút Đã đọc ✓ Đang đọc Các loại origin của CloudFrontCloudFront origin types
- Phần 3/6Part 3/6 · 4 phút Đã đọc ✓ Đang đọc Quy trình xử lý request tại edge locationHow a request is processed at the edge location
- Phần 4/6Part 4/6 · 3 phút Đã đọc ✓ Đang đọc CloudFront, S3 Transfer Acceleration và AWS Global AcceleratorCloudFront, S3 Transfer Acceleration and AWS Global Accelerator
- Phần 5/6Part 5/6 · 14 phút Đã đọc ✓ Đang đọc Regional edge cache, tải lên qua CloudFront và nội dung độngRegional edge caches, uploads through CloudFront and dynamic content
- Phần 6/6Part 6/6 · 4 phút Đã đọc ✓ Đang đọc So sánh các thiết lập CloudFront có tên gần nhauCloudFront settings with similar names compared
Bài kiểm tra
tự đánh giá trước khi sang bài sauCác bài tiếp theo trong lộ trình học
Bài học tiếp theo
Tài liệu AWS
Xem thêm 23 tài liệu
- Optimizing high availability with origin failover
- Requirements for using SSL/TLS certificates with CloudFront
- What is Amazon CloudFront?
- Configuring fast, secure file transfers using Amazon S3 Transfer Acceleration
- Listeners for Global Accelerator (TCP/UDP)
- What is AWS Global Accelerator?
- How CloudFront works with regional edge caches
- Cache behavior settings (allowed HTTP methods)
- Request and response behavior for Amazon S3 origins
- Control origin requests with a policy
- Use managed cache policies
- Use managed origin request policies
- Origin settings (origin protocol policy)
- Require HTTPS for communication between CloudFront and your Amazon S3 origin
- Website endpoints (Amazon S3)
- Customize at the edge with Lambda@Edge
- Differences between CloudFront Functions and Lambda@Edge
- Distribution settings (price class)
- DistributionConfig: PriceClass (API Reference)
- AWS Global Accelerator FAQs (Global Accelerator and CloudFront)
- Amazon CloudFront: content uploads via POST, PUT and other HTTP methods (AWS News Blog)
- Ways to use Lambda@Edge
- Authenticate users using an Application Load Balancer
Xem thêm 23 tài liệu
- Optimizing high availability with origin failover
- Requirements for using SSL/TLS certificates with CloudFront
- What is Amazon CloudFront?
- Configuring fast, secure file transfers using Amazon S3 Transfer Acceleration
- Listeners for Global Accelerator (TCP/UDP)
- What is AWS Global Accelerator?
- How CloudFront works with regional edge caches
- Cache behavior settings (allowed HTTP methods)
- Request and response behavior for Amazon S3 origins
- Control origin requests with a policy
- Use managed cache policies
- Use managed origin request policies
- Origin settings (origin protocol policy)
- Require HTTPS for communication between CloudFront and your Amazon S3 origin
- Website endpoints (Amazon S3)
- Customize at the edge with Lambda@Edge
- Differences between CloudFront Functions and Lambda@Edge
- Distribution settings (price class)
- DistributionConfig: PriceClass (API Reference)
- AWS Global Accelerator FAQs (Global Accelerator and CloudFront)
- Amazon CloudFront: content uploads via POST, PUT and other HTTP methods (AWS News Blog)
- Ways to use Lambda@Edge
- Authenticate users using an Application Load Balancer