How to change Spot instance to Pay as you go instance

Marco Scacchi 1 Reputation point
2021-05-12T11:28:02.627+00:00

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!

Marco

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

1 answer

Sort by: Most helpful
  1. Karl Tremain 86 Reputation points Microsoft Employee
    2021-08-20T11:12:45.7+00:00

    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.