Skip to content

docs: Add tutorial for using private AWS ECR images#639

Open
promptless[bot] wants to merge 1 commit into
mainfrom
promptless/ecr-delegation-tutorial
Open

docs: Add tutorial for using private AWS ECR images#639
promptless[bot] wants to merge 1 commit into
mainfrom
promptless/ecr-delegation-tutorial

Conversation

@promptless

@promptless promptless Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Open this suggestion in Promptless to view citations and reasoning process

Documents how to deploy Pods using container images from private AWS ECR repositories via cross-account IAM delegation. Covers configuring ECR repository policies, adding ECR credentials in Runpod, and deploying Pods with private images.

Trigger Events


Tip: Worried about broken links? Ask Promptless to find and fix them automatically 🔗

Documents cross-account IAM delegation that allows Runpod to pull images
from private AWS ECR repositories without managing credentials directly.
],
"Condition": {
"StringEquals": {
"aws:PrincipalArn": "arn:aws:iam::418399314813:role/prod-us-east-1-deployment-role"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IAM policy details including the aws:PrincipalArn condition for Runpod's deployment role (418399314813) and the required ECR permissions (ecr:GetAuthorizationToken, ecr:BatchCheckLayerAvailability, ecr:GetDownloadUrlForLayer, ecr:BatchGetImage) were provided in engineering comments by page.kelly@runpod.io on this Linear issue.

Source: https://linear.app/runpod/issue/CE-1305/tutorial-or-documentation-for-ecr-delegation

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: I wrote this example with the wrong AWS account number, the prod account is 550005742258 and this should be reflected in the tutorial. Other than that this is all correct

@mintlify

mintlify Bot commented Jun 1, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
runpod-docs 🟢 Ready View Preview Jun 1, 2026, 4:48 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

],
"Condition": {
"StringEquals": {
"aws:PrincipalArn": "arn:aws:iam::418399314813:role/prod-us-east-1-deployment-role"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: I wrote this example with the wrong AWS account number, the prod account is 550005742258 and this should be reflected in the tutorial. Other than that this is all correct

],
"Condition": {
"StringEquals": {
"aws:PrincipalArn": "arn:aws:iam::418399314813:role/prod-us-east-1-deployment-role"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same note here, revise prod AWS account number to 550005742258

2. Scroll down to **Container Registry Authentication** and click **Add Credential**.
3. Select **AWS ECR** as the registry type.
4. Enter a **Name** for this credential (for example, `my-ecr-repo`).
5. Enter the **ECR Image URI** in the format `ACCOUNT_ID.dkr.ecr.REGION.amazonaws.com/REPOSITORY_NAME`.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This format is mostly correct, but the URI format for the image name will include both the repository name and a tag, separated by a colon ( e.g. repository:latest )

It's worth noting that the ECR page for a repository has a button for copying the URI directly, which will follow this format


1. Navigate to [Pods](https://www.runpod.io/console/pods) and select **Deploy**.
2. Choose your GPU configuration.
3. Under **Container Image**, enter your full ECR image URI (for example, `123456789012.dkr.ecr.us-east-2.amazonaws.com/my-app:latest`).

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For example, this image URI is correctly formatted

@promptless

promptless Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor Author

Just a reminder: If you'd like me to act on any feedback you have via Github comments, just type @Promptless in your suggestion and I'll get right on it! (I won't show up in the user dropdown, but I'll process any request that has @Promptless in the comment body.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant