This topic provides answers to commonly asked questions about ECS instances, including region and zone changes, unexpected restarts, startup failures, and automatic refunds.
Can I change the region or availability zone of an ECS instance?
You cannot directly change the region of an existing ECS instance. To migrate an instance to a different region, perform the following steps:
-
Create a custom image from the current instance. For more information, see Create a custom image from an instance.
-
Copy the custom image to the destination region. For more information, see Copy a custom image.
-
Use the copied image to create a new ECS instance in the destination region.
-
After you verify that the new instance runs as expected, release the original instance.
To change the availability zone of an ECS instance, you can use the cross-zone instance type change feature. For more information, see Change an instance type across availability zones.
If you need to migrate data between instances, you can use custom images, Server Migration Center (SMC), or file transfer tools such as FTP. For more information, see What is SMC?
Why did my ECS instance restart unexpectedly?
An ECS instance may restart unexpectedly due to the following reasons:
-
Planned system maintenance: Alibaba Cloud may perform system maintenance to ensure security and performance. In this case, you receive a notification in the ECS console. Check the system events for details about the maintenance schedule.
-
System failure: Hardware or operating system failures may cause the instance to restart for self-protection. The system generates an
InstanceFailure.Rebootevent that you can view in the ECS console. -
Software errors: Application crashes or errors within the instance may cause system instability and trigger a restart. Check application logs to identify and resolve the issue.
To configure how your instance responds to maintenance events, see Modify instance maintenance attributes.
What do I do if my ECS instance fails to start or restart?
If your ECS instance cannot be started or restarted, use the instance troubleshooting feature in the ECS console to diagnose the issue:
-
Log on to the ECS console.
-
In the left-side navigation pane, choose Maintenance & Monitoring > Troubleshooting.
-
Select the region of the instance, specify the instance ID, and then select an appropriate diagnostic item.
-
View the diagnostic report and follow the suggested solutions.
Common causes of startup failures include insufficient resources, billing issues, or system disk errors. If the troubleshooting feature does not resolve the issue, check system events for more information.
Why was my ECS instance purchase automatically refunded?
An automatic refund after an ECS instance purchase typically indicates that the system was unable to create the instance. Common causes include:
-
Insufficient resource quota: The number of instances or vCPUs in the selected region has reached the quota limit. You can view and request quota increases in the ECS console under Privileges & Quotas.
-
Instance type unavailable: The selected instance type may be out of stock in the specified region or availability zone. Try a different instance type or availability zone.
-
Configuration conflicts: Incompatible configurations, such as mismatched instance types and disk categories, may cause creation failures.
To resolve this issue, try modifying the instance specification, changing the region or availability zone, or checking your resource quotas. For more information about instance creation failure events, see System events related to instance creation failures.