StudyToCert

All certifications / Solutions Architect Associate / Lessons

AWS Certified Solutions Architect – Associate SAA-C03 · Domain 2: Design Resilient Architectures

Infrastructure as code and service quotas: CloudFormation, StackSets and planning for limits and throttling

▶ Watch the overview video

Last reviewed October 6, 2026 · Leer en español

Explain it simpler

Infrastructure as code means writing down your whole cloud setup, like servers, networks and databases, in a text file, the way a recipe lists every ingredient and step. AWS CloudFormation reads that recipe and builds everything the same way every time, so a copy in another region matches the original. StackSets let you cook the same recipe in many kitchens at once. Service quotas are limits AWS places on how much of something one account can use in one region, like a library card that lets you borrow only so many books. If your backup region's limit is too low, plan ahead and ask for more. Throttling is AWS saying 'slow down' when you ask too fast.

It is the first full DR drill at Orchard Lane Bank, and the runbook says the recovery Region should be serving customers in 30 minutes. At minute 12, Kenji's terminal fills with red: the Auto Scaling group cannot launch instances because the account has hit its vCPU quota in that Region. At minute 18, someone notices the recovery VPC was built by hand last year and its security groups no longer match production. At minute 25, a script hammering the EC2 API starts getting throttling errors. The infrastructure was supposed to be the easy part. What would have made this rebuild boring, repeatable and fast?

Resilience is not only about redundant hardware. If a Region fails and your recovery environment has to be built by hand from memory, recovery will be slow and error-prone, and the rebuilt environment will not quite match production. Infrastructure as code (IaC) describes your environment in text files that can be versioned, reviewed and deployed repeatedly, which makes rebuilds fast and consistent and makes drift from the approved design visible. The same idea applies to capacity: a design that works in testing can still fail in production if it hits a service quota or application programming interface (API) rate limit.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 8 more sections, 8 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study Solutions Architect Associate for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the Solutions Architect Associate study plan