且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

EC2 - 创建AMI - 无法连接到新的实例

更新时间:2021-11-30 09:43:52

我不知道你想运行的分配,但如果要运行Debian的,有负责管理整个引导过程包括急性心肌梗死的脚本创建(EBS引导)。

I don't know which distribution you are trying to run, but if you want to run debian, there is a script which manages the entire bootstrapping process including ami creation (EBS boot).

您可以在我的github上的帐户发现: https://github.com/andsens/ec2debian-build-ami

You can find it on my github account: https://github.com/andsens/ec2debian-build-ami

剧本已经经过全面测试,并允许您包括其他脚本,以自定义您的AMI。如果要修改脚本本身,只是叉吧,至少你再有一个基地从,在那里你知道一切正常工作。

The script has been thoroughly tested and allows you to include other scripts in order to customize your ami. If you want to modify the script itself, just fork it, at least you then have a base to work from, where you know everything works.

我不建议你列出虽然这个过程中,它似乎很凌乱。

I would not recommend the process you outlined though, it seems quite 'messy'.