I know Google Cloud (Google App Engine) can autoscale instances horizontally: you have 1 server with certain parameters, when it's overloaded autoscaler launches new server and balances load between them.

But I can't find any informations if Google Cloud provides vertical scaling. Ex. you have one server with 2 cores, 4GB RAM, it's overloaded so autoscaler gives you more resources (your server gets more RAM / more cores -> your server is 4 cores, 8gb RAM and it is not overloaded any more). Is this possible using Google Cloud?


Well, I recieved an answer from Sharif Sharaf - moderator on GCE Group on G+. Maybe it'll be helpful for someone as it was helpful for me:

(tl;dr: no, there is no vertical autoscaling builded in. It's possible. It's hard. Don't use it until you have idle IT dept.)

For App Engine you should check out the documentation for the Modules API which allows you to choose between manual, basic and automatic (horizontal) scaling and specify the instance class in your module .yaml file. See:


For Compute Engine you could consider using the load balancer in combination with an orchestration engine like Ansible to automate changes to the size of your instances. This would take a fair bit of work to set up initially though and horizontal scaling is by far the simpler solution. A description of the automation solution can be found here:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.