Architecture

Well-Architected Serverless Lens: a review checklist

A practical checklist based on the AWS Well-Architected Serverless Lens, pillar by pillar, for real Lambda, API Gateway, and DynamoDB workloads.

  • 4 min read
  • Updated December 2, 2026

The AWS Well-Architected Framework describes good cloud architecture through six pillars, and the Serverless Applications Lens adapts it to Lambda, API Gateway, DynamoDB, Step Functions, and the rest of the serverless stack. This checklist turns the lens into concrete things to look for in a real workload. It is the backbone of our serverless architecture review.

Use it as a starting point: not every item applies to every system, and the right answer often depends on business context.

Operational excellence

  • Is all infrastructure defined as code (AWS CDK, SAM, CloudFormation, Terraform) and deployed through a pipeline, with nothing created by hand?
  • Are there separate environments, ideally separate AWS accounts, for development and production?
  • Do functions emit structured logs with correlation ids, and do log groups have retention set?
  • Are business and technical metrics published and visible on a dashboard per workload?
  • Is tracing enabled across API Gateway, Lambda, and downstream services?
  • Do alarms exist for user-facing errors and latency, dead-letter queues, and stalled queues — and do they have runbooks?
  • Can you deploy gradually (aliases with traffic shifting) and roll back quickly?

Security

  • Does every function have its own IAM role with least-privilege permissions — no * actions or resources without a documented reason?
  • Are APIs authenticated and authorized (Cognito or JWT authorizers, IAM, Lambda authorizers), with authorization checked against the resource being accessed, not just the caller's identity?
  • Is input validated at the edge and inside handlers?
  • Are secrets stored in Secrets Manager or SSM Parameter Store, never in environment variables in plain text or in code?
  • Is data encrypted at rest and in transit, and is public access blocked on S3 buckets that don't need it?
  • Are dependencies scanned for vulnerabilities, and runtimes kept on supported versions?
  • Is AWS WAF in front of public APIs or CloudFront distributions where abuse is a risk?
  • Are human and CI credentials temporary (IAM Identity Center, OIDC federation) rather than long-lived keys?

Reliability

  • Are timeouts set deliberately on every function and every downstream call, with the API Gateway, Lambda, and client timeouts consistent with each other?
  • Do asynchronous invocations and event sources have retries configured and a dead-letter queue or failure destination?
  • Are handlers with side effects idempotent, since most event sources deliver at least once?
  • Is concurrency managed: reserved concurrency for critical functions, maximum concurrency on event sources in front of fragile dependencies, and account limits checked against expected peaks?
  • Are throttling and quotas (API Gateway, Lambda, DynamoDB, downstream APIs) known and monitored?
  • Are stateful resources protected: point-in-time recovery for DynamoDB, versioning or backups for S3, retention policies so a stack deletion can't destroy data?
  • Is there a tested plan for regional failure, proportionate to the business requirement?

Performance efficiency

  • Has Lambda memory been tuned with measurements rather than left at a default?
  • Are functions bundled minimally (esbuild, tree-shaking), with SDK clients initialized outside the handler?
  • Are cold starts measured, and is provisioned concurrency used only where latency requirements justify it?
  • Do DynamoDB keys distribute load evenly, with access patterns served by Query and GetItem rather than Scan?
  • Is caching used where data allows (CloudFront, API caching, DAX, in-memory per environment)?
  • Are batch sizes and batching windows tuned for stream and queue consumers?
  • Are direct service integrations (Step Functions SDK integrations, EventBridge Pipes) used instead of pass-through functions?

Cost optimization

  • Are resources tagged so cost can be attributed by workload, team, and environment?
  • Are functions on arm64 (Graviton) where compatible?
  • Are HTTP APIs used instead of REST APIs where REST-only features aren't needed?
  • Is log volume controlled (levels, sampling, retention, no payload dumps)?
  • Is the DynamoDB capacity mode appropriate for the traffic shape, and are unused indexes removed?
  • Are Step Functions Express workflows used for high-volume short workflows?
  • Are VPC attachments, NAT Gateways, and cross-AZ or internet data transfer justified?
  • Are AWS Budgets and Cost Anomaly Detection configured?

Sustainability

  • Does the architecture scale to zero or near zero when idle?
  • Are functions right-sized and on efficient architectures (Graviton)?
  • Is data retained only as long as needed, with lifecycle policies on S3 and TTL on DynamoDB?
  • Is polling replaced by events where possible?

How to run a review

  1. Scope the workload and its business goals — the right trade-offs differ between an internal tool and a payment API.
  2. Inventory what is deployed, ideally automatically, and compare it with infrastructure code to spot drift.
  3. Gather evidence from configuration, IAM policies, metrics, logs, and cost data — not just from answers in a questionnaire.
  4. Rate findings by risk and effort, and attach the affected resources to each one.
  5. Prioritize a short list of high-impact fixes and schedule them.
  6. Repeat periodically, and record results in the AWS Well-Architected Tool if you want a history.

Summary

The Serverless Lens is most useful when applied to real resources with real evidence. Work through each pillar, focus on the highest-risk findings first, and make the fixes part of normal delivery. If you'd like an independent review with read-only access, see our architecture review service.

Services

Related services

How we can help you put this guide into practice.

Guides

More guides

Keep reading.

Let's make your serverless workload simpler, safer, and cheaper.

Start with a free 30-minute intro call with a serverless engineer.

Book a consultation