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

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

问题描述

我有一个 Amazon EC2 微型实例 (t1.micro).我想将此实例升级到large.

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 safest 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.

如果我不希望任何停机时间(即生产服务器),这是我的方法,因为此解决方案仅在新服务器启动并运行后才使服务器脱机(我还使用它通过使用它向我的集群添加新机器这种方法只添加新机器).如果停机时间可以接受,请参阅 Marcel Castilho 的回答.

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.

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

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