Back to all articles

Serverless

72 articles tagged with “Serverless

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.

AWS re:Invent 2025 — My Selection Of Sessions - Serverless, Security, SaaS and AI
Oct 8, 202517 min read

AWS re:Invent 2025 — My Selection Of Sessions - Serverless, Security, SaaS and AI

My session guide for AWS re:Invent: 2025 breakout sessions, workshops, and talks relevant to Serverless, SaaS, platform engineering, and security.

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.

Agentic AI & MCP for Platform Engineering Teams: Strategy and Real-World Patterns
May 27, 202510 min read

Agentic AI & MCP for Platform Engineering Teams: Strategy and Real-World Patterns

learn how to build a secure, governed foundation for AI adoption using three key building blocks: a centralized prompt library and CLI, MCP server blueprints, and connectors to organizational data. Discover practical strategies to enable architecture reviews, code transformations, and design generation—all while aligning with security and platform engineering standards.

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.

Building Serverless MCP Servers and What Does Peppa Pig Have To Do With It
Apr 23, 202516 min read

Building Serverless MCP Servers and What Does Peppa Pig Have To Do With It

This post walks through building a stateless Model Context Protocol (MCP) server on AWS Lambda using Streamable HTTP—no custom bridges or transports. It explores MCP internals, tool/resource definitions, deployment with API Gateway, and local testing with stdio. Learn how Agentic AI Assistants leverage MCP to execute actions with real-time context, and how this protocol simplifies integration across diverse systems.

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

5 Serverless Architecture Patterns You Should Stop Using (And What to Do Instead)
Feb 10, 20259 min read

5 Serverless Architecture Patterns You Should Stop Using (And What to Do Instead)

Avoid common AWS Serverless architecture pitfalls! Learn 5 outdated patterns & the best practices to replace them for better services

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 re:Invent 2024: My Serverless Takeaways
Dec 6, 202412 min read

AWS re:Invent 2024: My Serverless Takeaways

AWS re:Invent 2024 exciting new services and features launched from a Serverless developer perspective.

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

AWS re:Invent 2024 — My Selection Of Sessions
Oct 2, 202415 min read

AWS re:Invent 2024 — My Selection Of Sessions

In this post, you will find my opinionated list of AWS re:Invent sessions that I found relevant to Serverless or highly interesting

A Critical Look at AWS Lambda Extensions: Pros, Cons, and Recommended Use Cases
Sep 10, 20249 min read

A Critical Look at AWS Lambda Extensions: Pros, Cons, and Recommended Use Cases

In this VERY opinionated post, I will share my thoughts about AWS Lambda extensions, the good and the bad, and when you should use or should not use them.

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.

Reflecting on Serverless: Current State, Community Thoughts, and Future Prospects
Jul 24, 202414 min read

Reflecting on Serverless: Current State, Community Thoughts, and Future Prospects

Reflect on the current state of serverless, share my thoughts about articles from the community, and discuss the future of serverless

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.

AWS Security Best Practices: Leveraging IAM for Service-to-Service Authentication and Authorization
Jun 3, 202418 min read

AWS Security Best Practices: Leveraging IAM for Service-to-Service Authentication and Authorization

AWS security best practices for service to service authentication, authorization and cross-account access with IAM policies and python code.

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 Lambda Cold Start: What It Is & Practical Ways to Reduce It
Mar 18, 202410 min read

AWS Lambda Cold Start: What It Is & Practical Ways to Reduce It

Learn what are Lambda cold starts, whether they are still an issue, when to minimize them, and how. Optimize user experience.

Serverless APIs: Auto-Generate OpenAPI Docs & CI/CD Protections
Mar 4, 202410 min read

Serverless APIs: Auto-Generate OpenAPI Docs & CI/CD Protections

Generate OpenAPI documentation for serverless APIs automatically, keep it in sync with code, and safeguard against API breaking changes

Serverless API Documentation with Powertools for AWS
Feb 19, 202410 min read

Serverless API Documentation with Powertools for AWS

Generate OpenAPI documentation for Python Lambda function-based APIs, utilizing Powertools for AWS Lambda and Pydantic

Boost App Engagement with AWS CloudWatch Metrics & Powertools for AWS
Feb 7, 20247 min read

