A media company is designing a high-performing backend solution to transcode user-uploaded video files. Each video transcoding job takes between 20 to 30 minutes to complete, and the workload is continuous throughout the day. The company wants to minimize the operational overhead of managing servers while ensuring the system scales dynamically to handle the continuous processing load. Which compute solution should a solutions architect recommend to meet these requirements?
- APackage the transcoding application as an AWS Lambda function and trigger it directly from Amazon S3 bucket upload events.
- Package the transcoding application as a container and run it on Amazon Elastic Container Service (Amazon ECS) using the AWS Fargate launch type.Cevap
- CRun the transcoding application on Amazon EC2 instances in an Auto Scaling group, storing the video files on an Amazon Elastic Block Store (Amazon EBS) gp3 volume with Multi-Attach enabled to share data across instances.
- DRun the transcoding application on a fleet of Amazon EC2 instances launched within a spread placement group to maximize network throughput and minimize node-to-node latency during the transcoding process.
Cevap
Package the transcoding application as a container and run it on Amazon Elastic Container Service (Amazon ECS) using the AWS Fargate launch type.
The correct option is to package the application as a container and run it on Amazon ECS with AWS Fargate. Fargate is a serverless compute engine for containers that removes the need to provision and manage EC2 instances, minimizing operational overhead. Because ECS tasks do not have the strict 15-minute execution limit found in AWS Lambda, they can run to completion for the 20 to 30-minute transcoding workloads.
Adım Adım Çözüm
Anahtar Kavram
Selecting appropriate compute services based on execution time limits, scaling requirements, and operational management constraints.