Manage environments

Last updated Apr 23, 2026 An environment is a place to test different versions of your zone configurations.


Create environment

Once you enable Version Management, Cloudflare will automatically create:

  • Version Zero, think about this as the configuration of your current zone. Once default environments are created, Version Zero is automatically deployed to them, guaranteeing no disruption in your live traffic. This Version is also permanently editable. In case you decide to disable Zone Versioning, Version Zero will become your zone again.
  • Global Configuration, you can find all the configurations here that are not supported by Version Management.

Important

Any changes made to the Global Configuration will immediately apply to your zone and all versions of your zone, affecting live traffic.

On the Environments page, you can create default environments for Production, Staging, and Development.

Based on your organization's needs, you may need to create additional environments to test and roll out changes.

To create a new environment:

  1. In the Cloudflare dashboard, go to the Account home page and select your account and zone. Go to Account home ↗
  2. Go to Version Management.
  3. Go to Environments.
  4. Select Create Environment.
  5. Provide the following information:

  6. Environment Name: A unique, descriptive name for the environment.

  7. Traffic filter: Limits which requests are sent to this environment.
  8. Initial position: Controls where this environment should be in your testing process.

  9. Select Create.

Note

You can only adjust the Read-only Environment configuration after an environment has been created.


Edit environment

To edit an environment:

  1. In the Cloudflare dashboard, go to the Account home page and select your account and zone. Go to Account home ↗
  2. Go to Version Management.
  3. Select Environments.
  4. On a specific environment, select Edit.
  5. Make any required changes.
  6. Select Save.

Change environment version

To prevent accidental changes, you can only update an environment's version through the process of Promotion or Roll back.

For more details on the flow of versions and environments, refer to How it works.

Promote a version

Promotion moves a version from a lower-ranked environment to the next highest one.

To promote a version:

  1. Log in to the Cloudflare dashboard. Go to Account home ↗
  2. Select your account and zone.
  3. Go to Version Management.
  4. Select Environments.
  5. On the environment in which you tested the version, select Promote. This option will only be available if the lower-ranked environment has a different version than the higher-ranked environment.

Promoting a version to a read-only environment will make the version permanently read-only.

Roll back a version

When you roll back a version, you revert the environment to the previous version assigned to it.

To roll back a version:

  1. In the Cloudflare dashboard, go to the Account home page and select your account and zone. Go to Account home ↗
  2. Go to Version Management.
  3. Select Environments.
  4. On a specific environment, select Roll back.

Delete environment

To delete an environment:

  1. In the Cloudflare dashboard, go to the Account home page and select your account and zone. Go to Account home ↗
  2. Go to Version Management.
  3. Select Environments.
  4. On a specific environment, select Edit.
  5. Select Delete Environment.

Note

You cannot delete your Production environment.

Was this helpful?

YesNo

On this page

Manage environments - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/version-management/how-to/environments/#page","headline":"Manage environments","description":"Create and configure Version Management environments.","url":"https://developers.cloudflare.com/version-management/how-to/environments/","inLanguage":"en","image":"https://developers.cloudflare.com/version-management/how-to/environments/og.png?v=5563e87468cedb29","dateModified":"2026-04-23","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Create, edit, and deploy configuration versions. title: Manage versions image: https://developers.cloudflare.com/version-management/how-to/versions/og.png?v=17d9d7c9d8aad1ec


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/version-management/llms.txt
Use this file to discover all available pages before exploring further.