Stack Organization Patterns
Atmos Design Patterns
These patterns show how to organize your stack files as your infrastructure grows from simple to complex.
Start Hereβ
New to Atmos? Start with the simplest pattern that meets your needs:
| Pattern | Best For |
|---|---|
| Basic Stack Organization | Single region, dev/staging/prod environments |
| Multi-Region Configuration | Deploying to multiple AWS regions |
| Organizational Hierarchy | Enterprise with multiple teams, accounts, regions |
Building Blocksβ
These patterns can be combined with the patterns above:
| Pattern | Purpose |
|---|---|
| Mixins | Reusable configuration fragments (region defaults, stage defaults) |
| Layered Stack Configuration | Group components by function (network, data, compute) |
| _defaults.yaml Convention | Naming convention for inheritance files |
Progression Pathβ
Most teams follow this progression as they grow:
Basic (dev/staging/prod)
β
Multi-Region (add regions)
β
Organizational Hierarchy (add teams/accounts)
Each pattern builds on the previous one. You don't need to start with the most complex patternβstart simple and evolve.
tip
Even if you know you'll need enterprise scale eventually, start with the Basic pattern to learn Atmos concepts, then migrate to more complex patterns as needed.
Related Patternsβ
- Component Catalog - Organize reusable component defaults
- Component Inheritance - Inherit configuration between components