AWS Details How One Customer Scaled to One Million Lambda Functions

· Source: InfoQ · Field: Technology & Digital — Cloud Computing & IT Infrastructure, Software Development & Engineering · Depth: Intermediate, quick

Summary

AWS has outlined how ProGlove, an industrial-wearables manufacturer, was able to scale its SaaS platform to run more than one million AWS Lambda functions spread across thousands of dedicated customer accounts. The company achieved this by implementing a one-account-per-tenant model, extensive automation with AWS Organizations, Step Functions, and CloudFormation StackSets, and aggressive scale-to-zero policies, which kept idle costs below one US dollar per month per account. ProGlove addressed initial operational friction beyond 50 accounts and "self-inflicted DDoS" from rigid cron-style schedules by adopting jittered execution windows and event-driven triggers. Observability costs were managed by consolidating high-priority failures into a central dead-letter queue and removing unused Amazon SQS queues. While automation introduced compromises like slower StackSet rollouts, these were deemed acceptable for improved isolation, cost visibility, and operational consistency.

Key takeaway

For DevOps Engineers scaling multi-tenant serverless platforms, prioritize tenant isolation with dedicated AWS accounts from the outset. You should aggressively automate infrastructure provisioning using tools like CloudFormation StackSets and implement scale-to-zero policies to control costs. Proactively manage observability spend and replace rigid cron schedules with jittered, event-driven triggers to prevent self-inflicted DDoS and maintain operational consistency as you grow.

Key insights

ProGlove scaled to one million Lambda functions by isolating tenants, automating infrastructure, and optimizing observability costs.

Principles

Method

ProGlove used AWS Organizations, Step Functions, and CloudFormation StackSets to create and update thousands of customer accounts from a single pipeline. They replaced rigid timers with jittered execution and event-driven triggers.

In practice

Topics

Best for: AI Architect, MLOps Engineer, Entrepreneur, DevOps Engineer, Software Engineer, IT Professional

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by InfoQ.