Skip to content

Commit 4b0c757

Browse files
authored
Merge pull request #256689 from ShawnJackson/azure-bastion-quickstarts-tutorials
[AQ] edit pass: Azure Bastion quickstarts and tutorial
2 parents 1ea5883 + d574645 commit 4b0c757

9 files changed

+230
-212
lines changed
Lines changed: 50 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,28 @@
11
---
2-
title: 'Quickstart: Deploy Azure Bastion in a virtual network using an ARM template'
2+
title: 'Quickstart: Deploy Azure Bastion to a virtual network using an ARM template'
33
titleSuffix: Azure Bastion
4-
description: Learn how to deploy Azure Bastion in a virtual network using an ARM template.
4+
description: Learn how to deploy Azure Bastion to a virtual network by using an Azure Resource Manager template.
55
author: abell
66
ms.author: abell
77
ms.service: bastion
88
ms.topic: quickstart
99
ms.date: 06/27/2022
1010
ms.custom: template-quickstart, devx-track-arm-template
11-
Customer intent: As someone with a networking background, I want to deploy Azure Bastion to a virtual machine using a Bastion ARM Template.
11+
#Customer intent: As someone with a networking background, I want to deploy Azure Bastion to a virtual machine by using an ARM template.
1212
---
1313

1414

15-
# Quickstart: Deploy Azure Bastion in a virtual network using an ARM template
15+
# Quickstart: Deploy Azure Bastion to a virtual network by using an ARM template
1616

17-
This quickstart describes how to use Azure Bastion template to deploy to a virtual network.
17+
This quickstart describes how to use an Azure Resource Manager template (ARM template) to deploy Azure Bastion to a virtual network.
1818

1919
An ARM template is a JavaScript Object Notation (JSON) file that defines the infrastructure and configuration for your project. The template uses declarative syntax. In declarative syntax, you describe your intended deployment without writing the sequence of programming commands to create the deployment.
2020

21-
:::image type="content" source="./media/create-host/host-architecture.png" alt-text="Diagram showing Azure Bastion architecture." lightbox="./media/create-host/host-architecture.png":::
21+
The following diagram shows the architecture of Bastion.
2222

23-
If your environment meets the prerequisites and you're familiar with using ARM templates, select the Deploy to Azure button. The template will open in the Azure portal.
23+
:::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":::
24+
25+
If your environment meets the prerequisites and you're familiar with using ARM templates, select the following **Deploy to Azure** button. The template opens in the Azure portal.
2426

2527
[![Deploy to Azure](../media/template-deployments/deploy-to-azure.svg)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fAzure%2fazure-quickstart-templates%2fmaster%2fquickstarts%2fmicrosoft.network%2fazure-bastion-nsg%2fazuredeploy.json)
2628

@@ -29,92 +31,92 @@ If your environment meets the prerequisites and you're familiar with using ARM t
2931
Verify that you have an Azure subscription. If you don't already have an Azure subscription, 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).
3032

3133
> [!NOTE]
32-
> The use of Azure Bastion with Azure Private DNS Zones is not supported at this time. Before you begin, please make sure that the virtual network where you plan to deploy your Bastion resource is not linked to a private DNS zone.
33-
>
34+
> The use of Bastion with Azure Private DNS zones is not supported at this time. Before you begin, make sure that the virtual network where you plan to deploy your Bastion resource is not linked to a private DNS zone.
35+
3436
## Review the template
3537

