Proposed Pull Request Change

title titleSuffix description author ms.service ms.topic ms.date ms.author
Quickstart: Deploy Azure Bastion automatically Azure Bastion Learn how to deploy Azure Bastion with default settings from the Azure portal. abell azure-bastion quickstart 03/12/2025 abell
📄 Document Links
GitHub View on GitHub Microsoft Learn View on Microsoft Learn
Raw New Markdown
Generating updated version of doc...
Rendered New Markdown
Generating updated version of doc...
+0 -0
+0 -0
--- title: 'Quickstart: Deploy Azure Bastion automatically' titleSuffix: Azure Bastion description: Learn how to deploy Azure Bastion with default settings from the Azure portal. author: abell ms.service: azure-bastion ms.topic: quickstart ms.date: 03/12/2025 ms.author: abell # Customer intent: "As a cloud administrator, I want to deploy Azure Bastion automatically with default settings, so that I can securely access virtual machines without requiring public IP addresses or additional configuration." --- # Quickstart: Deploy Azure Bastion automatically In this quickstart, you learn how to deploy Azure Bastion automatically in the Azure portal by using default settings and the Standard SKU. After you deploy Bastion, you can use SSH or RDP to connect to virtual machines (VMs) in the virtual network via Bastion by using the private IP addresses of the VMs. The VMs that you connect to don't need a public IP address, client software, an agent, or a special configuration. For more information about Bastion, see [What is Azure Bastion](bastion-overview.md)? :::image type="content" source="./media/create-host/host-architecture.png" alt-text="Diagram that shows the Azure Bastion architecture." lightbox="./media/create-host/host-architecture.png"::: When you deploy Bastion automatically, Bastion is deployed with Standard SKU. * If you want to connect with Bastion Developer instead, see [Quickstart: Connect with Bastion Developer](quickstart-developer-sku.md). * If you want to specify features, configuration settings, or use a different SKU when you deploy Bastion, see [Tutorial: Deploy Azure Bastion by using specified settings and SKUs](tutorial-create-host-portal.md). The steps in this article help you: * Deploy Bastion with default settings (Standard SKU) from your VM resource by using the Azure portal. When you deploy by using default settings, the settings are based on the virtual network in which the VM resides. * Connect to your VM via the portal by using SSH or RDP connectivity and the VM's private IP address. * Remove your VM's public IP address if you don't need it for anything else. > [!IMPORTANT] > [!INCLUDE [Pricing](~/reusable-content/ce-skilling/azure/includes/bastion-pricing.md)] ## <a name="prereq"></a>Prerequisites To complete this quickstart, you need these resources: * An Azure subscription. If you don't already have one, you can activate your [MSDN subscriber benefits](https://azure.microsoft.com/pricing/member-offers/msdn-benefits-details) or sign up for a [free account](https://azure.microsoft.com/pricing/free-trial). * A VM in a virtual network. When you deploy Bastion by using default values, the values are pulled from the virtual network in which your VM resides. This VM doesn't become a part of the Bastion deployment itself, but you connect to it later in the exercise. * If you don't already have a VM in a virtual network, create a VM by using [Quickstart: Create a Windows VM](/azure/virtual-machines/windows/quick-create-portal) or [Quickstart: Create a Linux VM](/azure/virtual-machines/linux/quick-create-portal). * If you don't have a virtual network, you can create one at the same time that you create your VM. If you already have a virtual network, make sure that it's selected on the **Networking** tab when you create your VM. * Required VM roles: * Reader role on the virtual machine * Reader role on the network adapter (NIC) with the private IP of the virtual machine * Required VM inbound ports: * 3389 for Windows VMs * 22 for Linux VMs [!INCLUDE [DNS private zone](../../includes/bastion-private-dns-zones-non-support.md)] ### <a name="values"></a>Example values You can use the following example values when you're creating this configuration, or you can substitute your own. #### Virtual network and VM example values |Name | Value | | --- | --- | | **Virtual machine**| **TestVM** | | **Resource group** | **TestRG1** | | **Region** | **East US** | | **Virtual network** | **VNet1** | | **Address space** | **10.1.0.0/16** | | **Subnets** | **FrontEnd: 10.1.0.0/24** | #### Bastion values When you deploy from VM settings, Bastion is automatically configured with the following default values from the virtual network. |Name | Default value | |---|---| |**AzureBastionSubnet** | Created within the virtual network as a /26 | |**SKU** | **Standard** | | **Name** | Based on the virtual network name | | **Public IP address name** | Based on the virtual network name | ## <a name="createvmset"></a>Deploy Bastion When you create an Azure Bastion instance in the portal by using **Deploy Bastion**, you deploy Bastion automatically by using default settings and the Standard SKU. You can't modify, or specify additional values when you select **Deploy Bastion**. After deployment completes, you can later go to the **Configuration** page for the bastion host to configure additional settings or upgrade the SKU. For more information, see [About Azure Bastion configuration settings](configuration-settings.md). 1. Sign in to the [Azure portal](https://portal.azure.com). 1. In the portal, go to the VM that you want to connect to. The values from the virtual network where this VM resides will be used to create the Bastion deployment. 1. On the page for your VM, in the left menu, select **Bastion** to open the Bastion page. The Bastion page has different interfaces, depending on the region to which your VM is deployed. Certain features aren't available in all regions. You might need to expand **Dedicated Deployment Options** to access **Deploy Bastion**. 1. Select **Deploy Bastion**. Bastion begins deploying. This process can take around 10 minutes to complete. ## <a name="connect"></a>Connect to a VM When the Bastion deployment is complete, the screen changes to the **Connect** pane. 1. Enter your authentication credentials. Then, select **Connect**. 1. The connection to this virtual machine via Bastion opens directly in the Azure portal (over HTML5) by using port 443 and the Bastion service. When the portal asks you for permissions to the clipboard, select **Allow**. This step lets you use the remote clipboard arrows on the left of the window. Using keyboard shortcut keys while you're connected to a VM might not result in the same behavior as shortcut keys on a local computer. For example, when you're connected to a Windows VM from a Windows client, Ctrl+Alt+End is the keyboard shortcut for Ctrl+Alt+Delete on a local computer. To do this from a Mac while you're connected to a Windows VM, the keyboard shortcut is Fn+Ctrl+Alt+Backspace. ### <a name="audio"></a>Enable audio output [!INCLUDE [Enable VM audio output](../../includes/bastion-vm-audio.md)] ## <a name="remove"></a>Remove VM public IP address [!INCLUDE [Remove a public IP address from a VM](../../includes/bastion-remove-ip.md)] ## Clean up resources When you finish using the virtual network and the virtual machines, delete the resource group and all of the resources that it contains: 1. Enter the name of your resource group in the **Search** box at the top of the portal, and then select it from the search results. 1. Select **Delete resource group**. 1. Enter your resource group for **TYPE THE RESOURCE GROUP NAME**, and then select **Delete**. ## Next steps In this quickstart, you deployed Bastion to your virtual network. You then connected to a virtual machine securely via Bastion. Next, you can configure more features and work with VM connections. > [!div class="nextstepaction"] > [VM connections and features](vm-about.md) > [!div class="nextstepaction"] > [Azure Bastion configuration settings](configuration-settings.md)
Success! Branch created successfully. Create Pull Request on GitHub
Error: