Skip to main content

Environments And Workspace Structure

Environments separate workloads by lifecycle, risk, and ownership.

Moltern environment groups

Moltern uses two levels:

LevelMeaning
Environment groupA container for related environments, such as a product, team, or internal tool group.
EnvironmentA deployment target such as production, staging, development, or preview.

When To Create A New Environment Group

Create a new environment group when workloads should be managed separately from another product or team.

Examples:

  • Customer Portal
  • Internal Tools
  • AI Lab
  • Marketing Sites
  • Data Platform

When To Create A New Environment

Create a new environment when the same project needs more than one lifecycle stage.

Common environments:

  • production
  • staging
  • development
  • preview
  • sandbox

Naming Guidance

Use short, obvious names:

  • Good: production, staging, ai-lab, internal-tools.
  • Avoid: names that only one person understands, names with dates, or names that mix multiple purposes.

Production Separation

Moltern dashboard summary by workspace

Production should be separate from testing or preview work.

Use separate environments so that:

  • Production variables are not reused in development.
  • Temporary experiments do not crowd the production dashboard.
  • Failed test deployments do not obscure production incidents.
  • Billing usage can be understood by purpose.

Environment Checklist

Before deploying into a new environment, define:

  • Owner.
  • Purpose.
  • Whether public routes are allowed.
  • Which secrets belong there.
  • Which services are shared.
  • Whether the environment is temporary or long-lived.
  • Expected cleanup date for preview or sandbox environments.

Empty Environment Rules

Moltern may require an environment to be empty before deletion. If deletion fails:

  1. Open applications and services filtered to that environment.
  2. Delete or move workloads that still belong to it.
  3. Confirm no dependency service remains.
  4. Retry environment deletion.