使用Rubber创建EC2实例时如何设置root_device_type
我看到在创建实例之后,序列化的instance对象的instance-store为root_device_type。我想创建一个在EBS中运行的实例。
他们提供了文档和示例配置来创建EBS卷并将其挂载到实例上,但没有关于如何创建EBS实例的文档。
谢谢!
发布于 2014-03-26 19:26:05
呼!终于找到了如何更改配置的方法。在示例rubber.yml中找到了这一行。
# REQUIRED: the ami and instance type for creating instances
# The Ubuntu images at http://alestic.com/ work well
# Ubuntu 12.04 Precise instance-store 64-bit: ami-eafa5883
#
# m1.small or m1.large or m1.xlarge
image_type: c1.medium
image_id: ami-eafa5883转到alestic.com,获得了EBS Ubuntu 12.04的AMI,就是这样!:) (ami-51821b6b)
如果有更好的文档来说明这一点就好了。特别是对于像我这样从DO和其他主机来到EC2的人。
https://stackoverflow.com/questions/22658347
复制相似问题