我在python / boto中使用以下代码创建AMI
dev_sda1 = BlockDeviceType()
dev_sda1.size = 30 # change root volume to 30GB instead of default
bdm = BlockDeviceMapping()
bdm['/dev/sda1'] = dev_sda1
ami_id = ec2_connection.create_image(instance.id, name="NewAmi, description="NewAMI",
block_device_mapping=bdm)
此代码使用ebs根设备类型创建AMI
是否可以创建实例存储支持的AMI?