跳至內容

Downsize EC2 machines strategy?

0

I have 12 EC2 machines with running projects ( prod, dev, staging) with load balancer pointing at them and I need to downsize this machines, and from what I have investigated I have 2 options.

Either I use the AMI from this machines and create a new EC2 based on that or I can downsize using the AWS CLI correct ?

So the easiest safest and fastest way to do this would be to use AWS CLI to downsize correct ?

Thanks

已提問 2 年前檢視次數 232 次
1 個回答
2
已接受的答案

You can change the Instance Size in the GUI or CLi.

In the Gui, Stop the EC2 Select the EC2 and Click Actions -> Instance Settings -> Change Instance Type

Here you can down size the EC2. Changing instance Type is usually not an issue. There are issues going from a T2 to a T3.

You may want to create a Snapshot of the EC2 before hand in case of any issues when powering back on and you can at least restore to a known state.

專家
已回答 2 年前
專家
已審閱 1 年前
專家
已審閱 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。