Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't test alternate CDN for assets domain in staging? #1121

Closed
sengi opened this issue Feb 8, 2024 · 2 comments
Closed

Can't test alternate CDN for assets domain in staging? #1121

sengi opened this issue Feb 8, 2024 · 2 comments

Comments

@sengi
Copy link
Contributor

sengi commented Feb 8, 2024

Seems there was some confusion around how assets.staging.publishing.service.gov.uk is set up in regard to testing switching between the main (Fastly) and alternative (AWS CloudFront) CDNs.

We should be able to test the assets domain on the alt CDN. Might already be fine and there was just confusion about how to do it, or maybe there's something to fix/improve about the way it's set up.

Moved from https://trello.com/c/vXZ5WQNd.

@sengi
Copy link
Contributor Author

sengi commented Feb 8, 2024

Not sure what prompted the claim that assets.staging.publishing.service.gov.uk points at prod, but it doesn't appear to be true.

dig +short assets.staging.publishing.service.gov.uk

www-gov-uk.map.fastly.net.
151.101.60.144

Staging Assets service in Fastly has the assets.staging.publishing.service.gov.uk domain. Here's the relevant snippet of VCL from the active version of that service's config:

backend F_awsorigin {
...
    .host = "assets-origin.eks.staging.govuk.digital";
...
}

backend F_mirrorS3 {
...
    .host = "govuk-staging-mirror.s3-eu-west-2.amazonaws.com";
...
}

@sengi
Copy link
Contributor Author

sengi commented Feb 8, 2024

The playbook for testing switchover already covers assets.staging.publishing.service.gov.uk so I think we're done here.

@sengi sengi closed this as not planned Won't fix, can't repro, duplicate, stale Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant