Question

Difficulty: MediumAWS Compute Services

A company is planning to run a containerized microservices application on AWS. The development team wants to deploy the containers using Amazon Elastic Container Service (Amazon ECS) but does not want to provision, configure, or scale the underlying virtual machines that host the containers. Which AWS compute service or feature provides this serverless container execution environment?

  1. A
    Amazon Elastic Compute Cloud (Amazon EC2)
  2. B
    AWS Lambda
  3. AWS FargateAnswer
  4. D
    Amazon Lightsail

Answer

AWS Fargate
AWS Fargate is the correct service because it functions as a serverless compute engine for containers. It integrates with Amazon ECS to manage the provisioning, hosting, and scaling of the infrastructure, allowing developers to run containers without managing virtual machines.

Step-by-Step Solution

1
Analyze the workload and administrative constraints
The application must run containerized microservices under Amazon ECS, but the infrastructure team wants to eliminate virtual machine management (provisioning, configuring, and scaling).
This establishes that the target service must support container orchestration while removing the operational burden of managing the underlying host servers.
2
Evaluate the compute options for Amazon ECS
Amazon ECS supports two launch types: Amazon EC2 (where the customer manages the host instances) and AWS Fargate (where AWS manages the host instances in a serverless manner).
Comparing these options identifies AWS Fargate as the service that satisfies all the specified constraints.

Key Concept

AWS Fargate is a serverless compute engine for Amazon ECS that allows running containers without provisioning or managing the underlying virtual machines.
Estimated Time:1m 0s
Rate this question