aws-cdk
32 posts
Building a RAG agent on AWS Bedrock + Knowledge Bases + OpenSearch Serverless with CDK in TypeScript — architecture, IAM wiring, automated ingestion, and the chat UI.
A CDK guide for deploying a minimal Strands agent on AgentCore Runtime — parameterized stack, arm64 build, deploy and invoke, and the IAM and Marketplace prerequisites you need before the first call.
A comprehensive technical guide to choosing and implementing AWS edge computing solutions for global applications with practical examples and cost optimization strategies.
A comprehensive technical guide to Amazon Cognito's advanced features including custom authentication flows, federation patterns, multi-tenancy architectures, migration strategies, and production-grade security implementation.
A comprehensive technical guide comparing AWS Secrets Manager and Systems Manager Parameter Store, demonstrating when to use each service with real-world implementation patterns.
A comprehensive guide to reducing AWS costs by 40-70% through systematic optimization using native AWS services, automation, and proven implementation patterns.
A comprehensive guide to Mozilla SOPS for managing encrypted secrets in Git repositories. Learn age encryption, AWS CDK patterns, AWS Lambda integration, and production-ready security strategies for serverless workflows.
A comprehensive guide to building scalable real-time APIs with AWS AppSync, covering JavaScript resolvers, subscription filtering, caching strategies, and infrastructure as code patterns.
Learn how to implement secure cross-account event distribution using Amazon SNS and SQS. Covers IAM policies, KMS encryption, AWS CDK implementation, and common pitfalls from real-world deployments.
A comprehensive guide to implementing the Saga pattern for managing distributed transactions across microservices with AWS Step Functions and EventBridge, including idempotency, compensation logic, and production-ready patterns.
Stop choosing based on features; choose based on your communication pattern. A practical guide to selecting between SQS, SNS, and EventBridge with working CDK examples and cost analysis.
Master AWS Step Functions for production-ready serverless workflows. Learn Standard vs Express workflows, Distributed Map processing, error handling patterns, callback integration, and cost optimization strategies with working CDK examples.
Exploring proven strategies to overcome CloudFormation's 500 resource limit using nested stacks, cross-stack references, SSM Parameter Store, and microstack architecture with real TypeScript CDK examples and decision frameworks.
Learn when to use service-based, domain-based, feature-based, or layer-based organization patterns in AWS CDK projects. Includes decision frameworks, working examples, and migration strategies for maintainable infrastructure code.
Learn how functional programming patterns - factory functions, higher-order functions, and composition - transform AWS CDK from a CloudFormation generator into a type-safe, reusable infrastructure toolkit that prevents configuration drift and runtime errors.
Explore how the Builder pattern leverages TypeScript's type system to create safe, discoverable APIs across serverless, data layers, and testing - with working examples from AWS CDK, query builders, and more.
Practical approaches to managing Lambda Layer versions across dev, staging, and production environments with AWS CDK, including automated deployment pipelines and rollback strategies.
Learn to build automated preview environments using AWS CDK, Lambda, and GitHub Actions for seamless PR testing and review workflows
Multi-region deployment, database scaling strategies, disaster recovery patterns, and long-term maintenance approaches. Practical patterns for production systems at scale and architectural decisions for long-term success.
Implementing custom domains, bulk operations, URL expiration, and comprehensive security measures. Defense-in-depth protection strategies for production link shortener services.
Multi-environment deployment strategies, performance optimization at scale, and cost management. Production insights and lessons learned with proper monitoring and incident response patterns.
A technical case study on implementing multi-version APIs in production. Failed approaches, working solutions, and CDK patterns for managing API evolution.
Setting up a production-grade link shortener with AWS CDK, DynamoDB, and Lambda. Real architecture decisions, initial setup, and lessons learned from building URL shorteners at scale.
Building the redirect engine, analytics collection, and API Gateway configuration. Real performance optimizations and debugging strategies from handling millions of daily redirects.
A practical approach to handling large file uploads using S3 signed URLs instead of Lambda proxies. Complete implementation with CDK, security considerations, and lessons learned from production experience.
Explore the motivations behind migrating from Serverless Framework to AWS CDK, including licensing changes, architectural advantages, and when CDK becomes the better choice for your serverless applications.
Learn how to structure a CDK project for serverless applications, configure TypeScript for Lambda development, and establish patterns that ease migration from Serverless Framework.
Deep dive into migrating Lambda functions, API Gateway configurations, request validations, and error handling from Serverless Framework to AWS CDK with practical examples.
Master DynamoDB migrations, environment variable management, secrets handling, and VPC configurations when moving from Serverless Framework to AWS CDK.
Execute a smooth migration from Serverless Framework to AWS CDK with proven strategies, testing approaches, rollback procedures, and performance optimization techniques.
Implement robust authentication with Cognito, API Gateway authorizers, and fine-grained IAM policies when migrating from Serverless Framework to AWS CDK.
How a 'simple' API change broke an enterprise client integration overnight, why documentation drift causes real problems, and a practical system that generates OpenAPI specs from Zod schemas automatically.