Back to all articles

Cdk

46 articles tagged with “Cdk

AWS re:Invent 2025: My Serverless & Agentic AI Takeaways
Dec 8, 202524 min read

AWS re:Invent 2025: My Serverless & Agentic AI Takeaways

AWS re:Invent 2025 summary - exciting new services and features launched from a Serverless and agentic AI developer perspective.

Platform Engineering Isn’t Just for Kubernetes—Serverless Needs It Too!
Nov 6, 202510 min read

Platform Engineering Isn’t Just for Kubernetes—Serverless Needs It Too!

Platform engineering isn't just for Kubernetes—serverless teams need it too. In this post, learn how applying platform engineering principles to AWS serverless can help you scale infrastructure, enforce security, improve observability, and boost developer productivity. From reusable CDK blueprints to automated governance and cost optimization, see how platform teams empower developers and accelerate delivery in a serverless world.

Secrets Manager vs. Parameter Store: Which One Should You Really Use?
Sep 8, 20255 min read

Secrets Manager vs. Parameter Store: Which One Should You Really Use?

Choosing between AWS Secrets Manager and SSM Parameter Store isn’t always straightforward. This guide breaks down the key differences in cost, secret rotation, versioning, encryption, IaC support, and more—helping you decide which service fits your use case. Whether you're managing sensitive credentials or sharing configuration across environments, you'll walk away with a clear, practical recommendation backed by real-world experience.

Serverless MCP on AWS: Lambda vs. Fargate for Agentic AI Workloads
Jul 16, 202516 min read

Serverless MCP on AWS: Lambda vs. Fargate for Agentic AI Workloads

Building agentic AI requires more than prompts—it needs secure, structured access to your systems. This post explores three ways to deploy a production-grade MCP server on AWS: Lambda with Web Adapter, Pure Lambda, and AWS Fargate. Compare performance, cost, observability, and DevEx tradeoffs, and access ready-to-use CDK templates. Ideal for teams bringing agentic AI into real-world applications on AWS.

14 AWS Lambda Security Best Practices to Secure Your Serverless Applications
Jul 9, 202511 min read

14 AWS Lambda Security Best Practices to Secure Your Serverless Applications

AWS Lambda makes it easy to build serverless apps—but security is often an afterthought. This post covers 14 real-world Lambda security best practices, from input validation, secret management, and least-privileged IAM to tenant isolation and safe logging. Backed by years of hands-on experience and aligned with OWASP Serverless Top 10, it includes a downloadable checklist to help you secure your functions from day one.

Catch Bugs Before They Catch You: Observability with CloudWatch Synthetics
May 19, 202510 min read

Catch Bugs Before They Catch You: Observability with CloudWatch Synthetics

Maintaining production systems is hard—bugs happen, and reacting late can cost you. AWS CloudWatch Synthetics offers a proactive way to catch issues before your users do by simulating real user actions. In this post, guest author Tom Nachum from CyberArk shares how his team uses synthetic canaries to monitor critical business flows, detect failures early, and boost reliability. Learn how to implement, schedule, and debug canaries with ease using AWS tools.

I Tried Running an MCP Server on AWS Lambda… Here’s What Happened
May 10, 20256 min read

I Tried Running an MCP Server on AWS Lambda… Here’s What Happened

I attempted to run an MCP server serverlessly on AWS Lambda using FastAPI, FastMCP, and the Lambda Web Adapter. While it technically worked, the developer experience was rough—cold starts were slow, observability was limited, and testing was clunky. Compared to my experience building with Bedrock agents, this felt like a step backward. MCP is promising, but today, running it on Lambda isn’t production-ready. Here’s my full breakdown and thoughts.

Build Serverless WebSockets with AWS AppSync Events and Powertools for AWS Lambda
May 5, 202510 min read

Build Serverless WebSockets with AWS AppSync Events and Powertools for AWS Lambda

In this post, you'll learn how to use AWS Lambda functions as both data sources and event handlers for publish and subscribe actions in AWS AppSync Events. We’ll walk through setting up a namespace, wiring direct Lambda integrations using CDK, and handling real-time events with Powertools for AWS Lambda. This approach gives you full control, observability, and flexibility—all while keeping your WebSocket architecture serverless and scalable.

Stop Building Internal Tools Nobody Wants: A Platform Engineer’s Guide
Mar 31, 20259 min read

Stop Building Internal Tools Nobody Wants: A Platform Engineer’s Guide

Stop building internal tools nobody wants. Platform engineering tips to boost adoption, DevX, feedback, and internal open-source mindset

AWS Service Catalog: A Game Changer for Platform Engineering
Mar 3, 20259 min read

AWS Service Catalog: A Game Changer for Platform Engineering

Discover how AWS Service Catalog helps Platform Engineers balance flexibility, security, and governance—transforming delivery at scale

Simplify Security, Governance, and WAF Management with AWS Firewall Manager
Jan 15, 20259 min read

Simplify Security, Governance, and WAF Management with AWS Firewall Manager

