我怎样才能升级我的32位的Amazon EC2 EBS支持的实例为64位呢? [英] How can I upgrade my 32 bit Amazon EC2 EBS backed instance into 64 bit one?

查看:124
本文介绍了我怎样才能升级我的32位的Amazon EC2 EBS支持的实例为64位呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我主持一个Wave在Ubuntu上EC2实例的盒服务器。我开始用一个32位微处理器之一,然后逐步升级为一个小而现在的媒介。但是,随着用户数量和存储的数据的增长 - 机器内存用完,所以我想升级到一个大的实例。现在的问题是 - 这是不可能做到仅仅通过停止实例,改变类型和重新启动。我想我会需要创建一个64位的大型实例,从媒体的实例附加到它的体积。 这些问题是: 1.是否有可能?如果是这样的 - 有人可以请帮我写剧本的基础做一个EC2控制台命令? 2.是否有一些其他的,更简单的方法来升级32位中的实例,以一个64位的大单? 谢谢!

解决方案

不幸的是,像其他操作系统的,我不认为有一种方法可以升级 32位64位。你几乎肯定需要做重新安装。

这是我会怎么做:

  1. 备份您的重要(的一切,是必需的)的数据。
    1. 创建EBS卷。
    2. 附加到EC2机。
    3. 在倾倒在我所有有价值/重要数据。
    4. 从EC2的机器上拆下。
  2. 吹当前的EC2机。
    1. 我会创建一个快照根装置,在情况下,如果它在将来有用。
  3. 在启动的EBS支持64位的Ubuntu实例。
    1. 附加上述EBS卷到本机。
    2. 复制数据到它的地方。
    3. 确保一切运转正常。
    4. 从台新机器上拆下
    5. 杀死EBS卷。

I am hosting a Wave in a Box server on Ubuntu EC2 instance. I started with a 32 bit micro one and then gradually upgraded to a small and now to a medium. However, as the number of users and stored data grows - the machine runs out of memory, so I want to upgrade to a large instance. The problem is - it's not possible to do by merely stopping the instance, changing the type and restarting. I guess I would need to create a 64 bit large instance and attach to it the volume from the medium instance. The questions are: 1. Is it possible? If so - can someone please help me to write a EC2 console commands based script to do it? 2. Is there some other, easier way to upgrade 32 bit medium instance to a 64 bit large one? Thanks!

解决方案

Unfortunately, like other OS's, I don't think there is a way to upgrade 32 bit to 64 bit. You'll almost certainly need to do a reinstall.

This is how I would do it:

  1. Backup your important (everything that is required) data.

    1. Create an EBS volume.
    2. Attach it to EC2 machine.
    3. Dump all my valuable/important data on it.
    4. Detach it from the EC2 machine.

  2. Blow the current EC2 machine.

    1. I would create a snapshot of the root-device, in-case if it's useful in future.

  3. Launch an EBS backed 64-bit Ubuntu instance.

    1. Attach the above EBS volume to this machine.
    2. Copy your data to it's place.
    3. Make sure things are working.
    4. Detach it from the new machine
    5. Kill the EBS volume.

这篇关于我怎样才能升级我的32位的Amazon EC2 EBS支持的实例为64位呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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