Skip to main content

AWS ECR

Use Arbitrium with Amazon Elastic Container Registry (ECR)#

Make sure that you have the latest version of the AWS CLI and Docker installed.

You need to have on hand#

  • The AWS Region of your ECR
  • The Registry URI

To get this information, go to AWS Console#

  1. Go to your ECR Region
  2. Go to Elastic Container Registry
  3. Then to Repositories
  4. Click on the Repository you wish to get your image from
  5. Click on the View push commands.

Split the URI#

By default the AWS URI contains the Registry and the Image, you will need to split those

Imagine having this URI: 597351113950.dkr.ecr.ca-central-1.amazonaws.com/example

Your Repository will be: 597351113950.dkr.ecr.ca-central-1.amazonaws.com

and your Image will be: example

Get the password#

To get your ECR Login Password

aws ecr get-login-password --region ca-central-1

Note: You can change to your Region (e.g. us-east-1, us-west-1, etc)#

More info : AWS Doc#

We are ready to add the app to Arbitrium#

API Example#

info

The username will always be AWS

{
[...]
"docker_repository": "597351113950.dkr.ecr.ca-central-1.amazonaws.com",
"docker_image": "example",
"docker_tag": "v1",
"private_username": "AWS",
"private_token": "<ecr login-password>",
[...]
}

From Dashboard#

From our Dashboard, The Private registry token will be your ecr login-password

img