Same pre-configured VM for several one-time users

Michael Shparber 21 Reputation points
2021-12-12T18:33:31.557+00:00

Hello friends,

As a step in a recruitment process I want to give my candidates a one-time access to a VM with all the necessary programs installed (SQL Server and Power BI) as well as some initial files and a database.
They'll have an hour and a half to complete the assessment after which I want to delete the VM.

For the next candidate I'd like to recreate the VM with the same pre-installed programs.
What is the best way for me to do this?

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

2 answers

Sort by: Most helpful
  1. Bhanu Ejjagiri 261 Reputation points Microsoft Employee
    2021-12-12T19:23:37.217+00:00

    Hi @Michael Shparber

    You can consider using Azure JIT (Just In Time) to secure your VM workloads, so that the ports will be open for a specified time and the auto disabled accordingly.
    Reference # https://learn.microsoft.com/en-us/azure/defender-for-cloud/just-in-time-access-usage?tabs=jit-config-asc%2Cjit-request-asc#enable-jit-vm-access-
    156875-jit-config-security-center.gif

    for creating the VM's and deleting them, you can depend on Powershell scripts or ARM templets.

    Please 'Accept as answer' if the provided information is helpful, so that it can help others in the community looking for help on similar topics.

    0 comments No comments

  2. Michael Shparber 21 Reputation points
    2021-12-13T07:13:16.33+00:00

    It's not just limited time, I want to completely wipe out all the information and re-install the VM with exactly the same initial programs installed. How do I do it?

    0 comments No comments

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.