Amazon Elastic Container Registry (ECR)

Generate token/keys using Amazon Elastic Container Service and deploy to salad portal

Amazon Elastic Container Service (Amazon ECS) is a highly scalable and fully managed container orchestration service offered by Amazon Web Services (AWS). It is a platform that allows you to easily run, deploy, and manage Docker containers and containerised applications. This guide will walk you through the process of deploying containers from Amazon Elastic Container Registry to the Salad Portal.

Step 1: Generate Keys and Tokens

Generate keys and get your token in Amazon Elastic Container Service.Follow this official Amazon ECS guide to generate AWS keys and retrieve your token.

Step 2: Configure Image in Salad Container Environment (SCE)

Access the Salad portal, Set up your SCE by selecting the private registry tab when setting the image source. In the service dropdown option, choose "AWS Elastic Container Registry" and provide the following information:

  • Image name (example: docker.io/{username}/{my-container-image}:{version/latest})

Here is an example of what they look like:

  • Access Key ID: AKIAIOSFODNN7EXAMPLE
  • Secret Access Key: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY

Please note that these are just examples and not real credentials. When you generate your own Access Key ID and Secret Access Key in AWS, they will be unique and randomly generated. You can refer to the official documentation guide on how to get yours above.

πŸ‘

Congratulations!

You have successfully configured the private container registry using Amazon Elastic Container Registry (ECR). Now, you can proceed to configure and deploy your container group.