Platform X: Logging in to Windows VM
Windows Virtual Machines (VM)
The Azure Portal can be used to log into Windows Virtual Machines. The portal also allows you to monitor status of your virtual machine, and allows you to start and stop the machine with the user friendly interface.
You can also use the command line prompts to login to Windows machines
Linux VM will require use of command prompts. You will need to follow the instructions for using the command line prompts here:.
First time logging in to your VM
You will receive a message from security operations staff with login information for platform x.
The message will contain a new username with 'platformx' added:
Username: {NetID}@platformx.wisc.edu
Password: {randomly generated 16-char password}
Set up your account with the temporary password provided in the message and follow steps below to login to Azure Portal.
- Navigate to https://portal.azure.com
- Enter the Username provided in message from security.
- On the following screen enter the temporary Password provided from security
- Once successfully logged in using the temporary credentials you will then be prompted to change your password and then register additional security information, select Next to proceed.
- The next step is setting up multi-factor authentication to improve security.
- You can choose to use Microsoft Authenticator and download app to your phone.
- Alternatively, you you can choose 'I want to use a different authenticator app' and use Duo (this is used for NetID multi-factor authentication at UW-Madison).
- Then set up in your app on phone and click 'Next'
- Scan QR code
- Then enter code shown in app
Login to Azure Portal
- Navigate to https://portal.azure.com
- Login with username originally provided by security for Platform X.
- This is your NetID@platform.wisc.edu
- Then enter the password you created when you first logged in to Platform X.
- Open authenticator app on your phone (below is screen shot of Duo authenticator from phone app)
Start VM
- From Azure Services select Virtual Machines
- From List of VM select machine with wn-prod to open VM Details
- VM Details will open
- To start the VM click on start
- This will take a minute or two
- Your machine will then show status of Running
- The next step is to login to the VM using Bastion
- This will set up a connection between your computer and the virtual machine
Login to VM using Bastion
- From the main Azure Portal window go to Operations > Bastion
- A window will open and you will need to enter your credentials adding azuread\ before your login username:
- Username: azuread\NetID@platformx.wisc.edu
- Authentication Type: VM Password
- VM Password: password from platform x login
- Click Connect
- VM will start up and log you in to your Windows Machine on a new browser tab
Log out of VM
- From start menu select Power > Disconnect
- This will disconnect you from the VM, but does not stop the VM.
- Click Close
- You will need to use Azure Portal to Stop VM
- This is an important step to save resources and keep costs down for your project.
- If you have analysis to run you can disconnect and leave VM running to continue processing data
Stop VM
- Navigate to Azure Portal again https://portal.azure.com
- Login with username originally provided by security for Platform X.
- From your VM Details page select Stop
- Select Yes
- then wait a minute or two
- Window will pop up to confirm machine is stopped
- Status will update to Stopped
Restart VM
You may want to restart the VM
You can also do this from the Azure Portal