开发者

creating EBS volumn from and attaching to the same instance?

开发者 https://www.devze.com 2022-12-24 12:36 出处:网络
Is it possible to create a EBS volume from and attach it to the same instance? will boto be of some hel开发者_JAVA技巧p?Yes, you will need to install the ec2-api tools http://developer.amazonwebservic

Is it possible to create a EBS volume from and attach it to the same instance? will boto be of some hel开发者_JAVA技巧p?


Yes, you will need to install the ec2-api tools http://developer.amazonwebservices.com/connect/kbcategory.jspa?categoryID=88

then use ec2-create-volume and ec2-attach-volume commands: http://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference/

I haven't used boto for this and don't know if it can, but I have found boto to always make things easier if it can be used.


You can even do this from the EC2 console: - create a snapshot of your volume - create a new volume of that snapshot - attach the new volume to your instance all actions are supported by the console

0

精彩评论

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