Passer au contenu

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

demandé il y a 2 ans232 vues
1 réponse
2
Réponse acceptée

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.

EXPERT
répondu il y a 2 ans
EXPERT
vérifié il y a un an
EXPERT
vérifié il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.