Documentation
Integrations
Amazon ECR

Amazon Elastic Container Registry

SkyU supports Amazon Elastic Container Registry as an image registry for your projects. This guide will walk you through the process of linking your Amazon Elastic Container Registry to your SkyU project.

Create Amazon Elastic Container Registry Credential

Navigate to Project Settings

To initiate linking Docker integrations with your project, first, select a project within your organization. Navigate to Settings -> Integrations ->Image Registries to view all existing image registry credentials.

Click on + Integration to introduce a new Amazon Elastic Container Registry credential into your project.

Add Credential

When linking a Amazon Elastic Container Registry resource, you are required to provide the following details:

ECRFullAccess policy is required for the role to be able to access the Amazon Elastic Container Registry.

FieldDescription
NameName of the Amazon Elastic Container Registry Credential. This is for your reference.
ARN to be accessed bySelect ECR Access
Account IDYour AWS Account ID. Please ensure that it matches the account ID your log into

Make sure you click the Create Role on AWS button to actually create the role on AWS. (You will be redirected to do this)

Make sure you are logged into your AWS account's console in a different tab in th same browser as the SkyU console before clicking the Create Role on AWS button.

Run the Stack

After creating the role on AWS, you will be redirected to the stack creation page. Click on Create Stack to create the stack.

FieldDescription
NameAutomatically Filled Name of the Amazon Elastic Container Registry Credential. This is for your reference.
AccountIDAutomatically Filled SkyU Control Plane ID for ARN
GithubOrgNameYour Github Organization / Account

Fill the GithubOrgName with your Github organization name. As an example, if your repo is in a personal account, the repo URL would be something like https://github.com/git-username/repo-name. In which case the GithubOrgName would be 'git-username'.

Update Credential

Any Amazon Elastic Container Registry credential you've added can be modified later through the image registries list page.

Furthermore, you can update permissions for the ARN via AWS Control Plane manually.

Pull Images from Amazon Elastic Container Registry in EKS

SkyU does not create an ImagePullSecret for Amazon Elastic Container Registry, because ECR ImagePullSecrets are short lived. Instead, you can use the IAM role created in the previous step to pull images from ECR.

Please refer to the AWS Documentation (opens in a new tab) for more information on how to pull images from ECR to EKS.