我如何实例存储添加到现有的Windows EC2实例? [英] How do I add instance storage to an existing Windows EC2 instance?

查看:199
本文介绍了我如何实例存储添加到现有的Windows EC2实例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Windows 2008的EC2实例,而我也做了EBS启动驱动器上的一些定制。

I have a Windows 2008 EC2 instance to which I have done some customizing on the EBS boot drive.

我开始的实例作为的m1.small(或m1.large)和实例存储不会显示为一个额外的驱动器。

I started the instance as m1.small (or m1.large) and the instance storage does not appear as an additional drive.

我读过,在EC2上运行-instances命令的-b开关允许您创建映射为ephymeral实例存储。在EC2-运行实例命令创建一个新的实例,但是,在我的情况下,该实例已经存在,因此,我开始它作为EC2-启动实例,这不具有-b开关ephymeral实例存储。

I've read that the -b switch in the ec2-run-instances command allows you to create mappings for the ephymeral instance storage. The ec2-run-instances command creates a new instance, however, in my case, the instance already exists and therefore I start it as ec2-start-instances, which does not have a -b switch for ephymeral instance storage.

有没有什么方法可以让我得到了ephymeral实例存储,由一个的m1.small实例我现有的EBS引导的情况下?

Is there any way I can get to the ephymeral instance storage that comes with an m1.small instance for my existing EBS-booted instance?

更新:看来,今天(2月2015)Windows机器上安装ephymeral实例存储在Z:驱动器

UPDATE: It seems that nowadays (Feb 2015) Windows machines mount ephymeral instance storage in the Z: drive.

推荐答案

这恐怕功能不可用(还)为亚马逊EC2 ,但它实际上是一个很好的问题 - 用来指阐释推出时间要求的共同答案,如见<一href="http://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference/ApiReference-cmd-ModifyInstanceAttribute.html">ec2-modify-instance-attribute:

I'm afraid this functionality isn't available (yet) for Amazon EC2, but it's a very good question in fact - the common answer used to refer to the explicated launch time requirement, see e.g. ec2-modify-instance-attribute:

注意

如果你想临时存储添加到亚马逊EBS支持的情况下,   您必须在您启动时添加临时存储   实例。欲了解更多信息,请访问<一个href="http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html#Using_OverridingAMIBDM">Overriding在AMI的块    设备映射亚马逊弹性计算云用户指南,或   <一href="http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/InstanceStorage.html#using-instance-storage">Adding默认实例店在亚马逊弹性计算云   用户指南。 [重点煤矿]

If you want to add ephemeral storage to an Amazon EBS-backed instance, you must add the ephemeral storage at the time you launch the instance. For more information, go to Overriding the AMI's Block Device Mapping in the Amazon Elastic Compute Cloud User Guide, or to Adding A Default Instance Store in the Amazon Elastic Compute Cloud User Guide. [emphasis mine]

这还没有那么多,在过去的一个问题,但鉴于近期推出64位的普及意味着显著改善垂直缩放多功能性(见<一href="http://aws.typepad.com/aws/2012/03/ec2-updates-new-instance-64-bit-bit-ubiquity-ssh-client.html">EC2更新:新媒体实例,64位无处不在,SSH客户端),这是突然的话题的确是 - 你的问题会产生更多的问题依次是:

That hasn't been that much of an issue in the past, but given the recent introduction of 64-bit ubiquity implies a significant improvement of vertical scaling versatility (see EC2 Updates: New Medium Instance, 64-bit Ubiquity, SSH Client), this is suddenly a topic indeed - your question yields even more questions in turn:

  • 为相反的情况,即会发生什么,当我开始一个足够大的情况下,有很多临时存储和规模下来(和可能再次)后?
  • 在情况下,最初的块设备映射以某种方式保留下来,我们应该总是因此大量的实例开始? (其实我怀疑是这种情况,虽然。)

这问题只能由AWS团队我想解决的,所以你可能要提交一份支持请求或继电器的问题向的亚马逊的弹性计算云论坛最少。

This question can only be addressed by the AWS team I guess, so you may want to file a support request or relay the question to the Amazon Elastic Compute Cloud forum at least.

这篇关于我如何实例存储添加到现有的Windows EC2实例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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