Amazon Elastic Container Service (ECS)

icon picker
Launch Types

An Amazon ECS launch type determines the type of infrastructure on which your tasks and services are hosted.
There are two launch types, and the table below describes some of the differences between the two launch types:

Fargate Launch Type

The Fargate launch type allows you to run your containerised applications without the need to provision and manage the backend infrastructure. Just register your task definition and Fargate launches the container for you.
Fargate Launch Type is a serverless infrastructure managed by AWS.
Fargate only supports container images hosted on Elastic Container Registry (ECR) or Docker Hub.

EC2 Launch Type

The EC2 launch type allows you to run your containerised applications on a cluster of Amazon EC2 instances that you manage.
Private repositories are only supported by the EC2 Launch Type.
EC2 vs Fargate
Column 1
Column 2
1
Amazon EC2
Amazon Fargate
2
You can explicitly provision EC2 instances
The control plan asks for resources and Fargate automatically provisions
3
You’re responsible for upgrading, patching, care of EC2 pool
Fargate provisions compute as needed
4
You must handle cluster optimization
Fargate handles customer optimizations
5
More granular control over infrastructure
Limited control, as infrastructure is automated
There are no rows in this table

image.png

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.