开发者

start an existing instance with specific instanceID through code in Amazon ec2

开发者 https://www.devze.com 2023-03-30 01:48 出处:网络
Is it possible to start an existing开发者_运维问答 instance with a specific instanceID, not the imageID?Yes, if you have an EBS backed instance that you previously stopped, you can start it again via

Is it possible to start an existing开发者_运维问答 instance with a specific instanceID, not the imageID?


Yes, if you have an EBS backed instance that you previously stopped, you can start it again via the API with the same instance ID that it had previously - see http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-StartInstances.html

If you want to specify an instance ID when you create a new EC2 instance, I'm pretty sure that is not possible.

0

精彩评论

暂无评论...
验证码 换一张
取 消