What does Covid, extreme ad monetization and memory decline have to do with yet another card game engine?
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. Here's what changed and why. Dropping the EC2 Auto Scaling Group The original created an EC2 Auto Scaling Group alongside the Fargate cluster: // Old approach con