An organization is planning to migrate its workloads to AWS. They have two specific requirements: first, they need to run containerized applications without provisioning or managing any underlying servers; second, they need to execute event-driven code snippets only when new data is uploaded, paying only for the compute time used. Which two AWS compute services should the company choose to fulfill these requirements?
- AWS LambdaAnswer
- AWS FargateAnswer
- CAmazon EC2
- DAmazon Lightsail
Answer
The organization should choose AWS Fargate to run their containerized applications without managing server infrastructure, and AWS Lambda to run their event-driven, short-lived code snippets.
AWS Fargate provides a serverless environment to run containers (such as Docker containers) without having to manage the underlying EC2 instances. AWS Lambda allows running short-lived code in response to events (such as S3 uploads) without provisioning or managing any servers, charging only for the runtime used.
Step-by-Step Solution
Key Concept
AWS Serverless Compute Services