Publishing outage — CloudFront VPC origin failure
Date: 2026-07-16
Duration: ~3h (09:53–12:53 CEST, restored region by region)
Impact: Publishing hung for 60+ seconds for all customers and surfaced an error in the editor "SyntaxError: Unexpected token '<'".
Background
Published content reaches the public websites through the labupdate service. The CMS pushes every published article to it, and it writes it to the front environment. It is the only path by which published content reaches the websites. This push travels over the public internet and enters AWS through a CloudFront distribution with a VPC origin, a setup chosen for low latency for distant regions while keeping the labupdate service private.
Root cause
On the morning of the incident, a global AWS-side fault in CloudFront VPC origins caused all requests through that path to hang. The CMS pusher, which sends each publish through the CloudFront distribution to labupdate, never received a response. It waited out its 60-second timeout and retried up to three times, keeping the publish request running long past the CMS nginx timeout. Nginx then aborted the request with a 504 error page, which surfaced the "SyntaxError: Unexpected token '<'" error editors saw.
Resolution
We routed around the CloudFront distribution in front of the labupdate service. An internet-facing network load balancer (NLB) was deployed to each region, serving traffic to the same destination as the CloudFront distribution. Besides this bypass, no existing infrastructure or authentication setup was touched.
The bypass was verified in ap-northeast-2 before DNS cutover. Eu-north-1 and us-east-2 followed with the verified design.
Same evening, AWS resolved the VPC origin fault. After verifying the CloudFront path end-to-end, DNS was flipped back the next day (17-07-2026), with the NLBs remaining as warm standbys in case the issue arose again.
Articles published 09:53–12:53 required manual re-publishing (publishes were CMS-side successful but never synced to front).
Timeline (CEST)
Follow-up