Learn how to simplify AWS security, manage WAF rules, and enforce policies across accounts with AWS Firewall Manager, with AWS CDK code

Protect Your API Gateway with AWS WAF using CDK
Dec 16, 20245 min read

Protect Your API Gateway with AWS WAF using CDK

learn about AWS Web Application Firewall (WAF) and use CDK code to protect an REST API served by an API Gateway and enable metrics and logs

AWS AppSync Events - Serverless WebSockets Done Right or Just Different?
Nov 18, 202411 min read

AWS AppSync Events - Serverless WebSockets Done Right or Just Different?

AWS AppSync Events lets you broadcast realtime data with Serverless WebSockets. Learn how it works, use cases and diff from API GW Websocket

AWS WAF Essentials: Securing Your SaaS Services Against Cyber Threats
Nov 13, 202410 min read

AWS WAF Essentials: Securing Your SaaS Services Against Cyber Threats

Learn about the AWS Web Application Firewall (WAF), what it is for, tips, and insights for visibility, ownership, governance and more

Understanding AWS Availability Zones: Boosting SaaS Resilience and Uptime
Oct 21, 202411 min read

Understanding AWS Availability Zones: Boosting SaaS Resilience and Uptime

learn about AWS availability zones, what they are, why they are essential for SaaS Resilience and uptime

Build a Serverless Web Application on Fargate ECS with AWS CDK
Aug 13, 20248 min read

Build a Serverless Web Application on Fargate ECS with AWS CDK

Build a secure Fargate ECS cluster with an application load balancer and a web application using Python CDK code.

Unlocking High Throughput with Amazon SQS FIFO Queues
Jul 22, 202411 min read

Unlocking High Throughput with Amazon SQS FIFO Queues

Learn how SQS FIFO works and achieve optimal throughput with detailed insights and CDK TypeScript code examples.

Build a Chatbot with Amazon Bedrock: Automate API Calls Using Powertools for AWS Lambda and CDK
Jul 8, 202410 min read

Build a Chatbot with Amazon Bedrock: Automate API Calls Using Powertools for AWS Lambda and CDK

Build a chatbot with Amazon Bedrock agents using Powertools for AWS. Learn to automate Lambda API calls via OpenAPI with bedrock agents.

Amazon CloudFormation Custom Resources Best Practices with CDK and Python Examples
Jun 18, 202414 min read

Amazon CloudFormation Custom Resources Best Practices with CDK and Python Examples

Learn of CloudFormation custom resources, their types, and best practices using AWS CDK, Powertools for AWS, Pydantic, and crhelper.

Optimize AWS Lambda with Dynamic Provisioned Concurrency
May 20, 202410 min read

Optimize AWS Lambda with Dynamic Provisioned Concurrency

Reduce AWS Lambda cold starts and optimize costs with dynamic provisioned concurrency. Master it with our AWS CDK Python guide.

AWS Serverless Diversity: Multi-Language Strategies for Optimal Solutions
Apr 29, 20249 min read

AWS Serverless Diversity: Multi-Language Strategies for Optimal Solutions

Learn from my experience developing a performance-oriented serverless service. I'll share insights on multi-language strategies.

Unleashing Resilience: A Practical Guide to Chaos Engineering in Serverless Architectures
Apr 15, 202415 min read

Unleashing Resilience: A Practical Guide to Chaos Engineering in Serverless Architectures

We'll explore chaos engineering in AWS serverless architecture, using AWS FIS for fault injection and providing example code.

Optimizing Clouds Costs with FinOps Mindset
Apr 2, 202413 min read

Optimizing Clouds Costs with FinOps Mindset

learn how a frugal organization thrives on a FinOps mindset, crucial for optimizing costs and maximizing efficiency in cloud services.

AWS Serverless Made Easy: Building with Infrastructure Composer
Jan 29, 20249 min read

AWS Serverless Made Easy: Building with Infrastructure Composer

Draw & Build AWS Serverless Services with Application Composer: Experience, Limits & Wishlist

Build Amazon CloudWatch Dashboards with AWS CDK for Serverless Services
Oct 28, 20237 min read

Build Amazon CloudWatch Dashboards with AWS CDK for Serverless Services

Use AWS CDK to monitor a serverless service with CloudWatch dashboards, metrics, custom metrics, logs and alarms.

How to Effortlessly Monitor Serverless Applications with CloudWatch - Part One
Oct 17, 202310 min read

How to Effortlessly Monitor Serverless Applications with CloudWatch - Part One

Learn to monitor AWS serverless services, build CloudWatch dashboards, and set alarms for a proactive approach in my new post

Deploy AWS AppConfig Configuration with the New L2 CDK Constructs
Sep 18, 20234 min read

Deploy AWS AppConfig Configuration with the New L2 CDK Constructs

In this post, learn to deploy AppConfig with AWS CDK's L2 constructs for feature flags in serverless and other apps.

Amazon SQS Dead Letter Queues and Failures Handling Best Practices
Aug 15, 20237 min read

