External Publication
Visit Post

Modernizing a CDK Project - WebSocket Server with Fargate

subaud [Unofficial] February 22, 2026
Source
I recently revisited cdk-websocket-server, a demo I published in 2023 for running a WebSocket server on ECS Fargate behind CloudFront. The original worked, but it carried unnecessary complexity — EC2 instances backing a Fargate cluster, a custom Lambda to patch CloudFront headers, and a single-stage Docker build running as root.

Discussion in the ATmosphere

Loading comments...