Skip to content

ECS Scaling at 20% CPU usage. - #16693

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

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

Conversation

@connoromalleyatwork

@connoromalleyatwork connoromalleyatwork commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

What does this change?

Adds target scaling to ECS for tag page rendering in both CODE and PROD.

@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

🚀 Image pushed to AWS ECR

Image digest: sha256:fae9b6b31fac5aeb6cbdda25b9ad8ba79f953a22ec1918ec02a689c7e8e7bb00

🐛 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:fae9b6b31fac5aeb6cbdda25b9ad8ba79f953a22ec1918ec02a689c7e8e7bb00"

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

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

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

# 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/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
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Update ECS instance resources
@connoromalleyatwork
connoromalleyatwork marked this pull request as ready for review September 14, 2026 15:40
@connoromalleyatwork
connoromalleyatwork requested a review from a team as a code owner September 14, 2026 15:40
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