Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 1.28 KB

Module5.md

File metadata and controls

27 lines (14 loc) · 1.28 KB

Module 5: Push the docker container to Amazon ECR

Amazon Elastic Container Registry (ECR) is a fully-managed Docker container registry that makes it easy for developers to store, manage, and deploy Docker container images.

Instructions

  1. Go to the ECR Console (You can reach there also by looking for "ECS" or "container service" in the list of services from the console home page and go to ECR Repositories

  2. Click on Create repository

  3. Give a name, such as <your-username>-monte-carlo-simulator to your repo, then click Next Step

  4. In the following screen, you will be presented many useful commands. Follow the commands (a-d) to login to the registry, build the container, tag the container and push to the repo.

  5. After the push succeeds, now if you check your ECR repository, you should see the pushed docker image

  6. If you need to refer back to the push commands, you can find the View Push Commands button in the repository console page.

Next step

Move on to Module 6: Create an IAM role for the container