Access Windows VMs over SSL without Public IPs using Azure Bastion

45 minutes
  • 3 Learning Objectives

About this Hands-on Lab

At your company, they’ve blocked port 3389 outgoing on the firewall and established a mandate that all Windows VMs not be accessible from the internet. In order to log in to Windows VMs, you need to come up with a solution.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create an Azure Bastion Subnet
  1. In the Azure portal, click the menu in the upper left and select Virtual networks.
  2. Select the provisioned VNet and click Subnets.
  3. In the upper left, click + Subnet to add a new subnet.
  4. In Name, enter AzureBastionSubnet and click OK.
Create an Azure Bastion Service
  1. From the Azure All services page, select Bastions.

  2. Click + Add.

  3. From the Create a Bastion page, set the following values:

    • Resource group: Select existing
    • Name: Bastion1
    • Region: Set to the same region as existing resources
    • Virtual network: lab-VNet1
    • Subnet: AzureBastionSubnet (10.0.1.0/24)
    • Public IP address name: bastionpip
  4. Click Review + create.

  5. Click Create.

    Note: Deployment may take a while.

Connect to the Windows VM via Bastion
  1. From the Azure All services page, select Virtual machines.
  2. Select the winVM virtual machine.
  3. From the top menu, click Connect > Bastion.
  4. Click Use Bastion.
  5. Enter the login credentials provided on the lab homepage.
  6. Click Connect.

Additional Resources

Create a subnet named AzureBastionSubnet within the pre-provisioned VNet.

Next, create a new Azure Bastion host.

Finally, log in to the Windows VM provisioned with this lab. You will notice that there is no public IP address for this VM, so use the bastion host to log in to Windows.

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?