AWS EC2: How to remount previous EBS volume using pivot_root?

折月煮酒 提交于 2019-12-06 04:31:53

The answer is to place the pivot_root call inside of /sbin/init on the initial (ephemeral) EBS root volume.

Here are some scripts that automate the process of launching a new Spot Instance and modifying the /sbin/init on the 1st (ephemeral) EBS volume to chain-load the system from a 2nd (persistent) EBS volume:

https://github.com/atramos/ec2-spotter

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!