Skip to content

Add ECS service to interactives - #16959

Merged
aug24 merged 1 commit into
mainfrom
add-ecs-service-to-interactives
Oct 21, 2026
Merged

aug24 merged 1 commit into
mainfrom
add-ecs-service-to-interactives

Conversation

@aug24

@aug24 aug24 commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

What does this change?

This change provisions an ECS service for Interactive Rendering in CODE only.

It does not send any traffic to the service.

Why?

As preparation for deploying ECS in PROD.

How has this change been tested?

This PR has been successfully deployed to CODE. I'll run some smoke tests via the bastion next.

Screenshots

N/A

@aug24
aug24 requested a review from a team as a code owner October 16, 2026 11:14
@github-actions

github-actions Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

🚀 Image pushed to AWS ECR

Image digest: sha256:688fb8fa8711790eba180d1420494ec8e3e76334d8f17500cfd2815206ba52de

🐛 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:688fb8fa8711790eba180d1420494ec8e3e76334d8f17500cfd2815206ba52de"

# Refer to image using branch tag
# IMAGE_IDENTIFIER=":branch-add-ecs-service-to-interactives"

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

# 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/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-ecr.

@github-actions

github-actions Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

@aug24 aug24 added the feature Departmental tracking: work on a new feature label Oct 16, 2026
Comment thread dotcom-rendering/cdk/bin/cdk.ts Outdated
Comment thread dotcom-rendering/cdk/bin/cdk.ts Outdated
Comment thread dotcom-rendering/cdk/bin/cdk.ts Outdated
@aug24
aug24 force-pushed the add-ecs-service-to-interactives branch 2 times, most recently from 77a9b24 to 2542622 Compare October 19, 2026 10:54
import { RenderingCDKStack } from '../lib/renderingStack';

/** Tag pages */
function getImageIdentifier(): string {

@aug24 aug24 Oct 19, 2026 •

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.

Moved to top as it will eventually be used by everything.

We could eventually make this just a top level variable?

@aug24
aug24 force-pushed the add-ecs-service-to-interactives branch 2 times, most recently from 70bb76c to f9e8e2f Compare October 19, 2026 11:49
@aug24
aug24 force-pushed the add-ecs-service-to-interactives branch 2 times, most recently from 9fcdb88 to 440ec1b Compare October 21, 2026 09:23
@aug24
aug24 added this pull request to the merge queue Oct 21, 2026
Merged via the queue into main with commit fc5a28a Oct 21, 2026
25 checks passed
@aug24
aug24 deleted the add-ecs-service-to-interactives branch October 21, 2026 10:40
@gu-prout

gu-prout Bot commented Oct 21, 2026

Copy link
Copy Markdown

Seen on PROD (merged by @aug24 6 minutes and 59 seconds ago) Please check your changes!

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 Seen-on-PROD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants