BlogsAmazonScaling Serverless Architectures

Scaling Serverless Architectures

Scaling Serverless Architectures

1
posts
2026

This feature thread tracks the evolution of building and operating serverless platforms at extreme scale, focusing on architectural patterns, cost optimization, and operational challenges encountered when managing millions of serverless functions across numerous accounts. Initial focus was on foundational microservice composition and automated account provisioning. Subsequent evolution addresses challenges like self-DDoS through synchronized schedules, multi-account observability cost management, and rethinking traditional patterns like SQS for scale-to-zero efficiency. The thread also covers industrializing deployment engines and collaborating with service teams to overcome platform limitations.

2026

Lessons learned from scaling to 1 million Lambda functions | Amazon Web Services

6/29/2026

This post details the lessons learned from scaling a serverless SaaS platform to over one million Lambda functions across thousands of AWS accounts. It covers the evolution from initial microservice composition with CloudFormation StackSets to addressing scaling challenges like self-DDoS via request scattering and optimizing multi-account observability costs. A significant contribution is the re-evaluation of SQS for scale-to-zero, leading to its removal from the EventBridge-to-Lambda path and the implementation of metric-driven safety and a centralized DLQ. The post also highlights the journey from building a custom deployment engine to collaborating with the AWS CloudFormation team to industrialize the deployment process at scale.