Skip to content

Amiable managed instances - #1013

Draft
connoromalleyatwork wants to merge 5 commits into
mainfrom
amiable-managed-instances
Draft

connoromalleyatwork wants to merge 5 commits into
mainfrom
amiable-managed-instances

Conversation

@connoromalleyatwork

@connoromalleyatwork connoromalleyatwork commented Oct 27, 2026 •

Copy link
Copy Markdown

What does this change?

Update guardian cdk library to use provision the ECS Managed Instances instance role and profile. This is the first step to transitioning to ECS Managed Instance.

Have a look at the cdk pull request that adds the managed instances support: Support ECS managed instances capacity provider - #2971

How has this change been tested?

Deployed to CODE and tested the app to make sure all is running well.

@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

🚀 Image pushed to AWS ECR

Image digest: sha256:9778326ee94d56c26a0c42ffad8c7b62e8f976ad4b9d577c0fe50c552b0f56a6

🐛 Run the image locally

The following can be used to run the image locally:

# Refer to image using the immutable digest. Find alternatives below.
IMAGE_IDENTIFIER="@sha256:9778326ee94d56c26a0c42ffad8c7b62e8f976ad4b9d577c0fe50c552b0f56a6"

# Refer to image using branch tag
# IMAGE_IDENTIFIER=":branch-amiable-managed-instances"

# Refer to image using build tag
# IMAGE_IDENTIFIER=":build-1415"

# Set environment variables for the AWS CLI
AWS_PROFILE="<A_PROFILE_FROM_JANUS>"
AWS_DEFAULT_REGION="eu-west-1"

IMAGE_ACCOUNT_ID=$(aws ssm get-parameter --name /organisation/accounts/artifacts --query "Parameter.Value" --output text)
REGISTRY="${IMAGE_ACCOUNT_ID}.dkr.ecr.${AWS_DEFAULT_REGION}.amazonaws.com"
IMAGE="${REGISTRY}/guardian/amiable/amiable${IMAGE_IDENTIFIER}"

# Login to AWS ECR https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry_auth.html
aws ecr get-login-password | docker login --username AWS --password-stdin $REGISTRY

# Pull the image
docker pull $IMAGE

# Run the image. You'll likely need to set additional flags. See https://docs.docker.com/reference/cli/docker/container/run.
docker run $IMAGE

From guardian/actions-ecr.

@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

@connoromalleyatwork connoromalleyatwork added the feature Departmental tracking: work on a new feature label Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Departmental tracking: work on a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant