Salta al contenuto

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

posta un anno fa230 visualizzazioni
1 Risposta
2
Risposta accettata

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.

ESPERTO
con risposta un anno fa
ESPERTO
verificato un anno fa
ESPERTO
verificato un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.