Getting Started with Amazon Elastic Container Service

   Go back to the Task List

  « 1: Pre-requisite    3: Create Cloud9 Environment »

2: Create ECR Repository

Let’s start with creating a repository for the Docker image in AWS ECR. Later when you create a Docker image in Cloud9 IDE, you can push the image to this repository for the deployment.

  1. Login to the AWS Console and select Paris as the region.

  2. Goto the AWS Elastic Container Services (ECS) console and click on the Repositories menu in the left and then click on the Create repository button.

    Cloud9

  3. On the next screen, select Private for the visibility settings. Enter dojorepo as the repository name and click on the Create repository button.

    Cloud9

  4. The repository is created in no time. Select the repository created and click on the View push commands button.

    Cloud9

  5. In popup window, you can see the commands which are used to push the Docker image to the repository from the development environment. You will use these commands later in the Cloud9 IDE environment.

    Cloud9

  6. The repository is ready. You now create and configure Cloud9 environment.