创建一个EC2 AMI与EBS支持的实例 - 这可能 [英] Creating an ec2 AMI with an ebs backed instance - is it possible

查看:246
本文介绍了创建一个EC2 AMI与EBS支持的实例 - 这可能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

http://aws.amazon.com/的说明?文章/ 1663 _encoding = UTF8&放大器; jiveRedirect = 1 我创建了一个EBS卷上运行MySQL的星展实例

Following the instructions at http://aws.amazon.com/articles/1663?_encoding=UTF8&jiveRedirect=1 I created an instance with mysql's dbs running on an EBS volume.

我一直对实例的文件系统(而不是EBS卷)安装其他软件,并希望能够将它保​​存整个为急性心肌梗死。

I've been installing other software on the instance's filesystem (not the EBS volume) and would like to be able to save the whole it as an AMI.

在Elasticfox,无论是急性心肌梗死的命令是灰色的。

In Elasticfox, both AMI commands were greyed out.

是没可能做到这一点?

推荐答案

我不是那么熟悉ElasticFOX,但一般不能创建明确的实例存储中创建一个EC2实例的AMI。你需要一系列的EC2-AMI-工具来创建一个。我已经写了我用来创建一个AMI的脚本。随意使用。

I am not so familiar with ElasticFOX, but in general you cannot create an AMI of an EC2 instance created from instance-store explicitly. You need a series of ec2-ami-tools to create one. I have wrote a script which I used to create an AMI. Feel free to use.

复制下面的脚本:

https://github.com/rakesh-桑卡尔/工具/ BLOB /主/ AmazonAWS / AMI / CreateAMI.sh

- 确保你更新之前,使用以下

-make sure, you update the following before use

  1. Imagename SHORTNAME
  2. 路径priavetKey
  3. 路径certificateKey
  4. S3的用户ID(在一般情况下,这是yourAWS帐户ID)
  5. 桶名称
  6. 路径的JavaHome

给予许可文件。

搭配chmod + X createAMI.sh   ./createAMI.sh

chmod +x createAMI.sh ./createAMI.sh

它应该创建AMI图像您的帐户下和你所指定的名称进行注册。

It should create an AMI image under your account and register it with the name you have given.

这篇关于创建一个EC2 AMI与EBS支持的实例 - 这可能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