{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreibyfimmesyxisxkdxumvp2rbqniwbrq4qxwe4ve7rqujc4q445ype",
    "uri": "at://did:plc:xji475ic4ysgtierqhmxxyya/app.bsky.feed.post/3mfh5sgegvdw2"
  },
  "coverImage": {
    "$type": "blob",
    "ref": {
      "$link": "bafkreia5gpp2k72ruxgjyxw72tdwxy6735qwnnwc6filc7knxlzb4j5to4"
    },
    "mimeType": "image/jpeg",
    "size": 79452
  },
  "path": "/modernizing-websocket-server/",
  "publishedAt": "2026-02-22T02:34:45.000Z",
  "site": "https://www.subaud.io",
  "tags": [
    "AWS",
    "CDK",
    "WebSockets",
    "Fargate",
    "cdk-websocket-server"
  ],
  "textContent": "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.",
  "title": "Modernizing a CDK Project - WebSocket Server with Fargate"
}