我怎样才能升级我的32位的Amazon EC2 EBS支持的实例为64位呢? [英] How can I upgrade my 32 bit Amazon EC2 EBS backed instance into 64 bit one?
问题描述
我主持一个Wave在Ubuntu上EC2实例的盒服务器。我开始用一个32位微处理器之一,然后逐步升级为一个小而现在的媒介。但是,随着用户数量和存储的数据的增长 - 机器内存用完,所以我想升级到一个大的实例。现在的问题是 - 这是不可能做到仅仅通过停止实例,改变类型和重新启动。我想我会需要创建一个64位的大型实例,从媒体的实例附加到它的体积。 这些问题是: 1.是否有可能?如果是这样的 - 有人可以请帮我写剧本的基础做一个EC2控制台命令? 2.是否有一些其他的,更简单的方法来升级32位中的实例,以一个64位的大单? 谢谢!
不幸的是,像其他操作系统的,我不认为有一种方法可以升级
32位64位。你几乎肯定需要做重新安装。
这是我会怎么做:
- 备份您的重要(的一切,是必需的)的数据。
- 创建EBS卷。
- 附加到EC2机。
- 在倾倒在我所有有价值/重要数据。
- 从EC2的机器上拆下。
- 吹当前的EC2机。
- 我会创建一个
快照
根装置,在情况下,如果它在将来有用。
- 我会创建一个
- 在启动的EBS支持64位的Ubuntu实例。
- 附加上述EBS卷到本机。
- 复制数据到它的地方。
- 确保一切运转正常。
- 从台新机器上拆下
- 杀死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:
- Backup your important (everything that is required) data.
- Create an EBS volume.
- Attach it to EC2 machine.
- Dump all my valuable/important data on it.
- Detach it from the EC2 machine.
- Blow the current EC2 machine.
- I would create a
snapshot
of the root-device, in-case if it's useful in future.
- I would create a
- Launch an EBS backed 64-bit Ubuntu instance.
- Attach the above EBS volume to this machine.
- Copy your data to it's place.
- Make sure things are working.
- Detach it from the new machine
- Kill the EBS volume.
这篇关于我怎样才能升级我的32位的Amazon EC2 EBS支持的实例为64位呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!