Skip to content

Latest commit

 

History

History
123 lines (87 loc) · 7.98 KB

tutorial-prerequisites.md

File metadata and controls

123 lines (87 loc) · 7.98 KB

Create A Virtual Machine

In this tutorial, you'll:

In this tutorial, you'll create a Windows virtual machine on the Azure portal to run and manage the cloud portion of the tutorials. You'll need to complete this tutorial if you do not have access to a Windows machine. If you're trying out these tutorials for the first time, then use a clean install of a virtual machine to avoid issues. Be aware there is cost involved in creating a Virtual Machine and using Bastion to remotely access it. Otherwise, you can skip this tutorial and go directly to the Tutorial: Configure your Windows Cloud Machine. Bastion is a remote access service in Azure that allows you to remotely connect to Windows virtual machines (VMs). There are several benefits to using Bastion to access your Windows VM over RDP:

  • Security. Bastion is far more secure than using Remote Desktop or other mechanisms to remotely connect. Bastion uses Azure AD authentication and multi-factor authentication (MFA) to ensure that only authorized users can access the VM.
  • Convenience. Bastion allows you to access your VM from any device with a modern web browser, without the need to install additional software or configure VPN connections.
  • Ease of use. Bastion includes a user-friendly interface that makes it easy to connect to and manage your VMs.
  • Scalability. Bastion can scale to support a large number of users and VMs, making it suitable for use in large organizations.
  • Integration with Azure. Bastion is fully integrated with Azure, allowing you to manage your VMs and other resources from the same interface.

Overall, Bastion provides a secure and convenient way to remotely access Windows VMs over RDP, and can be especially useful for organizations looking to simplify their remote access infrastructure.

The following diagram provides you the context to create a Windows 10 cloud VM.

  1. Create a Windows Cloud Virtual machine
  2. Deploy Bastion and connect to your Windows Machine

diagram of the VMs used for setting up the CVP environment

Prerequisites

Create a Windows 10 cloud VM

  1. Open the Azure portal and select your subscription.

  2. Create a resource group for your VM

  3. From the Azure portal, open your resource group and select the Create button.

  4. Search for the Microsoft Windows 10 image. Pick the first one that shows up in the list as the specific Windows 10 image to use will be detailed later in this tutorial.

    find resource in Azure portal

  5. Select Windows 10 Pro 1️⃣ then select the Create button 2️⃣.

    creating the Windows 10 resource in the Azure portal

  6. In the Create a virtual machine form as diagrammed below, fill in the form as suggested in each table: project details, instance details, administrator account, and inbound port rules. Once the form is complete, select the "Review + create" button.

    configuring a Windows 10 resource in the Azure portal

    Project details

    Form Item Action
    Subscription Select your subscription name from the dropdown
    Resource group Select the resource group you created in the previous step.

    Instance details

    Form Item Action
    Virtual Machine Name Name your VM, for example, myVM
    Region Select a region that supports the Standard D4s_v3 size, for example, West US 2
    Availability Options No infrastructure redundancy required
    Security Type Standard
    Image Use the default image, for example, Windows 10 Pro, version xxxx
    Azure spot instance Select the box
    Size Standard D4s_v3

    Administrator account

    Form Item Action
    Username Provide a user name
    Password A password between 12 and 123 characters
    Confirm password Confirm your previous password

    Inbound port rules

    Form Item Action
    Public inbound ports Allows selected ports (default)
    Select inbound ports RDP (3389, default)

    Licensing

    Select the box "I confirm ..."

  7. Create the VM then select the Go to resource button when the deployment is complete.

  8. Follow the instructions to Deploy Bastion from your VM.

  9. Connect to your VM using Bastion.

  10. Once you've successfully connected to your VM using Bastion, be sure to remove its public IP address. ⚠️ Missing this step will leave your VM open to security vulnerabilities.

  11. Be sure to reset your password to avoid connectivity issues the next time you sign in. Select Help->Reset password found in the VM's left pane of the Azure portal. ⚠️ Missing this step will prevent Bastion from connecting to your VM.

    password reset

Next Steps

Tutorial: Configure your Windows Machine