Create Lambda with Container Based Runtime

   Go back to the Task List

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

2: Create ECR Repository

Let’s start with creating a repository for the container image in AWS ECR. Later when you create a container image in Cloud9 Environment which works as the runtime for the Lambda Function.

  1. Login to the AWS Console. 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 visibility settings and enter dojorepo as the repository name. Keep rest of the configuration to the default 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 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 for Docker.