What Do I Do If the Initial Configurations of a Windows External Image File Are Not Completed Before the File Is Exported?
The ECS where the external image file is located is not configured as instructed in Windows image file requirements before the image file is exported. You are advised to follow the process in Figure 1 to configure the ECS.
The proper running of ECSs depends on the XEN Guest OS driver (PV driver) and KVM Guest OS driver (UVP VMTools). If the drivers are not installed, the performance of ECSs will be affected and some functions will be unavailable. Ensure that the two drivers have been installed for the image file before it is exported from the original platform. Otherwise, the ECSs created from the image will fail to start and cannot be configured.
- Install the PV driver. For details, see Installing the PV Driver.
- Install UVP VMTools. For details, see Installing UVP VMTools.
Step 1: Upload the Image File
Upload the external image file to the OBS bucket. For details, see Uploading an External Image File (Windows).
Step 2 Register the External Image File as a Private Image
On the management console, select the uploaded image file and register it as an uninitialized private image. For details, see Registering an External Image File as a Private Image (Windows).
Step 3: Create an ECS
- Log in to the management console.
- Under Computing, click Image Management Service.
The IMS console is displayed.
- Click the Private Images tab to display the image list.
- Locate the row that contains the uninitialized private image and click Apply for Server in the Operation column.
- Set parameters as promoted to create the ECS. Pay attention to the following:
- You are advised to select Pay-per-use for Billing Mode because the ECS will be deleted when you finish with it.
- Bind an EIP to the ECS so that you can upload installation packages to the ECS or download installation packages from the ECS.
- You must add inbound rules for security groups of the ECS to ensure that the ECS can be accessed.
- If the image file has Cloudbase-Init installed and configured, set a password and log in to the ECS using the password as prompted. If Cloudbase-Init is not installed, use the password or certificate contained in the image file to log in the ECS.
For details, see Purchasing an ECS with Customized Configurations.
- Perform the following steps to check whether the private image is available:
- Check whether the ECS can be successfully started. If the start succeeds, the Guest OS drivers have been installed for the external image file on the original platform or the drivers have been automatically installed for the private image on the cloud platform. If the start failed, install the Guest OS drivers for the image file and register it as a private image again.
- Check whether you can log in to the ECS using your configured password or key. If yes, Cloudbase-Init has been installed. If no, use the password or key contained in the image file to log in to the ECS and install Cloudbase-Init as instructed in Installing and Configuring Cloudbase-Init.
- Check whether the NICs are set to DHCP by referring to 2 in Step 4: Configure the ECS.
- Use MSTSC to log in to the ECS. If the login is successful, remote desktop connection is enabled on the ECS. If the login fails, enable remote desktop connection by referring to 3 in Step 4: Configure the ECS.
If the ECS meets the preceding requirements, the private image is available. You can clear the environment as instructed in (Optional) Clear the Environment.
Step 4: Configure the ECS
Remotely log in to the ECS created in Step 3: Create an ECS to configure the network and install software.
- Log in to the ECS.
- Check whether the 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.
- Enable remote desktop connection for the ECS as needed. For details about how to enable this function, see Enabling Remote Desktop Connection.
- (Optional) Configure value-added functions.
- Install and configure Cloudbase-Init. For details, see Installing and Configuring Cloudbase-Init.
- Enable NIC multi-queue. For details, see How Do I Set NIC Multi-Queue for an Image?
- Configure an IPv6 address. For details, see How Do I Configure an ECS to Dynamically Acquire IPv6 Addresses?
Step 5: Create an Image from the ECS
Create a private image from the ECS. For details, see Creating a System Disk Image from a Windows ECS.
(Optional) Clear the Environment
In the preceding steps, storage fees are charged for the uninitialized image file, and extra fees are charged for the created ECS. Therefore, you are advised to clear the environment after the image is registered.
- Delete the uninitialized image registered in Step 2 Register the External Image File as a Private Image.
- Delete the ECS created in Step 3: Create an ECS.
- Delete the image files stored in the OBS bucket.

Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.