In this blog, we will deploy a docker container in Amazon ECS(Elastic Container Service) using ECR ( Elastic Container Registry)
Prerequisite
- Configure aws credential
- Install aws cli version 2
- Clone this git repo
- Local workstation ( I am using AWS EC2 instance)
Agenda:
- Create and Push to ECR repository
- Create a ECS cluster
- Create a Task Definition
- Run the task
- Create a Service
Create a ECR repository
Go to AWS > ECR > Create a repository
Click on your repository
View push commands