Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I vertically scale an Amazon instance? [closed]

Is it possible? According to Amazon, Amazon EC2 Auto Scaling uses Horizontal scaling:

You can also use Amazon EC2 Auto Scaling for dynamic scaling of EC2 instances in order to automatically increase the number of Amazon EC2 instances during demand spikes to maintain performance and decrease capacity during lulls to reduce costs.

I found no reference to vertical scaling, by changing each instance specifications instead of adding or removing them.

like image 446
Kilmer Luiz Aleluia Avatar asked Sep 09 '26 04:09

Kilmer Luiz Aleluia


1 Answers

To vertically scale an individual AWS EC2 instance up or down the instance has to be stopped, then the instance size changed, then restarted. This is due to the fact that Amazon has to often move the VM to a different piece of hardware with the available resources for the size change. Also, operating systems and software don't generally handle the sudden appearance of extra RAM or CPU cores very well.

Amazon does not provide a service for automatically scaling instances vertically, only horizontally, because horizontal scaling is the only type of scaling that doesn't incur down time.

like image 101
Mark B Avatar answered Sep 10 '26 21:09

Mark B



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!