You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: 'Tutorial: Deploy Bastion using manual settings: Azure portal'
2
+
title: 'Tutorial: Deploy Bastion: Azure portal'
3
3
description: Learn how to deploy Bastion using manual settings using the Azure portal.
4
4
services: bastion
5
5
author: cherylmc
6
6
ms.service: bastion
7
7
ms.topic: tutorial
8
-
ms.date: 02/25/2022
8
+
ms.date: 02/28/2022
9
9
ms.author: cherylmc
10
10
ms.custom: ignite-fall-2021
11
11
---
12
12
13
13
# Tutorial: Deploy Bastion using manual settings: Azure portal
14
14
15
-
This tutorial shows you how to deploy Azure Bastion to your virtual network from the Azure portal using manual settings that you specify. While you can [deploy Bastion using VM settings](quickstart-host-portal.md), deploying Bastion using manual settings lets you specify granular settings for the bastion host. After you deploy Bastion, the RDP/SSH experience is available to all of the virtual machines in the virtual network. Azure Bastion is a PaaS service that is maintained for you, not a bastion host that you install on one of your VMs. For more information about Azure Bastion, see [What is Azure Bastion?](bastion-overview.md)
15
+
This tutorial helps you deploy Azure Bastion from the Azure portal using manual settings. When you use manual settings, you can specify configuration values such as instance counts and the SKU at the time of deployment. After Bastion is deployed, you can connect (SSH/RDP) to virtual machines in the virtual network via Bastion using the private IP address of the VM. When you connect to a VM, it doesn't need a public IP address, client software, agent, or a special configuration.
16
16
17
-
In this tutorial, you deploy Bastion using the Standard SKU tier and adjust host scaling (instance count). After the deployment is complete, you connect to your VM via private IP address. The VM you connect to doesn't need a public IP address, client software, agent, or a special configuration. If your VM has a public IP address that you don't need for anything else, you can remove it.
17
+
In this tutorial, you deploy Bastion using the Standard SKU tier and adjust host scaling (instance count). After the deployment is complete, you connect to your VM via private IP address. If your VM has a public IP address that you don't need for anything else, you can remove it.
18
+
19
+
Azure Bastion is a PaaS service that's maintained for you, not a bastion host that you install on one of your VMs and maintain yourself. For more information about Azure Bastion, see [What is Azure Bastion?](bastion-overview.md)
18
20
19
21
In this tutorial, you'll learn how to:
20
22
21
23
> [!div class="checklist"]
22
-
> *Create a bastion host for your VNet.
23
-
> * Connect to a Windows virtual machine.
24
+
> *Deploy Bastion to your VNet.
25
+
> * Connect to a virtual machine.
24
26
> * Remove the public IP address from a virtual machine.
25
27
26
28
If you don’t have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
27
29
28
30
## Prerequisites
29
31
30
32
* A [virtual network](../virtual-network/quick-create-portal.md). This will be the VNet to which you deploy Bastion.
31
-
* A Windows virtual machine in the virtual network. This VM isn't a part of the Bastion configuration and doesn't become a bastion host. You connect to this VM later via Bastion. If you don't have a VM, create one using [Quickstart: Create a VM](../virtual-machines/windows/quick-create-portal.md).
32
-
* The following required roles for your resources:
33
-
* Required VM roles:
34
-
* Reader role on the virtual machine.
35
-
* Reader role on the NIC with private IP of the virtual machine.
33
+
* A virtual machine in the virtual network. This VM isn't a part of the Bastion configuration and doesn't become a bastion host. You connect to this VM later in this tutorial via Bastion. If you don't have a VM, create one using [Quickstart: Create a VM](../virtual-machines/windows/quick-create-portal.md).
34
+
* The following required roles for your resources.
35
+
36
+
* Required VM roles:
36
37
37
-
* Ports: To connect to the Windows VM, you must have the following ports open on your Windows VM:
38
-
* Inbound ports: RDP (3389)
38
+
* Reader role on the virtual machine.
39
+
* Reader role on the NIC with private IP of the virtual machine.
39
40
41
+
* Required inbound ports:
40
42
41
-
>[!NOTE]
42
-
>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.
43
+
* For Windows VMS - RDP (3389)
44
+
* For Linux VMs - SSH (22)
45
+
46
+
> [!NOTE]
47
+
> 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.
43
48
>
44
49
45
50
### <aname="values"></a>Example values
@@ -71,80 +76,79 @@ You can use the following example values when creating this configuration, or yo
71
76
| Public IP address SKU | Standard |
72
77
| Assignment | Static |
73
78
74
-
>[!IMPORTANT]
75
-
>For Azure Bastion resources deployed on or after November 2, 2021, the minimum AzureBastionSubnet size is /26 or larger (/25, /24, etc.). All Azure Bastion resources deployed in subnets of size /27 prior to this date are unaffected by this change and will continue to work, but we highly recommend increasing the size of any existing AzureBastionSubnet to /26 in case you choose to take advantage of [host scaling](./configure-host-scaling.md) in the future.
79
+
>[!IMPORTANT]
80
+
>For Azure Bastion resources deployed on or after November 2, 2021, the minimum AzureBastionSubnet size is /26 or larger (/25, /24, etc.). All Azure Bastion resources deployed in subnets of size /27 prior to this date are unaffected by this change and will continue to work, but we highly recommend increasing the size of any existing AzureBastionSubnet to /26 in case you choose to take advantage of [host scaling](./configure-host-scaling.md) in the future.
76
81
>
77
82
78
-
## <aname="createhost"></a>Create a bastion host
83
+
## <aname="createhost"></a>Deploy Bastion
79
84
80
-
This section helps you create the bastion object in your VNet. This is required in order to create a secure connection to a VM in the VNet.
85
+
This section helps you deploy Bastion to your VNet. Once Bastion is deployed, you can connect securely to any VM in the VNet using its private IP address.
81
86
82
87
1. Sign in to the [Azure portal](https://portal.azure.com).
83
-
1. Type **Bastion**into the search.
88
+
1. Type **Bastion**in the search.
84
89
1. Under services, select **Bastions**.
85
90
1. On the Bastions page, select **+ Create** to open the **Create a Bastion** page.
86
-
1. On the **Create a Bastion** page, configure a new Bastion resource.
91
+
1. On the **Create a Bastion** page, configure the required settings.
87
92
88
-
:::image type="content" source="./media/tutorial-create-host-portal/review-create.png" alt-text="Screenshot of Create a Bastion portal page." lightbox="./media/tutorial-create-host-portal/create.png":::
93
+
:::image type="content" source="./media/tutorial-create-host-portal/review-create.png" alt-text="Screenshot of Create a Bastion portal page." lightbox="./media/tutorial-create-host-portal/review-create.png":::
89
94
90
95
### Project details
91
96
92
-
***Subscription**: The Azure subscription you want to use.
97
+
***Subscription**: Select your Azure subscription.
93
98
94
-
***Resource Group**: The Azure resource group in which the new Bastion resource will be created. If you don't have an existing resource group, you can create a new one.
99
+
***Resource Group**: Select your Resource Group.
95
100
96
101
### Instance details
97
102
98
-
***Name**: The name of the new Bastion resource.
103
+
***Name**: Type the name that you want to use for your bastion resource.
99
104
100
105
***Region**: The Azure public region in which the resource will be created. Choose the region in which your virtual network resides.
101
106
102
-
***Tier:** The tier is also known as the **SKU**. For this tutorial, we select the **Standard** SKU from the dropdown. Selecting the Standard SKU lets you configure the instance count for host scaling. The Basic SKU doesn't support host scaling. For more information about features that require te Standard SKU, see [Configuration settings - SKU](configuration-settings.md#skus).
107
+
***Tier:** The tier is also known as the **SKU**. For this tutorial, select **Standard**. The Standard SKU lets you configure the instance count for host scaling and other features. For more information about features that require the Standard SKU, see [Configuration settings - SKU](configuration-settings.md#skus).
103
108
104
-
***Instance count:** This is the setting for **host scaling** and configured in scale unit increments. Use the slider to configure the instance count. If you specified the Basic tier SKU, you can’t configure this setting. For more information, see [Configuration settings - host scaling](configuration-settings.md#instance). In this tutorial, you can select the instance count you'd prefer, keeping in mind any scale unit [pricing](https://azure.microsoft.com/pricing/details/azure-bastion) considerations.
109
+
***Instance count:** This is the setting for **host scaling**. It's configured in scale unit increments. Use the slider or type a number to configure the instance count that you want. For this tutorial, you can select the instance count you'd prefer. For more information, see [Host scaling](configuration-settings.md#instance) and [Pricing](https://azure.microsoft.com/pricing/details/azure-bastion).
105
110
106
111
### Configure virtual networks
107
112
108
-
***Virtual network**: The virtual network in which the Bastion resource will be created. You can create a new virtual network in the portal during this process, or use an existing virtual network. If you're using an existing virtual network, make sure the existing virtual network has enough free address space to accommodate the Bastion subnet requirements. If you don't see your virtual network from the dropdown, make sure you've selected the correct Resource Group.
113
+
***Virtual network**: Select your virtual network. If youdon't see your VNet in the dropdown list, make sure you selected the correct Resource Group and Region in the previous settings on this page.
109
114
110
-
***Subnet**: Once you create or select a virtual network, the subnet field appears on the page. This is the subnet in which your Bastion instances will be deployed. The name must be **AzureBastionSubnet**. See the following steps to add the subnet.
115
+
***Subnet**: Once select a virtual network, the subnet field appears on the page. This is the subnet to which your Bastion instances will be deployed. In most cases, you won't already have the subnet **AzureBastionSubnet** configured. The subnet name must be **AzureBastionSubnet**. See the following steps to add the subnet.
111
116
112
117
#### Manage subnet configuration
113
118
114
-
In most cases, you won't already have an AzureBastionSubnet configured. To configure the bastion subnet:
119
+
To configure the bastion subnet:
115
120
116
121
1. Select **Manage subnet configuration**. This takes you to the **Subnets** page.
117
122
118
-
:::image type="content" source="./media/tutorial-create-host-portal/subnet.png" alt-text="Screenshot of Manage subnet configuration.":::
119
-
1. On the **Subnets** page, select **+Subnet** to open the **Add subnet** page.
123
+
:::image type="content" source="./media/tutorial-create-host-portal/subnet.png" alt-text="Screenshot of Manage subnet configuration." lightbox="./media/tutorial-create-host-portal/subnet.png":::
124
+
1. On the **Subnets** page, select **+Subnet** to open the **Add subnet** page.
120
125
121
126
1. Create a subnet using the following guidelines:
122
127
123
128
* The subnet must be named **AzureBastionSubnet**.
124
-
* The subnet must be at least /26 or larger. For the Standard SKU, we recommend /26 or larger to accommodate future additional host scaling instances.
125
-
126
-
:::image type="content" source="./media/tutorial-create-host-portal/bastion-subnet.png" alt-text="Screenshot of the AzureBastionSubnet subnet.":::
129
+
* The subnet must be at least **/26 or larger** (/26, /25, /24 etc.) to accommodate features available with the Standard SKU.
127
130
128
-
1. You don't need to fill out additional fields on this page. Select **Save** at the bottom of the page to save the settings and close the **Add subnet** page.
131
+
1. You don't need to fill out additional fields on this page. Select **Save** at the bottom of the page to create the subnet.
129
132
130
133
1. At the top of the **Subnets** page, select **Create a Bastion** to return to the Bastion configuration page.
131
134
132
-
:::image type="content" source="./media/tutorial-create-host-portal/create-a-bastion.png" alt-text="Screenshot of Create a Bastion.":::
135
+
:::image type="content" source="./media/tutorial-create-host-portal/create-a-bastion.png" alt-text="Screenshot of Create a Bastion."lightbox="./media/tutorial-create-host-portal/create-a-bastion.png":::
133
136
134
137
### Public IP address
135
138
136
-
The public IP address of the Bastion resource on which RDP/SSH will be accessed (over port 443). Create a **new public IP address**. The public IP address must be in the same region as the Bastion resource you're creating. This IP address doesn't have anything to do with any of the VMs that you want to connect to. It's the public IP address for the Bastion host resource.
139
+
This is the public IP address of the Bastion host resource on which RDP/SSH will be accessed (over port 443). The public IP address must be in the same region as the Bastion resource you're creating. This IP address doesn't have anything to do with any of the VMs that you want to connect to.
137
140
138
-
***Public IP address name**: The name of the public IP address resource. For this tutorial, you can leave the default.
139
-
***Public IP address SKU**: This setting is prepopulated by default to **Standard**. Azure Bastion uses/supports only the Standard public IP SKU.
140
-
***Assignment**: This setting is prepopulated by default to **Static**.
141
+
1. Select **Create new**.
142
+
1. For **Public IP address name**, you can leave the default naming suggestion.
143
+
1. For **Public IP address SKU**, this setting is prepopulated by default to **Standard**. Azure Bastion supports only the Standard public IP address SKU.
144
+
1. For **Assignment**, this setting is prepopulated by default to **Static**. You can't change this setting.
141
145
142
146
### Review and create
143
147
144
-
1. When you finish specifying the settings, select **Review + Create**. This validates the values. Once validation passes, you can create the Bastion resource.
145
-
1. Review your settings.
148
+
1. When you finish specifying the settings, select **Review + Create**. This validates the values. Once validation passes, you can deploy Bastion.
149
+
1. Review your settings.
146
150
1. At the bottom of the page, select **Create**.
147
-
1. You'll see a message letting you know that your deployment is underway. Status will display on this page as the resources are created. It takes about 5 minutes for the Bastion resource to be created and deployed.
151
+
1. You'll see a message letting you know that your deployment is underway. Status will display on this page as the resources are created. It takes about 10 minutes for the Bastion resource to be created and deployed.
148
152
149
153
## Connect to a VM
150
154
@@ -165,7 +169,7 @@ your resources using the following steps:
165
169
166
170
## Next steps
167
171
168
-
In this tutorial, you created a Bastion host and associated it to a virtual network. You then removed the public IP address from a VM and connected to it. You may choose to use Network Security Groups with your Azure Bastion subnet. To do so, see:
172
+
In this tutorial, you deployed Bastion to a virtual network and connected to a VM. You then removed the public IP address from the VM. Next, configure additional Bastion features.
169
173
170
174
> [!div class="nextstepaction"]
171
-
> [Work with NSGs](bastion-nsg.md)
175
+
> [Bastion features and configuration settings](configuration-settings.md)
0 commit comments