How to change Spot instance to Pay as you go instance

Marco Scacchi 1 Reputation point

Hello everyone,
i've understood that right now, an already created instance as spot one, cannot be changed to "Pay as you go" one.
I'd like then to restore the VM spot ones into a "Pay as you go" ones.
Is there a best practice to achieve this goal?
How i can do this restore without losing my operating system?

If priority can be set on regular after creation, i beg your pardon, i was not able to find it!


Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
6,834 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Karl Tremain 86 Reputation points Microsoft Employee

    There is no easy migration path. The VM would have to be deleted to change the billing.
    Although there is no documentation i can point you to, you could retain the disk once the spot VM is deleted, and use that disk to spin up a custom PayG VM.