Skip to main content
Use • 2 mins read

Resize a Virtual Machine

Resize a Virtual Machine

Resizing moves a VM to another size: more or fewer vCPUs and more or less memory. Your disk and everything on it are kept. Use it when a VM outgrows its size, or to save money when it is bigger than it needs to be.

What changes and what doesn't​

  • vCPUs and memory change to those of the new size.
  • The disk keeps its size and its data. It can't grow or shrink, because it is encrypted with integrity protection. A VM launched with a 40 GB disk keeps 40 GB at any size, and a VM you make smaller keeps its bigger disk.
Need a bigger disk?

Launch a new VM at a size with a bigger disk, and move your data across.

The price of a resized VM is worked out from what it actually has: the new size's vCPUs and memory, plus its own disk. So a resized VM whose disk is smaller than the new size's usual disk costs less than a new VM of that size. The resize dialog shows the exact new price.

Resize a VM​

  1. Open the VM's page. In the VM Controls card, click Resize.
  2. Pick a new size. Each card shows its vCPUs, memory, Disk: N GB (kept), its price per hour and per month, and the difference from what you pay now. Open Price details to compare Now and After line by line. Click Continue.
  3. Read the confirmation: it tells you how much downtime to expect. Click Resize and reboot (or Resize for a stopped VM).

A progress view follows the resize step by step. It carries on if you close the window: click View resize progress in VM Controls to open it again. While a resize runs, the VM can't be powered, deleted, restored or reached from the browser terminal.

A size can be greyed out with the reason next to it, for example when no server can take it right now. A card that says Moves to another server first means the VM has to move before it can grow, which takes longer.

Downtime​

  • A running VM reboots. Expect about 1 to 3 minutes of downtime. Save your work first. If it has to move to another server first, the downtime can be several minutes.
  • A stopped VM stays stopped. It starts with the new size the next time you start it.

When the new price starts​

  • Running VM: the new price applies once the VM has restarted at the new size, not when you click.
  • Stopped VM: the new price applies once the resize is done, because a stopped VM is still billed for its size.

When the resize is over, the progress view says Billed as the new size since the time it took effect.

If a resize fails​

If the resize fails and the dialog says your VM is back as it was, nothing changed and nothing was charged at the new size. Click Pick another size to try again straight away.

If it says The resize did not complete, contact support with the VM id and the resize id the dialog shows.

Why a resize can be refused​

MessageWhat to do
Only a running VM can be resized.Wait until the VM has finished provisioning. A stopped VM can be resized.
This VM is starting or stopping.Try again in a minute.
Another operation is running on this VM.Wait for it (for example a restore) to finish.
This VM was resized a moment ago.You can resize again 10 minutes after the last resize. The dialog shows when.
This VM was already resized while stopped.Start it once, then resize again.
A stopped VM can only get more (or less) of both vCPU and memory.To trade one for the other, for example more vCPUs and less memory, start the VM first.
No server can take this size right now.Try again later, or pick another size.
This VM is paid by a monthly plan; its size cannot be changed.Launch a new VM at the size you need.
This service is managed.Managed services can't be resized from here.
Your balance does not cover 24 h at the new price.Top up. Only a bigger size is checked: making a VM smaller is never refused for your balance or quota.
Over your compute quota.A bigger size needs room in your vCPU and memory quotas. See Quotas.

For other refusals, see Troubleshooting.