Skip to content

infrastructure-as-code

9 posts

infrastructure-as-code
Should Stateful Resources Live in a Separate CDK Stack?

A lifecycle test for CDK stack layout: give a resource its own long-lived stack when it outlives any single deployer, then reach it by a well-known name.

aws-cdk · infrastructure-as-code · typescript +3

Effect on AWS Lambda: Building a URL Shortener with SST and DynamoDB

A small, complete URL shortener on AWS Lambda and DynamoDB with Effect and SST v4, showing schema-at-the-boundary, layers, and tagged-error mapping.

functional-programming · lambda · typescript +2

Deploying AWS Bedrock AgentCore with CDK: a quickstart

A CDK guide for deploying a minimal Strands agent on AgentCore Runtime: parameterized stack, arm64 build, deploy and invoke, with IAM and Marketplace prerequisites.

aws-bedrock · ai-agents · aws-cdk +3

Breaking Through CloudFormation's 500 Resource Barrier: Practical Strategies for Large-Scale Infrastructure

Overcome CloudFormation's 500 resource limit with nested stacks, cross-stack references, SSM Parameter Store, and microstack architecture, shown in TypeScript CDK.

aws-cdk · infrastructure-as-code · aws +2

AWS CDK Project Structure: Service-Based vs Domain-Based Organization

When to use service-based, domain-based, feature-based, or layer-based organization in AWS CDK projects, with decision frameworks and common pitfalls.

aws-cdk · typescript · infrastructure-as-code +3

Reusable AWS CDK Constructs: Factory Functions, Builders, and Aspects

How factory functions, higher-order functions, and composition turn AWS CDK into a type-safe, reusable infrastructure toolkit that prevents configuration drift.

aws-cdk · typescript · infrastructure-as-code +2

Next.js Deployment Alternatives to Vercel: A Comprehensive Guide

A practical guide to deploying Next.js beyond Vercel, covering the cost profile, implementation details, and migration path for each target platform.

nextjs · deployment · aws +4

Database Query Profiling: Systematic Optimization Journey

Systematic profiling for PostgreSQL and MongoDB: how to find the queries driving latency and infrastructure cost, and which fixes actually move them.

data-storage-orm · postgresql · performance +4

Deploying AWS Fargate: CDK vs Terraform vs SAM1/1

How to deploy Fargate effectively with different IaC tools. Practical patterns, common gotchas, and what works best for each approach.

aws · fargate · aws-cdk +4