Skip to content

ECS Scaling at 20% CPU usage. - #16693

Draft
connoromalleyatwork wants to merge 1 commit into
mainfrom
dcr-1percent
Draft

ECS Scaling at 20% CPU usage.#16693
connoromalleyatwork wants to merge 1 commit into
mainfrom
dcr-1percent

Conversation

@connoromalleyatwork

Copy link
Copy Markdown
Contributor

What does this change?

Why?

How has this change been tested?

Screenshots

Before After
before after

@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

🚀 Image pushed to AWS ECR

Image digest: sha256:89480a508b410409f45b3ffb6357e6439c8211480bc26fb73049f44bad48091a

🐛 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:89480a508b410409f45b3ffb6357e6439c8211480bc26fb73049f44bad48091a"

# Refer to image using branch tag
# IMAGE_IDENTIFIER=":branch-dcr-1percent"

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

# Refer to image via the GitHub commit SHA tag
# IMAGE_IDENTIFIER=":sha-7dc4abe088376de94d65dd79f9ad24b5c003de56"

# 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/deployTools --query "Parameter.Value" --output text)
REGISTRY="${IMAGE_ACCOUNT_ID}.dkr.ecr.${AWS_DEFAULT_REGION}.amazonaws.com"
IMAGE="${REGISTRY}/guardian/dotcom-rendering${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-publish-image.

@connoromalleyatwork connoromalleyatwork added the feature Departmental tracking: work on a new feature label Sep 7, 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