Amazon SQS Dead Letter Queues and Failures Handling Best Practices

In this article you will learn about dead letter queue best practices and how to handle failures in a correct and automated manner.

Mastering Retries: Best Practices for Amazon SQS
Aug 7, 20238 min read

Mastering Retries: Best Practices for Amazon SQS

Learn how to handle Amazon SQS batch processing failures and master automatic retries with AWS Lambda Powertools for Python.

Effective Amazon SQS Batch Handling with AWS Lambda Powertools
Jul 24, 20236 min read

Effective Amazon SQS Batch Handling with AWS Lambda Powertools

Handle Amazon SQS batches in a safe manner that encourages retries with AWS Lambda Powertools for Python and AWS CDK code examples.

Serverless API Idempotency with AWS Lambda Powertools and CDK
Jun 26, 202313 min read

Serverless API Idempotency with AWS Lambda Powertools and CDK

Discover serverless API idempotency's significance and implementation using AWS Lambda, AWS CDK, and Lambda Powertools for Python.

Python Cookiecutter: Streamline Template Projects for Enhanced Developer Experience
Jun 12, 20238 min read

Python Cookiecutter: Streamline Template Projects for Enhanced Developer Experience

In this post, you will learn how to generate Python templates with cookiecutter and build new template projects from scratch.

Build AWS Serverless Scheduled Tasks with Amazon EventBridge and CDK
May 22, 202310 min read

Build AWS Serverless Scheduled Tasks with Amazon EventBridge and CDK

This blog post will teach you to leverage Amazon EventBridge to create serverless scheduled tasks using AWS CDK in Python.

Serverless Empowers Accessibility: Convert Text to Speech with Amazon Polly
May 8, 20239 min read

Serverless Empowers Accessibility: Convert Text to Speech with Amazon Polly

Learn to automate TTS, text to speech, with Amazon Polly in minutes using the provided GitHub Serverless service to improve accessibility.

Guide to Serverless & Lambda Testing - Part 3 - Advanced Asynchronous Flows
Mar 27, 20239 min read

Guide to Serverless & Lambda Testing - Part 3 - Advanced Asynchronous Flows

Learn AWS Serverless testing best practices for advanced asynchronous flows that may or may not contain Lambda functions.

Guide to Serverless & Lambda Testing - Part 2 - Testing Pyramid
Mar 13, 202318 min read

Guide to Serverless & Lambda Testing - Part 2 - Testing Pyramid

Learn AWS Serverless & Lambda testing best practices using the testing pyramid: unit, infrastructure, integration and end to end tests.

Guide to AWS Serverless & Lambda Testing Best Practices - Part 1
Feb 27, 202313 min read

Guide to AWS Serverless & Lambda Testing Best Practices - Part 1

Discover Serverless and Lambda functions testing challenges, how they differ from old-school application testing and my guidelines and best practices for overcoming them.

AWS Lambda Layers Best Practices
Feb 13, 20237 min read

AWS Lambda Layers Best Practices

This blog post covers AWS Lambda layers basics, the pros and cons, and my recommended best practices.

Build AWS Lambda Container Image with AWS CDK
Jan 16, 20237 min read

Build AWS Lambda Container Image with AWS CDK

This blog post covers AWS Lambda custom container images basics and how to build them with AWS CDK in Python.

Build AWS Lambda Layers with AWS CDK
Jan 2, 20235 min read

Build AWS Lambda Layers with AWS CDK

This blog post covers AWS Lambda layers basics and how to build them with Docker & AWS CDK in Python.

Serverless Production Readiness Checklist
Dec 18, 20228 min read

Serverless Production Readiness Checklist

Before going to production, go through this checklist. The checklist spans security, backups, crisis recovery, CI/CD, and support readiness.

Deploy to AWS with GitHub Actions and AWS CDK
Oct 24, 20223 min read

Deploy to AWS with GitHub Actions and AWS CDK

This blog explains how you can use AWS CDK to deploy to your AWS account using GitHub Actions CI/CD pipeline.

AWS CDK - Best Practices From The Trenches
Oct 3, 202215 min read

AWS CDK - Best Practices From The Trenches

Best practices and guidelines for working with AWS CDK, learned from using AWS CDK, from development to production over the past 3 years.

Cloud Platform Engineering - Supercharge Your Development
Jul 11, 202214 min read

Cloud Platform Engineering - Supercharge Your Development

Creating a cloud platform engineering team in your organization accelerates SaaS development. Learn about the challenges and best practices.

Start Your AWS Serverless Service With Two Clicks
Jun 19, 20226 min read

Start Your AWS Serverless Service With Two Clicks

This blog will help you to start your very own AWS Serverless Python service with a working pipeline and CDK with just two clicks!

AWS Lambda Cookbook | Environment Variables
Mar 15, 20228 min read

AWS Lambda Cookbook | Environment Variables

This blog focuses on AWS Lambda functions environment variables best practices (static configuration).