A retail company is expanding its AWS footprint and needs to deploy two new systems:
1. A microservice that processes payment notifications as they arrive, executing code that typically completes within a few seconds.
2. A containerized order processing application that runs continuously on a managed container orchestration platform without the need to provision or manage underlying virtual servers.
Which two AWS compute services should the company select to run these workloads?
- AWS LambdaAnswer
- AWS FargateAnswer
- CAmazon EC2
- DAmazon Lightsail
- EAWS Elastic Beanstalk
Answer
AWS Lambda and AWS Fargate are the correct compute services to meet the requirements.
AWS Lambda satisfies the first workload because it is a serverless, event-driven compute service that runs code only when triggered by payment events. AWS Fargate satisfies the second workload because it provides a serverless compute engine for containers, executing them without the operational overhead of provisioning or managing virtual servers.
Step-by-Step Solution
Key Concept
Selecting appropriate AWS compute services based on operational overhead, execution duration, and containerization requirements.