Boost App Engagement with AWS CloudWatch Metrics & Powertools for AWS

Learn to use CloudWatch metrics for mobile alerts, enhancing app engagement with AWS Lambda Powertools. Ideal for developers and engineers

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

Introduction to Chaos Engineering in Serverless Architectures
Jan 15, 20247 min read

Introduction to Chaos Engineering in Serverless Architectures

Explore how chaos engineering enhances serverless systems by introducing controlled failures to improve resilience.

AWS re:Invent 2023: My Serverless Takeaways
Dec 5, 20238 min read

AWS re:Invent 2023: My Serverless Takeaways

Serverless news and features summary of AWS re:invent 2023

Export CloudWatch Logs to Third-party Observability Tools with Serverless
Nov 13, 202310 min read

Export CloudWatch Logs to Third-party Observability Tools with Serverless

Export AWS CloudWatch logs to tools like DataDog, Grafana, using serverless for simpler management and deeper insights.

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.

AWS re:Invent 2023 — My Selection Of Serverless Sessions
Sep 4, 202318 min read

AWS re:Invent 2023 — My Selection Of Serverless Sessions

My opinionated list of AWS re:invent 2023 sessions that I found relevant to serverless and Python developers.

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.

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.

Learn How to Write AWS Lambda Functions with Three Architecture Layers
Apr 24, 202312 min read

Learn How to Write AWS Lambda Functions with Three Architecture Layers

In this blog post, you will learn how to write AWS Lambda function code containing three architectural layers.

Ensuring Serverless Success: A Guide to Service Level Agreement (SLA) Definitions and Guidelines
Apr 10, 202315 min read

Ensuring Serverless Success: A Guide to Service Level Agreement (SLA) Definitions and Guidelines

This blog post you describes my definitions, guidelines and approach to understanding SLA and estimating a Serverless service availability.

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.

AWS Lambda Smart Feature Flags - Now with Time Based Conditions
Jan 31, 20234 min read

AWS Lambda Smart Feature Flags - Now with Time Based Conditions

Learn how to define time-based feature flags that will change the behavior of your AWS service at different times, hours and weekdays.

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.

re:Invent 2022: Serverless Takeaways
Dec 3, 20227 min read

re:Invent 2022: Serverless Takeaways

Now that AWS re:Invent 2022 is officially over, let's go over the exciting new services and features launched from a Serverless perspective.

Cloud Architect's High-Level Design Template
Nov 7, 20228 min read

Cloud Architect's High-Level Design Template

Recommended AWS high-level Serverless service/application architecture design template.

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!

Manage Your AWS Lambda Feature Flags Like a Boss
Jun 9, 20227 min read

Manage Your AWS Lambda Feature Flags Like a Boss

This blog post will describe a feature flags development process for getting feature flags right in: design, testing, production, retirement

AWS Lambda Feature Flags & Configuration Best Practices | AWS Lambda Cookbook
May 15, 202216 min read

AWS Lambda Feature Flags & Configuration Best Practices | AWS Lambda Cookbook

AWS Lambda handler best practices series. This blog focuses on AWS Lambda feature flags and configuration best practices.

AWS Lambda Input Validation Best Practices | AWS Lambda Cookbook
Apr 7, 202210 min read

AWS Lambda Input Validation Best Practices | AWS Lambda Cookbook

AWS Lambda handler. This blog focuses on AWS Lambda input validation and parsing best practices.

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).

AWS Lambda Metrics KPI Best Practices | AWS Lambda Cookbook
Mar 3, 20226 min read

AWS Lambda Metrics KPI Best Practices | AWS Lambda Cookbook

AWS Lambda handler custom metrics best practices for observability : cloudwatch metrics and business KPIs.

AWS Lambda Observability Best Practices | AWS Lambda Cookbook
Feb 24, 202211 min read

AWS Lambda Observability Best Practices | AWS Lambda Cookbook

This blog deals with AWS Lambda best practices for tracing and observability.

AWS Lambda Best Logging Practices | AWS Lambda Cookbook
Feb 23, 20226 min read

AWS Lambda Best Logging Practices | AWS Lambda Cookbook

This blog deals with AWS Lambda functions logging best practices.