Skip to content

Commit bec16fb

Browse files
authored
Merge pull request #190311 from cherylmc/deploy
updates for new features
2 parents 362186c + 17615a0 commit bec16fb

File tree

3 files changed

+47
-27
lines changed

3 files changed

+47
-27
lines changed

articles/bastion/bastion-create-host-powershell.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: 'Deploy Bastion:PowerShell'
3+
titleSuffix: Azure Bastion
34
description: Learn how to deploy Azure Bastion using PowerShell.
45
author: cherylmc
56
ms.service: bastion
@@ -20,7 +21,7 @@ You can also deploy Bastion by using the following other methods:
2021

2122
* [Azure portal](./tutorial-create-host-portal.md)
2223
* [Azure CLI](create-host-cli.md)
23-
* [ Quickstart - deploy with default settings](quickstart-host-portal.md)
24+
* [Quickstart - deploy with default settings](quickstart-host-portal.md)
2425

2526
## Prerequisites
2627

@@ -64,10 +65,6 @@ This section helps you deploy Azure Bastion using Azure PowerShell.
6465
$bastion = New-AzBastion -ResourceGroupName "myBastionRG" -Name "myBastion" -PublicIpAddress $publicip -VirtualNetwork $vnet
6566
```
6667

67-
## <a name="ip"></a>Disassociate VM public IP address
68-
69-
Azure Bastion doesn't use the public IP address to connect to the client VM. If you don't need the public IP address for your VM, you can disassociate the public IP address. See [Dissociate a public IP address from an Azure VM](../virtual-network/ip-services/remove-public-ip-address-vm.md).
70-
7168
## <a name="connect"></a>Connect to a VM
7269

7370
You can use any of the following articles to connect to a VM that's located in the virtual network to which you deployed Bastion. You can also use the [Connection steps](#steps) in the section below. Some connection types require the [Standard SKU](configuration-settings.md#skus).
@@ -76,7 +73,11 @@ You can use any of the following articles to connect to a VM that's located in t
7673

7774
### <a name="steps"></a>Connection steps
7875

79-
[!INCLUDE [Links to Connect to VM articles](../../includes/bastion-vm-connect.md)]
76+
[!INCLUDE [Connection steps](../../includes/bastion-vm-connect.md)]
77+
78+
## <a name="ip"></a>Remove VM public IP address
79+
80+
Azure Bastion doesn't use the public IP address to connect to the client VM. If you don't need the public IP address for your VM, you can disassociate the public IP address. See [Dissociate a public IP address from an Azure VM](../virtual-network/ip-services/remove-public-ip-address-vm.md).
8081

8182
## Next steps
8283

articles/bastion/create-host-cli.md

Lines changed: 39 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,46 @@
11
---
2-
title: 'Create a Bastion host using Azure CLI | Azure Bastion'
3-
description: Learn how to create and delete a bastion host using Azure CLI.
4-
services: bastion
2+
title: 'Deploy Bastion:CLI'
3+
titleSuffix: Azure Bastion
4+
description: Learn how to deploy Azure Bastion using CLI
55
author: cherylmc
66
ms.service: bastion
77
ms.topic: how-to
8-
ms.date: 09/22/2021
8+
ms.date: 03/02/2022
99
ms.author: cherylmc
10-
# Customer intent: As someone with a networking background, I want to create an Azure Bastion host.
10+
# Customer intent: As someone with a networking background, I want to deploy Bastion and connect to a VM.
1111
ms.custom: ignite-fall-2021, devx-track-azurecli
1212
ms.devlang: azurecli
1313
---
1414

15-
# Create an Azure Bastion host using Azure CLI
15+
# Deploy Bastion using Azure CLI
1616

17-
This article shows you how to create an Azure Bastion host using Azure CLI. Once you provision the Azure Bastion service in your virtual network, the seamless RDP/SSH experience is available to all of the VMs in the same virtual network. Azure Bastion deployment is per virtual network, not per subscription/account or virtual machine.
17+
This article shows you how to deploy Azure Bastion using CLI. Azure Bastion is a PaaS service that's maintained for you, not a bastion host that you install on your VM and maintain yourself. An Azure Bastion deployment is per virtual network, not per subscription/account or virtual machine. For more information about Azure Bastion, see [What is Azure Bastion?](bastion-overview.md)
18+
19+
Once you deploy Bastion to your virtual network, you can connect to your VMs via private IP address. This seamless RDP/SSH experience is available to all the VMs in the same virtual network. If your VM has a public IP address that you don't need for anything else, you can remove it.
20+
21+
You can also deploy Bastion by using the following other methods:
1822

19-
Optionally, you can create an Azure Bastion host by using the following methods:
2023
* [Azure portal](./tutorial-create-host-portal.md)
2124
* [Azure PowerShell](bastion-create-host-powershell.md)
22-
23-
[!INCLUDE [About skus](../../includes/bastion-sku-note.md)]
25+
* [Quickstart - deploy with default settings](quickstart-host-portal.md)
2426

2527
## Prerequisites
2628

29+
### Azure subscription
30+
2731
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).
2832

33+
### Azure CLI
34+
2935
[!INCLUDE [Cloud Shell CLI](../../includes/vpn-gateway-cloud-shell-cli.md)]
3036

31-
> [!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-
>
37+
> [!NOTE]
38+
> 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.
39+
>
3440
35-
## <a name="createhost"></a>Create a bastion host
41+
## <a name="createhost"></a>Deploy Bastion
3642

37-
This section helps you create a new Azure Bastion resource using Azure CLI.
43+
This section helps you deploy Azure Bastion using Azure CLI.
3844

3945
> [!NOTE]
4046
> As shown in the examples, use the `--location` parameter with `--resource-group` for every command to ensure that the resources are deployed together.
@@ -47,22 +53,35 @@ This section helps you create a new Azure Bastion resource using Azure CLI.
4753
az network vnet create --resource-group MyResourceGroup --name MyVnet --address-prefix 10.0.0.0/16 --subnet-name AzureBastionSubnet --subnet-prefix 10.0.0.0/24 --location northeurope
4854
```
4955

