Upswift container update is able to pull images from your AWS ECR and deploy them on your devices. To do so the container update tool needs the following configuration:
AWS ACCESS KEY ID
AWS SECRET KEY
The ECR registry server address
Go to Upswift platform Updates category - > New Container Update
Under the Container details section, check the "Private repository" checkbox and click on the "Add account" button.
Under the "Registry Provider" choose "Amazon ECR".
4. Under "Account Display Name" enter any name you would. 5. To fill the "Access Key ID" and "Access Key Secret" parameters, please go over the next steps: (ECR Container Updates need AWS Access keys in order to be able to pull the image from your repositories)
In the AWS Management Console go to the IAM page, and click on Users in the navigation bar.
Click on the Add user button.
Enter a username (for example: "upswift-container-updates") and choose Programmatic access.
Select "Attach existing policies directly". In the policies search for "AmazonEC2ContainerRegistryReadOnly" policy and select it. Set the permissions boundary to "Create user without a permissions boundary"
You can add any tags that you wish.
Finish reviewing and create the user.
You will be prompted to save the Access ID and Secret Key. Save these - Upswift needs these fields and you won't be able to access the Secret Key again.
6. Enter the given "Access Key ID" and "Access Key Secret" on the Upswift page. 7. Under the "Registry Address" enter your Registry server address from any repository URI For example: 588393815952.dkr.ecr.us-east-2.amazonaws.com (In most cases this will be aws-account-id.dkr.ecr.region.amazonaws.com):
8. Click on "Save Account".
When deploying an update, check the Private Repository checkbox and select the wanted account. In the Repository Name enter the URI from the AWS ECR Repository - see image.