Minimum downtime releases on Virtual Machines- options?

Mazurek, Jakub 100 Reputation points
2024-09-09T13:34:48.06+00:00

Hi!

Currently I'm facing an issue with releases we have in the company, where we update stuff on Virtual machine and during that time we disable all running jobs on it and disable content creation( Virtual machine fetches content from the contentful and then builds website ) and this whole process is stopped when we have our releases and update things and whatnot.

I wanted to minimize the time that this resource functionality is down and was wondering if there are already some existing solutions that people use for similar situations.

My current idea was to create another Virtual machine 1:1, disable the services that have outside push/pull access with some sort of script and we would create all the changes on that VM2, make a disk backup and restore it to the main VM1 and run the script to reconnect.
Would that be sufficient solution or maybe something different exists?

Thanks in advance!

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,039 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-09-09T17:28:47.65+00:00

    Hi Mazurek, Jakub,
    Thank you for reaching out to us on the Microsoft Q&A forum.

    Create a customized image from the existing virtual machine where your application is running and use that image on all required virtual machines.
    Please refer to this document for further guidance:
    https://azure.microsoft.com/en-us/blog/build-distribute-and-deploy-application-updates-to-azure-virtual-machine-scale-sets/?msockid=37b94b791a946a6c28125fff1bb96ba7

    If this information is helpful, we would appreciate it if you could click the Accept Answer & Upvote on this post.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.