50-
2. Create a public IP address for Azure Bastion. The public IP is the public IP address the Bastion 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 are creating.
56+
1. Create a public IP address for Azure Bastion. The public IP is the public IP address the Bastion 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.
57+
58+
The following example uses the **Standard SKU**. The Standard SKU lets you configure more Bastion features and connect to VMs using more connection types. For more information, see [Bastion SKUs](configuration-settings.md#skus).
5159

5260
```azurecli-interactive
5361
az network public-ip create --resource-group MyResourceGroup --name MyIp --sku Standard --location northeurope
5462
```
5563

56-
3. Create a new Azure Bastion resource in the AzureBastionSubnet of your virtual network. It takes about 5 minutes for the Bastion resource to create and deploy.
64+
1. Create a new Azure Bastion resource in the AzureBastionSubnet of your virtual network. It takes about 10 minutes for the Bastion resource to create and deploy.
5765

5866
```azurecli-interactive
5967
az network bastion create --name MyBastion --public-ip-address MyIp --resource-group MyResourceGroup --vnet-name MyVnet --location northeurope
6068
```
61-
## Disassociate the VM public IP address
6269

63-
Azure Bastion does not use the public IP address to connect to the client VM. If you do not need the public IP address for your VM, you can disassociate the public IP address by using the steps in this article: [Dissociate a public IP address from an Azure VM](../virtual-network/ip-services/remove-public-ip-address-vm.md).
70+
## <a name="connect"></a>Connect to a VM
71+
72+
You can use any of the following articles to connect to a VM that's located in the virtual network to which you deployed Bastion. You can also use the [Connection steps](#steps) in the section below. Some connection types require the [Standard SKU](configuration-settings.md#skus).
73+
74+
[!INCLUDE [Links to Connect to VM articles](../../includes/bastion-vm-table.md)]
75+
76+
### <a name="steps"></a>Connection steps
77+
78+
[!INCLUDE [Connection steps](../../includes/bastion-vm-connect.md)]
79+
80+
## <a name="ip"></a>Remove VM public IP address
81+
82+
Azure Bastion doesn't use the public IP address to connect to the client VM. If you don't need the public IP address for your VM, you can disassociate the public IP address. See [Dissociate a public IP address from an Azure VM](../virtual-network/ip-services/remove-public-ip-address-vm.md).
6483

6584
## Next steps
6685

67-
* Read the [Bastion FAQ](bastion-faq.md) for additional information.
6886
* To use Network Security Groups with the Azure Bastion subnet, see [Work with NSGs](bastion-nsg.md).
87+
* To understand VNet peering, see [VNet peering and Azure Bastion](vnet-peering.md).

articles/bastion/tutorial-create-host-portal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.author: cherylmc
1010
ms.custom: ignite-fall-2021
1111
---
1212

13-
# Tutorial: Deploy Bastion using manual settings: Azure portal
13+
# Tutorial: Deploy Bastion using the Azure portal
1414

1515
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.
1616

0 commit comments

Comments
 (0)