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 using the temporary password email to you via a link to 1Password and follow steps below to login to Azure Portal.

  1. Navigate to https://portal.azure.com
    1. Image of login screen
  2. Enter the Username provided via 1Password link (ex. NetID@Platformx.wisc.edu).
  3. On the following screen, enter the temporary Password provided via 1Password link.
  4. Once successfully logged in using the temporary credentials, change your password.
  5. Select Next to acknowledge that 2 Factor Authentication is required.
    1. image prompting user for more information for security
  6. Set up 2 Factor Authentication.
    1. (Recommended) Download the Microsoft Authenticator application to your phone.
    2. Alternatively, select 'I want to use a different authenticator app' and use Duo (used for NetID multi-factor authentication at UW-Madison).
      1. Select "I want to use a different authenticator app"
    3. Select 'Next' once the application is installed and opened on your phone.
    4. Screen shot of setting up account
    5. Scan QR code.
    6.  Screen shot of QR Code
    7. Enter code shown in app.
    8. Screen shot of entering code from app

Login to Azure Portal

  1. Navigate to https://portal.azure.com.
  2. Login with username originally provided by the 1Password link emailed to you for Platform X.
    1. This is your NetID@platform.wisc.edu 
    2. Then enter the password you created when you first logged in to Platform X.
    3. Screen shot of Sign in for Platform X
    4. Open authenticator app on your phone (below is screen shot of Duo authenticator from phone app)
    5. Screen shot of application screen on phone

Start VM

  1. From Azure Services select Virtual Machines
    1. screenshot of azure portal
  2. From List of VM select your machine.
    1. screenshot of azure portal VM
  3. VM Details will open.
    1. To start the VM click on start
    2. Use the Start button to start the Virtual Machine 
    3. This will take a minute or two - be sure to wait for VM to start up 
    4. screenshot of VM starting pop up
  4. The next step is to login to the VM using Bastion
    1. This will set up a connection between your computer and the virtual machine

Login to VM using Bastion

  1. From the main Azure Portal window go to Connect > Bastion
    1. Select Bastion under Connect
  2. A window will open and you will need to enter your credentials.
    1. For Windows VMs
      • Username: {NetID}@platformx.wisc.edu
      • Authentication Type: VM Password
      • VM Password: the password you use to log into the Azure portal

      Bastion Login 

    2. For Linux VMs
      • Username: x<netid> (ex. xflikweert)
      • Authentication Type: VM Password
      • VM Password
      • Log into Linux Machine
  3. Select Connect
  4. The VM will start up and log you in to your Virtual Machine on a new browser tab

Log out of VM

  1. From start menu select Power > Disconnect
    1.  screenshot of Disconnect
    2. This will disconnect you from the VM, but does not stop the VM.
      1. Click Close  screenshot of disconnect from virtual machine
    3. You will need to use Azure Portal to Stop VM
      1. This is an important step to save resources and keep costs down for your project.
    4. If you have analysis to run you can disconnect and leave VM running to continue processing data

Stop VM

  1. Navigate to Azure Portal again https://portal.azure.com
  2. Login with username for Platform X.
  3. From your VM Details page select Stop
    1. Select Stop to stop the machine
  4. Select Yes then wait a minute or two
    1. screenshot of yes to stop machine 
  5. Window will pop up to confirm machine is stopped
    1. Status will update to Stopped 
    2. screenshot of stopped machine

Restart VM

You may want to restart the VM.

You can also do this from the Azure Portal.

Select Restart to stop and start your VM without losing your current Azure reservation

If you have any difficulty logging in to your VM, please submit a request via the Platform X Navigator Portal.



Keywords:
Virtual Machine Px Azure Portal
Doc ID:
131654
Owned by:
Niecia H. in SMPH Research Applications
Created:
2023-09-22
Updated:
2026-04-24
Sites:
SMPH Research Applications