In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you how to change the system disk or operating system of an ECS instance. I hope you will gain a lot after reading this article. Let's discuss it together.
ReplaceSystemDisk
Description
When calling this interface, you need to be aware of:
You cannot change the disk type of the system disk.
Changing the system disk cannot change the disk type and payment method, but it will change the disk ID of the system disk, and the original disk will be released.
The state of the instance must be stopped (Stopped). If your private network VPC instance enables the no charge feature for instance downtime in VPC, in order to prevent the instance cannot be restarted after replacing the system disk due to insufficient ECS instance resources in the region, you need to disable the no charge feature when stopping the instance. See StopInstance for more details.
The OperationLocks of a security-controlled ECS instance cannot be marked "LockReason": "security".
The instance cannot be in arrears.
You can re-specify the capacity size of the system disk through the parameter SystemDisk.Size. The value of SystemDisk.Size must be greater than or equal to max {20, the current system disk capacity}. An extra charge will be charged for the portion of disk capacity that exceeds max {20, the capacity of the system disk before replacement.
Request parameter
Return parameters
Example
Request example
Https://ecs.aliyuncs.com/?Action=ReplaceSystemDisk&InstanceId=i-23jggx34b&ImageId=m-myimage11&
Return the example
XML format
D-23jbf2v5m F3CD6886-D8D0-4FEE-B93E-1B73239673DE
JSON format
{"RequestId": "337568C5-64F3-4B76-8CDD-D3D8C57B5B8C", "DiskId": "d-j6cam2z21u4ks3dj6flb"}
Error code
The following are the error codes specific to this API. For more error codes, please visit the API error Center.
After reading this article, I believe you have a certain understanding of how to change the system disk or operating system of an ECS instance. If you want to know more about it, welcome to follow the industry information channel. Thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.