<< PREVIOUS  NEXT >>

 

CONFIGURATION ON ECS FARGATE


 

This section describes all the configuration steps to be carried out on ECS UI

 

CREATE ECR REPOSITORY

  1. Create a new ECR (Elastic Container Repository) to push the VSP-created image file

    Picture 20

  2. Generic commands are provided below for reference:

     

      NOTE:

      aws-cli must be installed on the Management node

     

    1. Log in to ECR:

      aws ecr get-login-password --region <region> | docker login --<username> AWS --<password>-stdin <Repository_name>

       

    2. Tag the VSP image (from CI tool) with the newly created ECR repository tag:

      docker tag <image_name:tag> <Repository_name>/<image_name:tag>

       

    3. Push the tagged image to ECR:

      docker push <Repository_name>/<image_name:tag>

       

       

  3. Verify that the image is pushed to the newly created repository

    Picture 1073741987

  4. Copy the Image URI. This is required during Task Definition creation (Section Create ECS Fargate Task Definition)

 

<< PREVIOUS  NEXT >>