Managing environments with Prefect 2.0 (dev, staging, prod)

A single Prefect 2.0 installation can communicate with multiple Orion APIs, which can help you switch between development, staging, and production environments.

To switch between those, you can use:

prefect profile use dev # or prod or any other profile

As long as each profile points to a different PREFECT_API_URL, you can easily switch between multiple instances.

Cloud 2.0

Here is how this works in Cloud 2.0 when using multiple workspaces:

Still TODO

add CI workflows for various workspaces
- dev workspace & dev GitHub branch
- prod workspace & main or prod GitHub branch
- show how to switch between envs/workspaces using profiles