AWS ECR Container Registry

AWS Elastic Container Registry (ECR) is a fully managed container registry service provided by Amazon Web Services. It enables users to securely store, manage, and deploy container images in AWS infrastructure.

Details Required

Here’s what you need to configure AWS ECR in Scoutflo, along with explanations of each input:

  1. Name: A user-defined label for the registry. This name helps you distinguish between multiple registries in your account. Example: "Production ECR Registry".

  2. Description: A short explanation describing the registry's purpose. This is optional but helps when managing multiple registries. Example: "Registry for storing production container images."

  3. Registry URL: This is the unique URL for your AWS ECR. It typically follows this format:

    https://<aws_account_id>.dkr.ecr.<region>.amazonaws.com
    • <aws_account_id>: Your AWS account ID.

    • <region>: The AWS region where the ECR is hosted (e.g., us-east-1). This URL tells Scoutflo where to find and retrieve your container images.

  4. AWS Credentials:

    • Credential Name: A unique name for the AWS credentials being added. Example: "ECR Production Access Credentials".

    • AWS Access Key: The programmatic access key for your AWS Identity and Access Management (IAM) user. This key is used for authenticating requests to AWS services. Important: Ensure the IAM user has appropriate permissions for ECR (e.g., ecr:GetAuthorizationToken, ecr:BatchGetImage, ecr:ListImages).

    • AWS Secret Access Key: The secret key associated with the AWS access key. This is required for secure authentication with AWS services.


How Scoutflo Uses This Information

Once the registry is configured, Scoutflo uses the provided details to:

  1. Authenticate with AWS: The access key and secret key are used to generate an authentication token, allowing Scoutflo to securely communicate with your AWS ECR.

  2. Retrieve Container Images: The registry URL directs Scoutflo to the specific location of your container images. Scoutflo pulls these images as needed for Kubernetes deployments.

  3. Enable GitOps Integration: Scoutflo integrates the retrieved container images with your GitOps pipelines, ensuring that deployments to Kubernetes clusters are automated and consistent with the latest configurations.


Feature
AWS ECR
Docker Hub

Hosting

Hosted on AWS infrastructure

Hosted on Docker's cloud platform

Authentication

AWS Access Key & Secret Key

Username & Password/Token

Registry URL Format

Unique for each AWS account and region

Standard (https://docker.io/)

Use Case

Best for AWS-hosted workloads

Best for public or lightweight private registries

Last updated