Updated on 2024-04-17 GMT+08:00

Configuring the ECS and Creating a Windows System Disk Image

Scenarios

After installing an OS for the temporary ECS, configure the ECS and install the Guest OS drivers provided by the cloud platform to ensure that ECSs created subsequently are available.

The Guest OS drivers include the UVP VMTools and PV driver. The UVP VMTools has been installed on the ECS in the preceding section, so this section only describes how to install the PV driver.

This section describes how to configure a Windows ECS, install the Guest OS drivers, and create a Windows system disk image.

Procedure

  1. Configure the ECS.

    1. Check whether NICs are set to DHCP. If the ECS is configured with a static IP address, change its IP address assignment mode to DHCP as instructed in Setting the NIC to DHCP.
    2. Enable remote desktop connection for the ECS as needed. For details about how to enable this function, see Enabling Remote Desktop Connection.
    3. Install the PV driver. For details, see Installing the PV Driver.

      After the driver is installed, you need to clear system logs. For details, see Clearing System Logs.

    4. Install and configure Cloudbase-Init. User data injection on the management console is available for the new ECSs created from the image only after this tool is installed. For example, you can use data injection to set the login password for a new ECS. For details, see Installing and Configuring Cloudbase-Init.
    5. (Optional) Configure value-added functions.

  2. Stop the ECS to make the configurations take effect.
  3. Use the ECS to create a Windows system disk image.

    For details, see Creating a System Disk Image from a Windows ECS.

Follow-up Procedure

After the system disk image is created, delete the temporary ECS in a timely manner to prevent it from occupying compute resources.