Summary
In this chapter, we’ve learned about StackSets, their use cases, how to deploy them, and how to work with failures.
StackSets are a promising feature, although they introduce some complexity, and it is not easy to integrate them with Continuous Delivery (CD) systems. Nevertheless, they come in handy when you want to provision the same stacks across multiple regions or even accounts.
Consider using StackSets when you are tasked to deploy the same environment and resources to your customers—for example, if you provide a Business-to-Business (B2B) SaaS platform or want to automate deployment for development, test, staging, and production environments. StackSets are also useful for replicating your applications across multiple regions if you need to have a Point of Presence (PoP) in various countries and continents.
In the next chapter, we will use cfn-init
, CloudFormation’s helper script, to install software on EC2 resources. Stay tuned!