How to configure AWS ECS and deploy application using container

Satish Mali
3 min readDec 24, 2022

--

Amazon Elastic Container Service (ECS) is a cloud computing service of Amazon Web Service(AWS). ECS is highly scalable and fast container management service. Using ECS we can easily run, stop and manage container on a cluster.

ECS Launch types
Amazon ECS launches container through Fargate or EC2.

Fargate: This is serverless pay-as-you-go options. We can run container without needing to manage infrastructure. Fargate is best for small and batch.

EC2: User provision and deploy EC2 instance in cluster to run container.
EC2 launch type is suitable for :
1. large workload that need to optimized for price.
2. Large workloads that need to be optimized for price.
3. Your applications need to access persistent storage.

Following steps to configure ECS and deploy application using container

  1. Configure ECS cluster

Keep all default parameter as it is and click on create.

Cluster provisioned.

2. Configure task defination
click on create new task definition.

Configured task details

3. Configure service to run/manage task

Configured service

After all step you can see running task. click on Tasks it will list all running container list.

--

--