amazon-web-services - 在 Spot 实例请求中附加现有 EBS 作为根设备

标签 amazon-web-services amazon-ec2 amazon-ebs

是否可以在 Spot 实例请求中包含一个现有的、未附加的、可用的 EBS 卷作为根设备?我想创建一个设置,当满足现货价格时系统启动并运行,在终止后现货价格回到范围内,我可以重新请求并在我停止的地方启动一个实例。

谢谢!

最佳答案

虽然 Overriding the AMI's Block Device Mapping因此,根设备是异常(exception),不幸的是:

Any instance you launch automatically includes any storage devices in the AMI's block device mapping. You can override that mapping by specifying a block device mapping with the changes that you want at launch time. In your overrides, you can modify the mapping for any of the storage devices except the root device volume. [emphasis mine]



这也反射(reflect)在 AWS Management Console 中的相应向导中。 ,它只允许调整根卷大小,而不是它所基于的快照,请参阅其中的图像
Changing the Root Device Volume to Persist .

关于amazon-web-services - 在 Spot 实例请求中附加现有 EBS 作为根设备,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13632421/

相关文章:

php - 我可以使用 PHP 直接上传到 Amazon S3 存储桶而不将其保存在本地系统中吗?

ruby-on-rails - Rails 4:Carrierwave/AWS - Excon::Errors::SocketError/getaddrinfo: nodename 或 servname 提供

linux - 在 Amazon EC2 Linux 2 上安装 docker-compose。9kb docker-compose 文件

python - django 2.0.7 NoReverseMatch 在/帖子

amazon-web-services - 拍摄 EBS 卷的快照会提高可靠性吗?

amazon-web-services - 如何从 EC2 快照创建 AWS Lightsail 实例?

amazon-ec2 - 在 Amazon Elastic Block Storage(EBS) 中创建目录结构并从 Java Servlet 保存文件?

amazon-web-services - 如何在 Cloudformation 中设置 EMR 步骤并发?

amazon-web-services - AWS如何让ASG始终使用最新的AMI?

amazon-web-services - 如何解决 AWS Cloudformation 中的循环依赖关系