TrademarkTrademark
Features
Documentation
All articles

Scalr Organizational Hierarchy - Best Practices

Best practices for using Scalr accounts, environments, and workspaces
Ryan FeeMay 31, 2021
Scalr Organizational Hierarchy - Best Practices

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:

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

About the author
Ryan Feedirector of platform engineering at Scalr
Ryan Fee is the director of platform engineering at Scalr, with over 15 years of experience improving infrastructure experiences at companies large and small.