如何安全地从t1.micro升级Amazon EC2实例到大? [英] How to safely upgrade an Amazon EC2 instance from t1.micro to large?

查看:1087
本文介绍了如何安全地从t1.micro升级Amazon EC2实例到大?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Amazon EC2的微型实例(t1.micro)。我想这种情况下升级到大。这是我们的生产环境,那么什么是做到这一点的最好的和无风险的方式是什么?

I have an Amazon EC2 micro instance (t1.micro). I want to upgrade this instance to large. This is our production environment, so what is the best and risk-free way to do this?

有没有一步一步的指导,以做到这一点?

Is there any step by step guide to do this?

推荐答案

根据我的经验,我做的方式是创建当前图像的快照,那么一旦它完成推出新的时候,你会看到它作为一个选项实例。只要启动它在这一点上大的实例。

From my experience, the way I do it is create a snapshot of your current image, then once its done you'll see it as an option when launching new instances. Simply launch it as a large instance at that point.

这是我的做法,如果我不希望有任何的停机时间(即生产服务器),因为只有在新的这种解决方案只需要一台服务器下线正在运行起来(我还用它来新机添加到我的集群使用这种做法只会增加新机器)。如果停机时间是可以接受的,然后看到马塞尔·卡斯蒂略的答案。

This is my approach if I do not want any downtime(i.e. production server) because this solution only takes a server offline only after the new one is up and running(I also use it to add new machines to my clusters by using this approach to only add new machines). If Downtime is acceptable then see Marcel Castilho's answer.

这篇关于如何安全地从t1.micro升级Amazon EC2实例到大?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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