Skip to main content

Projects & Environments

Projects​

A project is the blueprint of an architecture: the components on its canvas and the links between them. A project is the parity boundary for deploying that architecture to several environments.

Every environment in a project has the same components and links. Param values, bundle versions, and credentials can differ per environment. This supports:

  • Staging or preview environments with architectural parity to production, at lower cost
  • Isolated environments per tenant
  • Replicating infrastructure and applications across regions

Environments​

An environment is where a project's components are deployed. Each component becomes an instance in each environment. Environments were previously called targets, and some API fields and md_metadata keys keep that name.

Massdriver does not prescribe how you divide environments. Common schemes:

  • Stage: production, staging, development
  • Region: prod-usw, prod-eu
  • Developer: alice-dev, bob-dev (ephemeral)

Environment defaults​

An environment default supplies a resource, such as a cloud credential or a shared network, to every instance in the environment that depends on its resource type. Set them from the canvas header with Set environment defaults, or with mass environment default. An environment has at most one default per resource type. See Share Resources with Environments.

Environment comparison​

Open an environment and click Compare to pick two environments in the same project. The diff covers every component and its params. Filter to one component, toggle Hide identical, or search by component or path.

mass environment compare produces the same diff from the CLI.