Interview Prep/AWS/Observability, Security Services and IaC

Nested stacks vs StackSets?

AdvancedConceptObservability, Security Services and IaC
Answer

Nested stacks (AWS::CloudFormation::Stack) compose one deployment from reusable templates in the same account and Region, with outputs passed via parameters, and are updated as a unit. StackSets deploy one template to many accounts and Regions, with service-managed permissions through Organizations and automatic deployment to new accounts in an OU.

Use nested stacks to modularize a big application, and StackSets for baselines like IAM roles, Config and logging.

aws All AWS questions

More on Observability, Security Services and IaC