Scaling up and down

33 views
Skip to first unread message

Gandalf Corvotempesta

unread,
Dec 3, 2016, 9:15:14 AM12/3/16
to gce-discussion
Is possible to scale, on the fly, an instance from a smaller one to a bigger one and viceversa?
should I reboot or is it transparent ?

Scott Van Woudenberg

unread,
Dec 3, 2016, 11:39:09 AM12/3/16
to Gandalf Corvotempesta, gce-discussion
Hi Gandalf,

If you are OK with a short amount of downtime (around a minute for most Linux VMs, a little longer for Windows VMs), you can stop your VM, change the machine type (presumably to something larger) and start it back up. Here is the docs page with Console, CLI, and API instructions.

If downtime is not OK, things get more complicated because GCE doesn't support "hot resize" for VMs at this time. At a high level, this typically involves snapshotting disks, creating a 2nd VMs, then using DNS or reserved IP tricks to transfer traffic to the new VM.

HTH,

-ScottVW

---
Scott Van Woudenberg
Product Manager
Google Compute Engine


On Sat, Dec 3, 2016 at 6:15 AM, Gandalf Corvotempesta <gandalf.co...@gmail.com> wrote:
Is possible to scale, on the fly, an instance from a smaller one to a bigger one and viceversa?
should I reboot or is it transparent ?

--
© 2016 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
 
Email preferences: You received this email because you signed up for the Google Compute Engine Discussion Google Group (gce-discussion@googlegroups.com) to participate in discussions with other members of the Google Compute Engine community and the Google Compute Engine Team.
---
You received this message because you are subscribed to the Google Groups "gce-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gce-discussion+unsubscribe@googlegroups.com.
To post to this group, send email to gce-discussion@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gce-discussion/3d11cadc-36af-459a-ae9d-68af02e4fb43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Gandalf Corvotempesta

unread,
Dec 3, 2016, 12:25:03 PM12/3/16
to gce-discussion, gandalf.co...@gmail.com
Il giorno sabato 3 dicembre 2016 17:39:09 UTC+1, Scott Van Woudenberg ha scritto:
Hi Gandalf,

If you are OK with a short amount of downtime (around a minute for most Linux VMs, a little longer for Windows VMs), you can stop your VM, change the machine type (presumably to something larger) and start it back up. Here is the docs page with Console, CLI, and API instructions.

Currently, the small downtime for poweroff/poweron is OK.


If downtime is not OK, things get more complicated because GCE doesn't support "hot resize" for VMs at this time. At a high level, this typically involves snapshotting disks, creating a 2nd VMs, then using DNS or reserved IP tricks to transfer traffic to the new VM.


Any ETA for hot resize? 

Scott Van Woudenberg

unread,
Dec 3, 2016, 1:26:09 PM12/3/16
to Gandalf Corvotempesta, gce-discussion
Sorry, no ETA I can share for hot resize. Feel free to add your vote and a comment with use case details to the FR.

--
© 2016 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
 
Email preferences: You received this email because you signed up for the Google Compute Engine Discussion Google Group (gce-discussion@googlegroups.com) to participate in discussions with other members of the Google Compute Engine community and the Google Compute Engine Team.
---
You received this message because you are subscribed to the Google Groups "gce-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gce-discussion+unsubscribe@googlegroups.com.
To post to this group, send email to gce-discussion@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages