Alibaba Cloud Content Delivery Network (CDN) allows you to use configuration groups to configure one or more domain names at a time. This topic describes how configuration groups work and how to use them.

Features

A configuration group consists of configurations and domain names.

You can modify the configurations in a configuration group, such as the back-to-origin configuration, cache configuration, authentication configuration, and performance optimization configuration, and then associate the configuration group with one or more domain names. The configurations in the configuration group will be applied to the associated domain names. Any modifications made to the configurations in a configuration group will be updated to the associated domain names. This allows you to manage domain names associated with the same configuration group.

Use configuration groups

To apply configurations to domain names, you must first add domain names to Alibaba Cloud CDN and create a configuration group, and then associate the configuration group with the domain names. The following figure shows an example.Diagram
Note Before you use configuration groups, make sure that you have added your domain names to Alibaba Cloud CDN. For more information, see Add a domain name to Alibaba Cloud CDN.
  1. Log on to the Alibaba Cloud CDN console.
  2. In the left-side navigation pane, click Config Groups.Configuration groups
  3. On the Config Groups page, click Create Config Group.
  4. Enter the configuration group information, and then click OK.
    Notice Make sure that the workload type of the configuration group is the same as that of the domain names to be associated with it. Only configuration groups and domain names that have the same workload type can be associated.
    Create a configuration group
  5. On the Config Groups page, select the configuration group that you have created, and click View.
    Note On the Configure Domain Names tab, you can view and modify the configurations.
    Configurations list
  6. Click the Associate Domain Names tab. On the Associate Domain Names tab, click Associate Domain Names.Associate with domain names
  7. Select the domain names that you want to associate with the configuration group, and then click OK.
    Notice
    • The configurations on the Configure Domain Names tab will be applied to all the associated domain names. Make sure that the selected domain names can be applied with the same configurations.
    • Some domain names may already have certain configurations. Make sure that the configurations of the domain names are the same as those in the configuration group. Otherwise, the system may keep prompting error messages that require you to modify the configurations until the domain names and configuration group use the same configurations.
    Configuration groups
  8. After you associate the domain names with the configuration group, you can find the domain names on the Associate Domain Names tab.Configuration groups
  9. Activate the configuration group.
    • Activate the configuration group in the staging environment.
      After you associate the domain names with the configuration group, you can activate the configuration group in the staging environment and then test the configurations.Configuration groups
      Modify the host on your client. You must point the test domain name to the IP address of the CDN node in the staging environment before you can run a test.Configuration groups
    • Activate the configuration group in the production environment.
      After the configuration group in the staging environment passes the test, you can activate it in the production environment.Configuration groups
    After you activate the configuration group in the production environment, the configurations are applied to the CDN nodes deployed across the world.Configuration groups

Manage configuration group versions

Configuration groups support versioning. The default version number for a newly created configuration group is Version1. After Version1 is activated in the production environment, if you want to modify the configurations in the group or associate the group with other domain names, you can generate a new version Version2 by cloning Version1. Then, you can make changes to Version2.Version management
After Version2 is activated in the production environment, if you want to make changes to Version2, you can follow the same procedure to generate Version3. Versions generated upon configuration updates are listed on the Version History tab. You can check the configurations in a version or activate a version.Configuration groups
You can perform the following steps to generate a new version.
  1. On the Version History tab, select the version that you want to clone, and then click Clone Version.Configuration groups
  2. Modify the configurations in the new version and then activate it in the production environment to overwrite the current active version.Configuration groups