How to deploy Containerized Applications with Amazon ECS

Nidhi
5 min readMar 29, 2021

In this blog, we will deploy a docker container in Amazon ECS(Elastic Container Service) using ECR ( Elastic Container Registry)

Prerequisite

  1. Configure aws credential
  2. Install aws cli version 2
  3. Clone this git repo
  4. Local workstation ( I am using AWS EC2 instance)

Agenda:

  1. Create and Push to ECR repository
  2. Create a ECS cluster
  3. Create a Task Definition
  4. Run the task
  5. Create a Service

Create a ECR repository

Go to AWS > ECR > Create a repository

Click on your repository

View push commands

--

--