--- title: "Connect to the Virtual Machine" slug: "connect-to-the-virtual-machine" updated: 2025-07-03T16:54:24Z published: 2025-07-03T16:54:24Z canonical: "help.cloudlabs.ai/connect-to-the-virtual-machine" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.cloudlabs.ai/llms.txt > Use this file to discover all available pages before exploring further. # Connect to the Virtual Machine To fulfill the lab, you must connect to the VM. There are several options for connecting to the VM, as shown below: 1. Go to your lab's details page and connect. 2. Use the Azure portal to connect. ### Go to your lab's details page and connect:​ Once your lab is launched and ready, you would be able to see the VM DNS name, VM Admin Username, and VM Admin Password to make the connection. You would have two options to connect to the VM from your lab details page: **Option 1: Connect via RDP tool**. **Option 2: Access the VM over the Web (HTTPS)** ### Connect via the RDP tool​ i. Click on the Start (1) button on your local desktop/laptop and search for Remote Desktop Connection (2). Next, select the Remote Desktop Connection (3) Application from the search result (as mentioned in the image below). image here ii. Use the shortcut **Windows key + R** to open a prompt, then type **mstsc** and hit **OK**. iii. Now copy the **VM DNS name** from the lab details page and paste it in the first field i.e. **computer** then click on the **connect** button. ![](https://cdn.document360.io/eb22e69b-92a3-4c63-861d-5b53dc9d04c5/Images/Documentation/rdp(2).png) iv. By default, RDP uses the same username as your PC. Click on **more choices**, choose **Use a different account**, and then copy the VM Admin Username and Admin Password and put them in the RDP window's relevant fields. ![](https://cdn.document360.io/eb22e69b-92a3-4c63-861d-5b53dc9d04c5/Images/Documentation/morechoices.png) v. A new window will be prompted for verifying the VM certificate, select **Don't ask me again for connections to this computer** vi. Click on **Yes** and you will be connected to the VM. ### Access the VM over the web (HTTPS)​ This option allows you to access the virtual machine through a web browser with just one button click **Go To demoVM**. ### Connect to the VM from Azure Portal​ 1. Logging into the **Azure** portal using [https://portal.azure.com/](https://portal.azure.com/) 2. Copy the Username and Password from the lab information page or the automated email you received and use. 3. Sample Username: **odl_user_xxxxxx..** 4. You may see Azure Welcome Message during your first time login, click **Maybe later** 5. On Azure Dashboard, navigate to **Virtual Machines** ![](https://cdn.document360.io/eb22e69b-92a3-4c63-861d-5b53dc9d04c5/Images/Documentation/vmfromazure.png) 6. Select your VM, if there're multiple VMs then choose the one you wanted to connect from the list. 7. Click on **Connect** from the VM overview page ![](https://cdn.document360.io/eb22e69b-92a3-4c63-861d-5b53dc9d04c5/Images/Documentation/connect(1).png) 8. Select **RDP** if its Windows VM and **SSH** if its a Linux VM ![](https://cdn.document360.io/eb22e69b-92a3-4c63-861d-5b53dc9d04c5/Images/Documentation/rdpssh.png) 9. Now, click on the **Download RDP file** button ![](https://cdn.document360.io/eb22e69b-92a3-4c63-861d-5b53dc9d04c5/Images/Documentation/downloadrdp.png) 10. Open the downloaded file, click on **connect** 11. By default, RDP uses the username and password of your PC. Click on **more choices**, choose **Use a different account.** ![](https://cdn.document360.io/eb22e69b-92a3-4c63-861d-5b53dc9d04c5/Images/Documentation/morechoices.png) 12. Enter VM's Admin Username and Admin Password and click on **Ok** 13. A new window will be prompted for verifying the VM certificate, select **Don't ask me again for connections to this computer** 14. Click on **Yes**