Skip to content

Latest commit

 

History

History
139 lines (91 loc) · 6.9 KB

deploy-vm-portal.md

File metadata and controls

139 lines (91 loc) · 6.9 KB
title description author ms.author ms.service ms.topic ms.date
Quickstart: Deploy a virtual machine in an Extended Zone - Azure portal
Learn how to deploy a virtual machine (VM) in an Azure Extended Zone using the Azure portal.
halkazwini
halkazwini
azure-extended-zones
quickstart
11/19/2024

Quickstart: Deploy a virtual machine in an Extended Zone using the Azure portal

In this quickstart, you learn how to deploy a virtual machine (VM) in Los Angeles Extended Zone using the Azure portal.

If you don't have an Azure subscription, create a free account before you begin.

Prerequisites

Sign in to Azure

Sign in to the Azure portal with your Azure account.

Create a virtual network in an Extended Zone

In this section, you create a virtual network in the Azure Extended Zone that you want to deploy a virtual machine to.

  1. In the search box at the top of the portal, enter virtual network. Select Virtual networks from the search results.

    :::image type="content" source="./media/deploy-vm-portal/portal-search.png" alt-text="Screenshot that shows how to search for virtual machines in the Azure portal.":::

  2. In the Virtual networks page, select + Create.

  3. On the Basics tab of Create virtual network, enter, or select the following information:

    Setting Value
    Project Details
    Subscription Select your Azure subscription.
    Resource group Select Create new.
    Enter myResourceGroup in Name.
    Select OK.
    Instance details
    Virtual network name Enter myVNet.
    Region Select Deploy to an Azure Extended Zone.
    In Azure Extended Zones, select Los Angeles.
    Select the Select button.

    :::image type="content" source="./media/deploy-vm-portal/create-vnet-basics.png" alt-text="Screenshot that shows the Basics tab of creating a virtual network in an Azure Extended Zone." lightbox="./media/deploy-vm-portal/create-vnet-basics.png":::

  4. Select Review + create.

    :::image type="content" source="./media/deploy-vm-portal/review-create-vnet.png" alt-text="Screenshot that shows the Basics tab of creating a virtual network after selecting the Extended Zone." lightbox="./media/deploy-vm-portal/review-create-vnet.png":::

  5. Review the settings, and then select Create.

Create a virtual machine in an Extended Zone

  1. In the search box at the top of the portal, enter virtual machines. Select Virtual machines from the search results.

  2. In the Virtual machines page, select + Create and then select Azure virtual machine.

  3. On the Basics tab of Create a virtual machine, enter, or select the following information:

    Setting Value
    Project details
    Subscription Select your Azure subscription.
    Resource group Select myResourceGroup.
    Instance details
    Virtual machine name Enter myVM.
    Region Select Deploy to an Azure Extended Zone.
    In Azure Extended Zones, select Los Angeles.
    Select the Select button.
    Availability options Select No infrastructure redundancy required. Azure Extended Zones don't support availability zones.
    Security type Leave the default of Standard. The other available option is Trusted launch virtual machines.
    Image Select Windows Server 2022 Datacenter: Azure Edition - x64 Gen2.
    Size Choose a size or leave the default setting.
    Administrator account
    Username Enter a username.
    Password Enter a password.
    Confirm password Reenter password.
    Public inbound ports Select Allow selected ports.
    Select inbound ports Select RDP (3389).

    :::image type="content" source="./media/deploy-vm-portal/create-vm-basics.png" alt-text="Screenshot that shows the Basics tab of creating a virtual machine in an Azure Extended Zone." lightbox="./media/deploy-vm-portal/create-vm-basics.png":::

  4. Select the Networking tab, or select Next: Disks, then Next: Networking.

  5. On the Networking tab, enter or select the following information:

    Setting Value
    Network interface
    Virtual network Select myVNet.
    Subnet Select default (10.0.0.0/24).
    Public IP Select (new) myVM-ip.
    NIC network security group Select Basic.

    :::image type="content" source="./media/deploy-vm-portal/create-vm-networking.png" alt-text="Screenshot that shows the Networking tab of creating a virtual machine in an Azure Extended Zone." lightbox="./media/deploy-vm-portal/create-vm-networking.png":::

    [!CAUTION] Leaving the RDP port open to the internet is only recommended for testing. For production environments, it's recommended to restrict access to the RDP port to a specific IP address or range of IP addresses. You can also block internet access to the RDP port and use Azure Bastion to securely connect to your virtual machine from the Azure portal.

  6. Select Review + create.

  7. Review the settings, and then select Create.

  8. After deployment is complete, select Go to resource.

Connect to virtual machine

  1. Select Connect.

  2. Under Native RDP, select the select button.

    :::image type="content" source="./media/deploy-vm-portal/connect-vm.png" alt-text="Screenshot that shows how to connect to a virtual machine using RDP." lightbox="./media/deploy-vm-portal/connect-vm.png":::

  3. Select Download RDP file and open the downloaded file.

  4. Select Connect and then enter the username and password that you created in the previous steps. Accept the certificate if prompted.

Note

Default outbound access is not available to VMs in Azure Extended Zones. For more information, see Default outbound access in Azure.

Clean up resources

When no longer needed, delete myResourceGroup resource group and all of the resources it contains:

  1. In the search box at the top of the portal, enter myResourceGroup. Select myResourceGroup from the search results.

  2. Select Delete resource group.

  3. In Delete a resource group, enter myResourceGroup, and then select Delete.

  4. Select Delete to confirm the deletion of the resource group and all its resources.

Related content