Environments

On this page


Environments are a way of separating your development/test data from your production data. Every Stackblaze project comes with 2 environments; Development and Production.

  1. Network segregation
  2. App deployments
  3. Databases
flowchart
    workspace1[Workspace]
    project1[Project]
    workspace1 --> project1
    project1 --> app1
    project1 --> db1
    project1 --> app2
    project1 --> db2
    subgraph prod [Production]
        class prod cssClass
        app2[Application]
        db2[Database]
    end
    subgraph dev [Development]
        app1[Application]
        db1[Database]
    end
    classDef highlight fill:#6de5df,color:#000;
    class prod,dev highlight;

Viewing Environments

You can see your environments by visiting the Project Overview page. Environments are shown as columns containing your applications and databases.

Stackblaze environments

Working with Environments

In the screenshot above, Development contains 2 resources; my-app and database – whereas Production only contains database.
If my-app were to be deployed to Production, it would have different environment variables, settings and public URL to its counterpart in Development.

The database resource exists in both environments, but the data and settings are entirely separate. Changes to one will not affect the other. It’s also possible to have resources deployed to just Production but not Development.

Deploying Between Environments

Visit the Deployments page to read more about moving resources between environments.

Networking

To read more about environments and networking, visit the Networking page.