What are Scalr environments ?

Environments are the logical grouping of workspaces, teams, policies, and other objects that relate to each other. The majority of the time, we see an environment being the equivalent of an app or team. Generally, there are a few questions that should be answered when thinking of your structure:

  • Will I need different policies applied to any of my workspaces within the environment?
  • Will the same provider credentials be used across all workspaces?
  • Will all users/teams within the environment collaborate on these workspaces?
  • Will all workspaces use the VCS provider(s) assigned to this environment?

If you answered yes to any of those questions, you may consider breaking out components into separate environments.