让AMI从EC2实例W2008 - 为什么从来没有得到一个密码? [英] Make AMI from EC2 W2008 instance - why never get a password?

查看:278
本文介绍了让AMI从EC2实例W2008 - 为什么从来没有得到一个密码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想克隆一个EC2 的Windows 2008 通过枭雄控制台实例。

I'm trying to clone a EC2 Windows 2008 instance via the Managment Console.

实例是根据的Windows Server2008的-I386-BASE-V104(AMI-92ba43fb),但有一些安装在其上的应用程序,我想preserve为新的实例。

The instance is based upon "Windows-Server2008-i386-Base-v104 (ami-92ba43fb)" but has a number of applications installed on it that I would like to preserve for new instances.

我现在已经创建了两个不同的AMI的,并在这两个场合,当我启动使用所产生的AMI我无法检索通过EC2管理控制台的连接选项(我不断收到密码生成密码实例和加密有时需要花超过30分钟的消息,即使之后推出超过30分钟)。

I've now created two different AMI's and on both occasions when I launch instances using the resulting AMI I'm unable to retrieve the password via the 'Connect' option of the EC2 Management Console (I keep getting the "Password generation and encryption can sometimes take more than 30 minutes" message even more than 30 minutes after the launch).

在使用的创建映像(EBS / AMI)的从内部EC2管理控制台什么状态应该实例你想在立足AMI的?它是确定的,如果在实例运行?我有<一个href="http://stackoverflow.com/questions/1482006/how-to-create-an-amazon-ec2-ami-from-an-instance/1638983#1638983">read 的其他地方,你应该停止所有服务。该评论是指一个* nix的环境 - 一个基因的克隆Windows实例时,应做什么

When using "Create Image (EBS/AMI)" from within the EC2 Management Console what state should the instance you're trying to base the AMI upon ? Is it OK if the instance is running ? I've read elsewhere that you should "stop all services". That comment refers to a *nix environment - what should be done when clonging a Windows Instance ?

还有什么关于这个过程可能会导致急性心肌梗死,这将启动,但阻止我暂时无法找回密码?

Is there anything else about this process that might result in an AMI that would launch but stop me being unable to retrieve the password ?

我读过(评论写eSniff)的情况下,从克隆的急性心肌梗死的份额相同的密码启动密码作为始发实例。这听起来合乎逻辑,但我想这种做法,据我可以看到,是不正确的。我有兴趣的人谁认为这是听。

I've read (comment written by eSniff) that the passwords of instances launched from cloned AMI's share the same password as the originating instance. This sounds logical but I tried this approach and as far as I can see that isn't true. I'd be interested to hear from people who think it is.

推荐答案

您需要使用Ec2ConfigService设置工具,以在下次启动时能够生成一个新的密码(这将是在AMI被实例化。)

You need to use the Ec2ConfigService Settings tool to enable generation of a new password on the next reboot (which would be when the AMI gets instantiated.)

你必须在你的开始菜单中。检查说,在下次开机设置一个随机密码,然后捆绑起来的图像框。

You'll have this tool in your Start menu. Check the box that says 'Set a random password on next boot' and then bundle up the image.

有些老版本的工具没有这个功能,如果我没有记错,你可以得到Ec2Config服务的最新版本 HTTP://s3.amazonaws。 COM / EC2-Windows的下载/ EC2Install.zip (根据 HTTP://aws.amazon .COM /用品/ 1767

Some older versions of the tool did not have this feature, if I remember correctly; you can get the latest version of the Ec2Config service from http://s3.amazonaws.com/ec2-windows-downloads/EC2Install.zip (according to http://aws.amazon.com/articles/1767)

这篇关于让AMI从EC2实例W2008 - 为什么从来没有得到一个密码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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