01 Sign in to your Alibaba Cloud account.
02 Navigate to Elastic Compute Service (ECS) console available at https://ecs.console.aliyun.com/home.
03 In the left navigation panel, under Instances & Images, choose Instances.
04 Select the cloud region where your VM instances reside from the top navigation bar.
05 Not all cloud regions and instance configurations support the migration of ECS instances from classic networks to VPCs. Therefore, to enable VPC support, you have to re-create the instance with the necessary network configuration. Click on the ID (link) of the virtual machine (VM) instance that you want to redeploy in order to enable VPC support.
06 Choose All Operations and select Create Custom Image under Disks and Images.
07 Provide a unique name for the custom image in the Image Name box, ensure that the correct Resource Group is selected, and choose OK to create your custom image.
08 In the left navigation panel, under Instances & Images, choose Images.
09 Once the image is available, choose Create Instance and follow the setup wizard to create a new VM instance from the selected image:
- For Billing Method choose the appropriate billing method.
- For Region select the same cloud region as the source instance.
- For Network and Zone, choose an existing Virtual Private Cloud (VPC) from the first dropdown list and select the necessary availability zone from the second dropdown list. To create a new VPC, choose Create VPC, provide the required details, configure the vSwitch component, and choose OK to create the VPC resource. A vSwitch is a basic network component of a Virtual Private Cloud (VPC), that acts like a virtual subnet.
- For Instances & Images, select the same instance type as the source VM instance and ensure that your image is selected in the Image section.
- For Storage, ensure that both system and data disks are encrypted. (Optional) If required, configure automatic snapshot policies for instance disks and set the NAS file systems.
- For Bandwidths & Security Groups, choose whether to assign a public IPv4 address, choose whether to use an existing security group or to create a new one, and configure the Elastic Network Interface (ENI) settings (optional).
- For Management, set the necessary logon credentials and apply tags (key-value pairs) for better resource management.
- Choose Advanced Settings (Optional), provide a unique name for your new instance in the Instance Name box, then configure any required advanced settings such as Resource Group, Instance RAM Role, and Release Protection.
- On the summary panel, review the instance configuration settings, select the ECS Terms of Service checkbox, and choose Create Order to deploy your new virtual machine (VM) instance to the selected VPC network.
- In the confirmation box, choose Console to return to the ECS console.
10 Repeat steps no. 5 - 9 for each ECS instance that you want to redeploy, available in the selected cloud region.
11 Change the cloud region from the top navigation bar and perform the Remediation process for other regions.