Scalr Organizational Hierarchy - Best Practices

Author
Peter Gale Mar 16, 2021 • 3 Min Read
Share:

The #1 question we get asked is “What are the best practices for using Scalr accounts, environments and workspaces?”.

This picture shows the logical organizational model in Scalr:

Scalr Org Model

Working from the bottom up the recommended use of each “scope” is as follows:

  • Workspace
    • A workspace is used to deploy and manage logical sub-divisions of your infrastructure, such as networking, database, K8 clusters, application instances etc.
    • Workspace state can be shared to enable the use of shared infrastructure.
    • This is where a Terraform run is performed and a state file (and its history) are stored.
    • Variables (Terraform and shell) are assigned values to be passed into a run including provider credentials, possibly set at higher scopes.
  • Environment
  • Account

Ready to get started?

Scalr is free for up to 5 users