You can configure AWS Elastic Container Registry as the repository for storing images built in ale
and for use during deployment.
Access theIAM > Access management > Users
page and clickCreate user
.
Enter your desired User name and proceed to the next step.
Under permission options, select Attach policies directly, search for AmazonEC2ContainerRegistryFullAccess, check the checkbox, and proceed to the next step.
Click Create user
without any additional settings.
On the user’s page, click Create access key
in the Access keys section of the Security credentials tab.
On the following screen, select Application running outside AWS.
Enter an appropriate description tag and click Create access key
.
On the next screen, you can retrieve the generated Access key and Secret access key.
Click Enable console access
in the Console sign-in section of the Security credentials tab on the user’s page.
Select Enable for console access, choose Custom password for password settings, enter your desired password, and click Enable console access
.
Using the generated Console login URL, you can access the container registry by entering your username and console password.
On the Elastic Container Registry page, clickCreate
to create a repository. On the next screen, the[ID].dkr.ecr.[region].amazonaws.com
portion of the Repository name field will be used as the Access URL to connect ECR toale
.
In the operations system, go to the Settings tab on the cluster page and clickConnect Container Repository
. In the modal that appears, enter the following values and clickConnect
.
[ID].dkr.ecr.[region].amazonaws.com