Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Azure icon

Access Windows VMs over SSL without Public IPs using Azure Bastion

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.

Azure icon

Path Info

Clock icon Beginner
Clock icon 45m
Clock icon Oct 09, 2020

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    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.
  2. Challenge

    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 your lab provided resource group**
      • Virtual network: lab-VNet1
      • Subnet: AzureBastionSubnet (
      • Public IP address name: bastionpip
    4. Click Review + create.

    5. Click Create.

    Note: Deployment may take a while.

  3. Challenge

    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.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

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.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans