This topic describes the events that are related to instance migration due to upgrades at the underlying layer. This topic also describes the recommended migration solutions.
Events
To ensure and improve the stability and performance of Elastic Compute Service (ECS) instances, Alibaba Cloud plans to upgrade and improve the physical infrastructure in specific existing regions and zones. To prevent impacts on existing instances in the regions and zones, Alibaba Cloud generates system events and notifies you by phone calls, text messages, emails, and internal messages. If you receive such notifications, migrate your instances as prompted.
The system events have an event code of SystemUpgrade.Migrate
. Perform the following steps to handle a SystemUpgrade.Migrate event:
Check the event notification to identify which instances need to be migrated.
Select a suitable time period to migrate your instances.
Migration solutions and considerations
If you encounter issues when you migrate ECS instances, refer to the FAQ topic in the relevant documentation or contact your account manager.
Instances that reside in virtual private clouds (VPCs) and in the classic network cannot communicate with each other over the internal network. To allow communication between the instances over the internal network, use the recommended migration solutions in the following table to migrate instances during a suitable time period.
Scenario | Recommended migration solution and consideration |
ECS instances reside in the classic network. | Use the following migration solutions to migrate ECS instances to VPCs:
|
ECS instances reside in VPCs. |
|
Other cloud resources, such as ApsaraDB RDS instances or ApsaraDB for Redis instances, reside in the classic network. | ECS instances that reside in VPCs cannot directly connect to RDS instances in the classic network over the internal network. You must change the network type of the RDS instances from the classic network to VPC and enable the hybrid access mode. This way, the ECS instances that reside in the classic network or VPCs can connect to the RDS instances over the internal network. For more information, see Best practices for migrating all instances from the classic network to a VPC and Hybrid access to ApsaraDB services. |
The ECS instances use images of earlier versions, such as Windows Server 2003 and earlier and CentOS 5.8 and earlier. | After you migrate ECS instances that use images of earlier versions, such as Windows Server 2003 and earlier and CentOS 5.8 and earlier, issues such as kernel panic failures, blue-screen errors, and INACCESSIBLE_BOOT_DEVICE errors may occur. For information about how to resolve the preceding issues, see How do I resolve downtime issues that occur on migrated instances? |
Query events related to instance migration due to upgrades at the underlying layer
Log on to the ECS console.
In the left-side navigation pane, choose .
In the top navigation bar, select the region and resource group to which the resource belongs.
In the left-side navigation pane, click Events.
View events related to instance migration due to upgrades at the underlying layer.
If a specific number of events need to be handled, the corresponding number is displayed on the Instance Migration Events Due to Upgrades at Underlying Layer tab, as shown in the following figure.
Select a solution to migrate instances based on your business requirements.
For information about how to select a migration solution, see the Migration solutions and considerations section of this topic.
What to do next
After the migration, you can retain the public IP addresses of the ECS instances. For more information, see Convert the system-assigned public IP address of an instance in the classic network into an EIP or Convert the static public IP address of an ECS instance in a VPC to an EIP.
After the migration, you can change the private IP addresses of the ECS instances in the VPCs. For more information, see Modify the private IP address of an instance.
FAQ
Does the migration cause the security groups that are associated with the migrated ECS instances to change?
No, the migration does not cause the security groups that are associated with the migrated ECS instances to change.
Does the migration cause the private and public IP addresses of the migrated ECS instances to change?
Public IP address: After you migrate an ECS instance, the public IP address of the instance remains unchanged.
ImportantECS instances that reside in VPCs do not have public network interfaces, and use NAT devices for Internet access. You can find only private IP addresses in the instances. If you require a public IP address that can be viewed in the instance operating system for your applications, determine whether to migrate your instance from the classic network to a VPC.
Private IP address: You can specify whether to retain the private IP address of an ECS instance when you create a migration plan to migrate the instance. You can also change the private IP address of an instance after you migrate the instance. For more information, see Modify the private IP address of an instance.
Does a migration plan automatically run after the migration plan is created? What is the amount of time required to migrate an ECS instance?
Approximately 15 minutes are required from the time when an ECS instance in the classic network is stopped until the time when the instance is migrated to and started in a specific VPC.
If an ECS instance is started in the VPC, the computing and network resources of the instance are migrated to the VPC, and you can use the instance as expected.
If the ECS instance is migrated across zones, the system continues to migrate disk data after the instance is started. In most cases, approximately 4 hours are required to migrate 100 GiB of disk data. During the migration of disk data, the I/O performance of disks degrades, and you cannot perform snapshot-related and disk-related operations. You can use the instance as expected when the disk data is being migrated.
Are the original system-level settings, such as external services and database services, affected by the migration?
No, the services and data in the system are not affected.
For information about the impacts of the migration, see the Step 1: Familiarize yourself with the impacts of the classic network-to-VPC migration section of the "Migrate ECS instances from the classic network to a VPC" topic.