Amazon ECR
ecr An ECR repository you created. Every build goes into it, tagged by app and deployment, and Pando gets a registry password from the access key before each push and pull.
Setup
Create a repository
- In the Amazon ECR console, choose the Region from the navigation bar.
- Choose Private repositories, then Create repository.
- Enter a Repository name, such as
pando, and choose Create. - Copy the repository's URI.
Create an access key
- In IAM, choose Users, then Create user.
- Enter a User name, then choose Next and Create user.
- On the user's Permissions tab, choose Add permissions, then Create inline policy.
- Allow these actions:
Action Resource ecr:GetAuthorizationToken All resources ecr:BatchCheckLayerAvailability The repository ecr:InitiateLayerUpload The repository ecr:UploadLayerPart The repository ecr:CompleteLayerUpload The repository ecr:PutImage The repository ecr:BatchGetImage The repository ecr:GetDownloadUrlForLayer The repository ecr:ListImages The repository ecr:BatchDeleteImage The repository - On the Security credentials tab, choose Create access key, then Other and Next.
- Choose Create access key, then Show.
Settings (4)
urlRegistry addressRequiredThe repository's URI. It has to exist already.
access_key_idAccess key IDRequiredAn IAM user's access key that can push to, pull from and delete in the repository.
secret_access_keySecret access keyRequiredCredentialStored encrypted, and never shown again.
alwaysSend every build through the registryAdvancedEven on a runtime that can take a built image directly, such as Docker on one host.