36-
To view the entire template used for this quickstart, see [Azure Quickstart Templates: Azure Bastion as a Service](https://azure.microsoft.com/resources/templates/azure-bastion-nsg/).
38+
To view the entire template that this quickstart uses, see [Azure Bastion as a Service with NSG](https://azure.microsoft.com/resources/templates/azure-bastion-nsg/).
3739

38-
This template by default, creates an Azure Bastion deployment with a resource group, a virtual network, network security group settings, an AzureBastionSubnet subnet, a bastion host, and a public IP address resource that's used for the bastion host.
40+
By default, this template creates a Bastion deployment with a resource group, a virtual network, network security group (NSG) settings, an AzureBastionSubnet subnet, a bastion host, and a public IP address resource that's used for the bastion host. Here's the purpose of each part of the template:
3941

4042
* [Microsoft.Network/bastionHosts](/azure/templates/microsoft.network/bastionhosts) creates the bastion host.
4143
* [Microsoft.Network/virtualNetworks](/azure/templates/microsoft.network/virtualnetworks) creates a virtual network.
4244
* [Microsoft.Network/virtualNetworks/subnets](/azure/templates/microsoft.network/virtualnetworks/subnets) creates the subnet.
43-
* [Microsoft Network/networkSecurityGroups](/azure/templates/microsoft.network/virtualnetworks/subnets) controls the network security group settings.
44-
* [Microsoft.Network/publicIpAddresses](/azure/templates/microsoft.network/publicIpAddresses) specifies the public IP address value used for the bastion host.
45+
* [Microsoft Network/networkSecurityGroups](/azure/templates/microsoft.network/virtualnetworks/subnets) controls the NSG settings.
46+
* [Microsoft.Network/publicIpAddresses](/azure/templates/microsoft.network/publicIpAddresses) specifies the public IP address value for the bastion host.
4547

4648
### Parameters
4749

48-
| PARAMETER NAME | DESCRIPTION |
50+
| Parameter name | Description |
4951
|--------------------------|--------------------------------------------------------------------------------------|
50-
| Region | Azure region for Bastion and virtual network. |
51-
| vnet-name | Name of new or existing virtual network to which Azure Bastion should be deployed. |
52-
| vnet-ip-prefix | IP prefix for available addresses in virtual network address space. |
53-
| vnet-new-or-existing | Specify whether to deploy new virtual network or deploy to an existing one. |
54-
| bastion-subnet-ip-prefix | Bastion subnet IP prefix MUST be within the virtual network IP prefix address space. |
55-
| bastion-host-name | Name of Azure Bastion resource. |
52+
| `Region` | Azure region for Bastion and the virtual network. |
53+
| `vnet-name` | Name of a new or existing virtual network to which Bastion should be deployed. |
54+
| `vnet-ip-prefix` | IP prefix for available addresses in a virtual network address space. |
55+
| `vnet-new-or-existing` | Choice of whether to deploy new virtual network or deploy to an existing one. |
56+
| `bastion-subnet-ip-prefix` | Bastion subnet IP prefix, which must be within the virtual network IP prefix's address space. |
57+
| `bastion-host-name` | Name of the Bastion resource. |
5658

5759
> [!NOTE]
58-
> To find more templates, see [Azure Quickstart Templates](https://azure.microsoft.com/resources/templates/?resourceType=Microsoft.Network&pageNumber=1&sort=Popular).
59-
>
60+
> To find more templates, see [Azure quickstart templates](https://azure.microsoft.com/resources/templates/?resourceType=Microsoft.Network&pageNumber=1&sort=Popular).
6061
6162
## Deploy the template
6263

6364
> [!IMPORTANT]
6465
> [!INCLUDE [Pricing](../../includes/bastion-pricing.md)]
65-
>
6666
67-
In this section, you'll deploy Bastion using the **Deploy to Azure** button below or in the Azure portal. You don't connect and sign in to your virtual machine or deploy Bastion from your VM directly.
67+
In this section, you deploy Bastion by using the Azure portal. You don't connect and sign in to your virtual machine or deploy Bastion directly from your VM.
6868

6969
1. Sign in to the [Azure portal](https://portal.azure.com).
70-
1. Select the **Deploy to Azure** button below.
70+
1. Select the following **Deploy to Azure** button:
7171

7272
[![Deploy to Azure](../media/template-deployments/deploy-to-azure.svg)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fAzure%2fazure-quickstart-templates%2fmaster%2fquickstarts%2fmicrosoft.network%2fazure-bastion-nsg%2fazuredeploy.json)
7373

74-
1. In the **Azure Bastion as a Service: Azure Quickstart Template**, enter or select the following information.
74+
1. In the **Azure Bastion as a Service** template, enter or select information on the **Basics** tab. Keep these considerations in mind:
7575

76-
* If you're using the template for a test environment, you can use the example values specified.
77-
* To view the template, click **Edit template**. On this page, you can adjust some of the values such as address space or the name of certain resources. **Save** to save your changes, or **Discard**.
78-
* If you decide to create your bastion host in an existing VNet, make sure to fill in the values for the template as they are in your deployed environment, or the template will fail.
76+
* If you're using the template for a test environment, you can use the example values that this step provides.
77+
* To view the template, select **Edit template**. On this page, you can adjust some of the values, such as the address space or the name of certain resources. Select **Save** to save your changes, or select **Discard** to discard them.
78+
* If you decide to create your bastion host in an existing virtual network, be sure to fill in the values for the template as they exist in your deployed environment, or the template will fail.
7979

80-
:::image type="content" source="./media/quickstart-host-arm-template/bastion-template-values.png" alt-text="Screenshot of Bastion ARM template example values." lightbox="./media/quickstart-host-arm-template/bastion-template-values.png":::
80+
:::image type="content" source="./media/quickstart-host-arm-template/bastion-template-values.png" alt-text="Screenshot of example values for an Azure Bastion ARM template." lightbox="./media/quickstart-host-arm-template/bastion-template-values.png":::
8181

8282
| Setting | Example value |
8383
|--------------------------|--------------------------------|
84-
| Subscription | Select your Azure subscription |
85-
| Resource Group |Select **Create new** enter **TestRG1**, and select **OK** |
86-
| Region | Enter **East US** |
87-
| vnet-name | Enter **VNet1** |
88-
| vnet-ip-prefix | Enter **10.1.0.0/16** |
89-
| vnet-new-or-existing | Select **new** |
90-
| bastion-subnet-ip-prefix | Enter **10.1.1.0/24** |
91-
| bastion-host-name | Enter **TestBastionHost** |
92-
93-
1. Select the **Review + create** tab or select the **Review + create** button. Select **Create**.
94-
1. The deployment will complete within 10 minutes. You can view the progress on the template **Overview** page. If you close the portal, deployment will continue.
84+
| **Subscription** | Select your Azure subscription. |
85+
| **Resource group** |Select **Create new**, enter **TestRG1**, and then select **OK**. |
86+
| **Region** | Enter **East US**. |
87+
| **Vnet-name** | Enter **VNet1**. |
88+
| **Vnet-ip-prefix** | Enter **10.1.0.0/16**. |
89+
| **Vnet-new-or-existing** | Select **new**. |
90+
| **Bastion-subnet-ip-prefix** | Enter **10.1.1.0/24**. |
91+
| **Bastion-host-name** | Enter **TestBastionHost**. |
92+
93+
1. Select the **Review + create** tab, or select the **Review + create** button. Select **Create**.
94+
1. The deployment finishes within 10 minutes. You can view the progress on the template **Overview** pane. If you close the portal, deployment continues.
9595

9696
## Validate the deployment
9797

98-
In this section, you'll validate the deployment of Azure Bastion.
98+
To validate the deployment of Bastion:
9999

100100
1. Sign in to the [Azure portal](https://portal.azure.com).
101101
1. Select the **TestRG1** resource group that you created in the previous section.
102-
1. From the Overview page of the resource group, scroll down to **Resources** in the middle pane. Validate the Bastion resource.
103-
:::image type="content" source="./media/quickstart-host-arm-template/bastion-validate-deployment-full.png" alt-text="Screenshot shows the Azure Bastion resource." lightbox="./media/quickstart-host-arm-template/bastion-validate-deployment.png":::
102+
1. From the **Overview** pane of the resource group, scroll down to the **Resources** tab. Validate the Bastion resource.
103+
104+
:::image type="content" source="./media/quickstart-host-arm-template/bastion-validate-deployment-full.png" alt-text="Screenshot that shows the Azure Bastion resource in a resource group." lightbox="./media/quickstart-host-arm-template/bastion-validate-deployment.png":::
104105

105106
## Clean up resources
106107

107-
When you're done using the virtual network and the virtual machines, delete the resource group and all of the resources it contains:
108+
When you finish using the virtual network and the virtual machines, delete the resource group and all of the resources that it contains:
108109

109-
1. Enter the name of your resource group in the **Search** box at the top of the portal and select it from the search results.
110+
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.
110111
1. Select **Delete resource group**.
111-
1. Enter your resource group for **TYPE THE RESOURCE GROUP NAME** and select **Delete**.
112+
1. Enter your resource group for **TYPE THE RESOURCE GROUP NAME**, and then select **Delete**.
112113

113114
## Next steps
114115

115-
In this quickstart, you deployed Bastion using the Bastion ARM template, and then connected to a virtual machine securely via Bastion. Next, you can continue with the following steps if you want to copy and paste to your virtual machine.
116+
In this quickstart, you deployed Bastion by using an ARM template. You then connected to a virtual machine securely via Bastion. Continue with the following steps if you want to copy and paste to your virtual machine.
116117

117118
> [!div class="nextstepaction"]
118119
> [Quickstart: Create a Windows virtual machine in the Azure portal](../virtual-machines/windows/quick-create-portal.md)
119120
121+
> [!div class="nextstepaction"]
120122
> [Create an RDP connection to a Windows VM using Azure Bastion](../bastion/bastion-connect-vm-rdp-windows.md)

0 commit comments

Comments
 (0)