root_device_type
创建 EC2 实例时如何使用Rubber
?
我看到创建实例后,序列化的实例对象具有root_device_type
as instance-store
。我想创建一个在EBS
.
他们提供文档和示例配置来创建 EBS 卷并将其挂载到实例上,但没有关于如何创建 EBS 实例的文档。
谢谢!
root_device_type
创建 EC2 实例时如何使用Rubber
?
我看到创建实例后,序列化的实例对象具有root_device_type
as instance-store
。我想创建一个在EBS
.
他们提供文档和示例配置来创建 EBS 卷并将其挂载到实例上,但没有关于如何创建 EBS 实例的文档。
谢谢!
呸!终于找到了如何更改配置。找到这一行的样本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 id,就是这样!:) ( ami-51821b6b
)
如果有更好的文档就好了。特别是对于像我这样从 DO 和其他主机到 EC2 的人。