A media company is designing a globally distributed video-on-demand (VOD) streaming application. The application delivers HTTP Live Streaming (HLS) video files, which consist of static media segments stored in an Amazon S3 bucket. The company requires a highly resilient architecture that minimizes delivery latency for global viewers and automatically handles S3 origin failures. The solution must minimize operational overhead.
Which TWO actions should a solutions architect take to meet these requirements? (Select TWO.)
- Create an Amazon CloudFront origin group that contains the primary S3 bucket as the primary origin and a replicated secondary S3 bucket in another AWS Region as the failover origin.Cevap
- Update the default cache behavior of the CloudFront distribution to target the origin group instead of individual S3 origins.Cevap
- CConfigure an Amazon Route 53 latency-based routing policy to fail over traffic directly between the primary and secondary S3 bucket website endpoints.
- DDeploy AWS Global Accelerator in front of the S3 buckets to cache the video segments closer to the users and handle regional failover.
- EAssociate an AWS WAF web ACL with the primary S3 bucket to monitor origin status codes and redirect requests to the secondary S3 bucket when HTTP 503 errors are detected.
Cevap
Create an Amazon CloudFront origin group containing the primary S3 bucket and a replicated secondary S3 bucket as the failover origin, and configure the cache behavior to target this origin group.
To design a resilient edge caching architecture with minimal latency and low operational overhead, Amazon CloudFront must be used. By creating an origin group containing the primary S3 bucket and a secondary S3 bucket, CloudFront natively manages failover if the primary origin is unavailable. The cache behavior must target the origin group to direct incoming viewer requests to the correct group.
Adım Adım Çözüm
Anahtar Kavram
CloudFront Origin Groups and Origin Failover