Platform X: Logging in to Virtual Machines via Azure
Virtual Machines (VM)
The Azure Portal can be used to log into Virtual Machines (VM). 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 either Windows or Linux virtual machines.
First time logging in to your VM
You will receive a message from staff with login information for Platform X.
The message will contain a link to a 1Password entry containing your Azure credentials.
If you are using a Linux machine you will receive a second link with the credentials to log into the VM (if Windows it is the same as your Azure credentials).
Set up your Azure account with the temporary password provided to you via a link to 1Password sent to your email and follow steps below to login to Azure Portal.
- Navigate to https://portal.azure.com
- Enter the Username provided via 1Password link.
- On the following screen enter the temporary Password provided via 1Password link.
- 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 the 1Password link emailed to you 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 your machine.
- VM Details will open.
- To start the VM click on start
- This will take a minute or two - be sure to wait for VM to start up

- 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.
- For Windows VMs
- Username: {NetID}@platformx.wisc.edu
- Authentication Type: VM Password
- VM Password: the password you use to log into the Azure portal
- For Linux VMs
- Username: x<netid> (ex. xflikweert)
- Authentication Type: VM Password
- VM Password
- For Windows VMs

3. Click Connect
4. VM will start up and log you in to your Virtual 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

- 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 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






