Layers, Domains and Environments
StackState Self-hosted v5.0.x
This page describes StackState version 5.0.
Layers
Layers are one of the ways to logically group components. Layers are represented as rows ordered from top to bottom in StackState Views. The order of layers can be configured in the Settings page under the Layers section by providing numeric values in the Order
column. Should two layers have the same numeric value, then the alphabetic order of the layer names determines which layer has the higher position.
![](https://docs.stackstate.com/~gitbook/image?url=https%3A%2F%2F2504486602-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F7R5SkC7htnAgui7G9EXA%252Fuploads%252Fgit-blob-09b70d82318e118da4ad773bc79d1f61c6f04930%252Flayers.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=fab8c816&sv=1)
Domains
Domains are another way of grouping components logically. They are shown as columns ordered from left to right in StackState Views. The order of Domains can be configured in the Settings page under the Domains section by providing numeric values in the Order
column. Should two domains have the same numeric value, then the alphabetic order of the domain names determines which domain has the position more to the left.
![](https://docs.stackstate.com/~gitbook/image?url=https%3A%2F%2F2504486602-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F7R5SkC7htnAgui7G9EXA%252Fuploads%252Fgit-blob-7f58de0370d860ccd803c955523cb42c6839a921%252Fdomains.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=143616a4&sv=1)
Environments
Environments are meant for grouping components using the DTAP model: Development, Testing, Acceptance, and Production. A component can belong to one or multiple environments. This can be useful when modeling, for example, a database that is used for both the development and testing environment. Environments share the same domains and layers. Typically you need a view of a single environment at a time; however, it is possible to get a view of multiple environments at the same time.
![](https://docs.stackstate.com/~gitbook/image?url=https%3A%2F%2F2504486602-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F7R5SkC7htnAgui7G9EXA%252Fuploads%252Fgit-blob-f6214d7dcf7546dae00b81a903ff30b3ded67c5e%252Fenvironments.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=2527c218&sv=1)
Environments can also be used within StackState to do modeling work without affecting the rest of the stack - just by creating components and placing them in the temporary environments. Another way of using environments is to create separate spaces for different customers.
Last updated