Skip to content

api-gateway

17 posts

api-gateway
Choosing a Serverless Internal Service Layer7/7

Before building an internal service layer, decide whether you need one: what it costs per call, the volume where VPC Lattice wins, and when direct invoke still beats it.

aws · aws-cdk · lambda +4

gRPC, Protobuf, and the Wire Format Your Gateway Allows6/7

A private REST API structurally cannot carry gRPC, and every AWS surface that speaks gRPC excludes Lambda targets. What to keep from gRPC, and what to drop.

aws · aws-cdk · lambda +4

Building the Layer with a Private API Gateway5/7

The private REST API, the resource policy that switches it on, per-route AWS_IAM grants, the two CDK stacks, and signing the call from a Node 22 Lambda.

aws · aws-cdk · lambda +4

Identity and Encryption Between Serverless Services4/7

SigV4 proves which service is calling and nothing about which user it is for. How to propagate a verified subject, and what the transport actually encrypts.

aws · aws-cdk · lambda +4

Multi-Account: Cross-Account Calls and the Data Perimeter3/7

Same-account, the resource policy and the caller's identity policy are an OR. Cross-account they become an AND, and silence denies. What that changes in the perimeter.

aws · aws-cdk · lambda +4

How the Layer Fails: Throttles, Retries, and Loops2/7

API Gateway shares one throttle bucket with your front door, never retries a Lambda integration, and cannot see loops through itself. What you have to rebuild.

aws · aws-cdk · lambda +4

Observability, and Where Service Meshes Are Heading1/7

The access log already names the caller, route, and latency. Per-route metrics are not free, the user token needs masking, and AWS is switching off its own mesh.

aws · aws-cdk · lambda +4

Amazon Cognito Deep Dive: Beyond Basic Authentication

A technical guide to advanced Amazon Cognito: custom auth flows, federation, multi-tenancy, migration strategies, and production-grade security with CDK.

aws · authentication · serverless +6

API Versioning Strategies in Practice: From First Release to Sunset

A practical guide to API versioning: URL vs header approaches, breaking changes, Sunset-header deprecation, AWS API Gateway, GraphQL, and contract testing.

api-design · deployment · graphql +4

Testing Serverless Applications: A Practical Strategy Guide

Build a testing strategy for AWS Lambda, API Gateway, DynamoDB, and Step Functions with practical patterns for fast feedback and reliability.

lambda · testing · serverless +8

Building Ephemeral Preview Environments with AWS CDK and Serverless

Learn to build automated preview environments using AWS CDK, Lambda, and GitHub Actions for seamless PR testing and review workflows

aws-cdk · serverless · ci-cd +5

API Versioning with AWS API Gateway and CDK: A Practical Guide

Path-based API versioning on AWS API Gateway with CDK: a lifecycle registry per version, per-version Lambda handlers, discovery, and deprecation signals.

api-gateway · aws · aws-cdk +3

AWS CDK Link Shortener Part 1: Project Setup & Basic Infrastructure2/2

Set up a production-grade link shortener with AWS CDK, DynamoDB, and Lambda: architecture decisions, project layout, and the schema choices that hold up at scale.

aws-cdk · lambda · dynamodb +5

AWS CDK Link Shortener Part 2: Core Functionality & API Development1/2

Build the redirect engine, analytics collection, and API Gateway config: performance optimizations and debugging strategies for millions of daily redirects.

aws-cdk · lambda · api-gateway +5

AWS Lambda with TypeScript: Production Best Practices

Moving from Express.js to Lambda: the common mistakes teams make along the way, and the TypeScript patterns that reduce AWS bills at scale.

api-gateway · cost-optimization · lambda +2

Migrating from Serverless Framework to AWS CDK: Part 3 - Lambda Functions and API Gateway1/1

Migrate Lambda functions, API Gateway, request validation, and error handling from Serverless Framework to AWS CDK with practical examples.

api-gateway · aws · aws-cdk +2

Zod + OpenAPI + AWS Lambda: Schema-First API Development with CDK

Keep a Lambda API and its OpenAPI contract in sync by generating the spec from Zod schemas and wiring that generation into CDK deployment.

api-gateway · aws-cdk · lambda +4