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.
-
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
-
Click on Create repository
-
Give a name, such as
<your-username>-monte-carlo-simulator
to your repo, then click Next Step -
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.
-
After the push succeeds, now if you check your ECR repository, you should see the pushed docker image
-
If you need to refer back to the push commands, you can find the View Push Commands button in the repository console page.