CONFIGURATION ON ECS FARGATE
This section describes all the configuration steps to be carried out on ECS UI
CREATE ECR REPOSITORY
-
Create a new ECR (Elastic Container Repository) to push the VSP-created image file
-
Generic commands are provided below for reference:
NOTE:
aws-cli must be installed on the Management node
-
Log in to ECR:
aws ecr get-login-password --region <region> | docker login --<username> AWS --<password>-stdin <Repository_name>
-
Tag the VSP image (from CI tool) with the newly created ECR repository tag:
docker tag <image_name:tag> <Repository_name>/<image_name:tag>
-
Push the tagged image to ECR:
docker push <Repository_name>/<image_name:tag>
-
-
Verify that the image is pushed to the newly created repository
-
Copy the Image URI. This is required during Task Definition creation (Section Create ECS Fargate Task Definition)