Deploying Your First Azure Virtual Machine

30 minutes
  • 4 Learning Objectives

About this Hands-on Lab

In this hands-on lab, we will use the Azure Portal to create and use a virtual machine.

We will log in to the Azure Portal and create a virtual machine, a virtual network, and a network interface card for the virtual machine. Then, we will connect to the virtual machine via RDP. Finally, we will use the Azure Portal to turn the virtual machine off.

After completing this lab, you will have gained the experience required to create and use your first virtual machine using the Azure Portal.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Log Into the Azure Portal

Log in to the Azure Portal to begin the process of creating our Virtual Machine.

Create a Virtual Machine

Use the Azure Portal to create a new virtual machine.

1. In the Azure Portal, click on "Create a Resource" and then select "Windows Server 2016 Datacenter"

2. On the Basics tab, configure the following settings:

  • Subscription: Leave the default subscription

  • Resource group: Select the pre-provisioned group from the dropdown.

  • Virtual machine name: Give your machine a unique name

  • Region: Leave the region the same as your Resource Group

  • Availability Options: Can be left default (No redundancy)

  • Image: Leave the default of Windows Server 2016 Datacenter – Gen1

  • Azure Spot Instance: Should be check as "No"

  • Size: Leave the Default (Standard DS1_v2)

  • Username: acg-admin

  • Password: Admin123456!

  • Confirm password: Admin123456!

  • Inbound Port Rules: These should be left default, which should automatically enable Remote Desktop access to the system.

    • If for some reason port 3389 is not automatically filled in, for <i>"Public Inbound Ports"</i> select <i>"Allow selected ports"</i> and then for <i>"Selected Inbound Ports"</i> use the drop to choose "RDP 3389"
  • Licensing: Leave as "No"

3. Select Review + Create at the bottom of the page

4. Review our settings and click "Create" at the bottom of the page

Connect to the Virtual Machine

Connect to your VM using Remote Desktop

  1. Go to your Virtual Machine in the portal

  2. Select "Connect" from the menu bar towards the top of the resource page and select "RDP"

  3. Here, you can either use the information provided with a Remote Desktop client of your choice, or simply download the RDP File

  4. Use the information on the page with your RDP client or execute the RDP file to initiate a connection to your machine. If you receive a warning that the publisher cannot be identified, this is normal and can be ignored by click "connect".

  5. Once you’re connected, enter the credentials we set up in the previous objective. If you used the credentials suggested, you can use the below for reference:

RDP Login Credentials:

Username: acg-admin

Password: Admin123456!

Stop the Virtual Machine

Disconnect and Stop Your Virtual Machine

  1. Either Close your RDP window or log out of Windows to exit your connection

  2. Go back to the Azure Portal and Navigate to your Virtual Machine’s summary page

  3. On the top resource menu, select "Stop" and leave the option to Reserve the Public IP unchecked. Click "OK" to commence stopping the VM.

Additional Resources

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!
Thanks for reaching out!

You’ll hear from us shortly. In the meantime, why not check out what our customers have to say about ACG?