Unlock the Power of AI

1 million free tokens

88% Price Reduction

Activate Now

Version management in practice

Updated at: 2025-03-25 08:47

This topic describes how to verify configuration in a testing environment after you create a new version and deploy the version to a production environment.

How version management works

Complete version management includes version cloning, environment creation, version promotion, and deployment.

image

Manage a version

Clone a version

Clone a new version from an existing version, and then make configuration modifications based on the new version.

Note

You can only clone a new version from an existing version. Direct creation is not supported.

  1. In the ESA console, choose Websites and click the website name you want to manage.

  2. In the left-side navigation pane, click Version Management. On the page that appears, click the Versions tab.

  3. In the version list, select a version that you want to clone, and click Clone in the Actions column. In the dialog that appears, click OK to clone the version.

Select a version and modify the configuration

The following example shows how to configure custom rules in WAF. In this example, version 1 is used.

Create a custom rule

  1. On the Custom Rules tab, on top of the WAF page, set Version Configuration to Version 1. Click Create Rule, on the page that appears, specify Rule Name.

  2. In the If the request matches... section, set the match field to Client IP, set the logical operator to equals and specify the IP address. In this example, the local IP address is used.

  3. In the Then execute... section, set Action to Block, and set Error Page to Default Error Page. The following figure shows the overall configuration:

    image

Create an environment

The following example shows how to create and configure an environment:

Create and configure an environment

  1. In the ESA console, choose Websites and click the website name you want to manage.

  2. In the left-side navigation pane, choose Version Management. On the page that appears, click the Environments tab, and then click Create Environment. Specify the environment parameters as required. For example, set traffic filter to Client IP, set the logical operator to equals and specify the IP address to be filtered. Refer to the Matching field for filter types and criteria, as shown in the following figure:

    image

Promote a version

The following example shows how to promote a version to a specified environment.

  1. In the ESA console, choose Websites and click the website name you want to manage.

  2. In the left-side navigation pane, click Version Management. On the page that appears, click the Environments tab.

  3. In the Environment list, select the environment to which you want to promote and deploy the version, then click Promote in the Actions column to promote the version to the specified environment. After the test is passed, promote the version to a production environment.

  • On this page (M)
  • How version management works
  • Manage a version
  • Clone a version
  • Select a version and modify the configuration
  • Create a custom rule
  • Create an environment
  • Create and configure an environment
  • Promote a version
Feedback
phone Contact Us

Chat now with Alibaba Cloud Customer Service to assist you in finding the right products and services to meet your needs.

alicare alicarealicarealicare