An AWS architect is designing solutions for various business workloads. Match each business workload requirement to the most appropriate AWS compute service.
- Amazon EC2A legacy database application requiring full administrative (root) access to the guest operating system and custom kernel configuration.
- AWS LambdaA short-running background microservice that automatically processes uploaded user avatars in response to Amazon S3 write events.
- AWS FargateA containerized API backend where the development team wants to deploy Docker containers without managing the underlying virtual machines.
- Amazon LightsailA simple WordPress blog for a small retail store that requires a virtual private server (VPS) with a predictable, low monthly price.
Answer
Amazon EC2 matches the legacy database application requiring administrative root access; AWS Lambda matches the short-running event-driven microservice; AWS Fargate matches the containerized API backend; and Amazon Lightsail matches the simple WordPress blog requiring predictable pricing.
Each service is correctly matched to its primary use case: Amazon EC2 for root OS access, AWS Lambda for event-driven serverless code execution, AWS Fargate for serverless container workloads, and Amazon Lightsail for simple VPS hosting with flat-rate pricing.
Step-by-Step Solution
Key Concept
Selecting AWS compute services based on business requirements, focusing on control, serverless scaling, container management, and pricing predictability.