Skip to content

Create stack for article-rendering in CODE - #17022

Draft
costasmantzoukas wants to merge 1 commit into
mainfrom
add-ecs-services-to-article-rendering-code
Draft

costasmantzoukas wants to merge 1 commit into
mainfrom
add-ecs-services-to-article-rendering-code

Conversation

@costasmantzoukas

Copy link
Copy Markdown
Contributor

What does this change?

Why?

How has this change been tested?

Screenshots

Before After
before after

@costasmantzoukas costasmantzoukas added the maintenance Departmental tracking: maintenance work, not a fix or a feature label Oct 23, 2026
@costasmantzoukas
costasmantzoukas force-pushed the add-ecs-services-to-article-rendering-code branch from 1418fd6 to 7ad80bb Compare October 23, 2026 16:20
@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

🚀 Image pushed to AWS ECR

Image digest: sha256:33394c5f50dd023884a9bdc3f15c09adf9cc98608492b7cd68985601950e19a2

🐛 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:33394c5f50dd023884a9bdc3f15c09adf9cc98608492b7cd68985601950e19a2"

# Refer to image using branch tag
# IMAGE_IDENTIFIER=":branch-add-ecs-services-to-article-rendering-code"

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

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

@costasmantzoukas
costasmantzoukas force-pushed the add-ecs-services-to-article-rendering-code branch 2 times, most recently from 1b2dfbe to aa8bde1 Compare October 23, 2026 16:38
…shots and a configuration for PROD with just ec2 props
@costasmantzoukas
costasmantzoukas force-pushed the add-ecs-services-to-article-rendering-code branch from aa8bde1 to f6cd698 Compare October 23, 2026 16:49

This branch has not been deployed

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

Labels

maintenance Departmental tracking: maintenance work, not a fix or a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant