Same pre-configured VM for several one-time users

Michael Shparber 21 Reputation points

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.
6,839 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Bhanu Ejjagiri 256 Reputation points Microsoft Employee

    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 #

    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

    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