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
Task 544784: Replace RDP/Remote Desktop with Bastion
- Changed VM-Spoke-01 from Windows to Ubuntu 22.04 LTS
- Changed VM-Onprem from Windows to Ubuntu 22.04 LTS
- Replaced password authentication with SSH keys (Azure-generated)
- Updated network rule from AllowRDP to AllowSSH (port 22)
- Replaced IIS with Nginx installation via Azure CLI
- Added AzureBastionSubnet (10.5.3.0/26) to VNet-Hub
- Deployed Azure Bastion with Developer SKU
- Removed public inbound ports from VM-Onprem
- Updated testing section to use Bastion SSH instead of RDP
- Replaced web browser testing with curl commands
- Removed screenshot reference for web page
Create a virtual machine that you use to connect via remote access to the public IP address. From there, you can connect to the spoke server through the firewall.
419
+
Create a virtual machine that you use to connect via Azure Bastion. From there, you can connect to the spoke server through the firewall.
419
420
420
421
1. On the Azure portal home page, select **Create a resource**.
421
-
1. Under **Popular**, select **Windows Server 2019 Datacenter**.
422
+
1. Under **Popular**, select **Ubuntu Server 22.04 LTS**.
422
423
1. Enter these values for the virtual machine:
423
424
-**Resource group**: Select **Existing**, and then select **RG-fw-hybrid-test**.
424
425
-**Virtual machine name**: Enter **VM-Onprem**.
425
426
-**Region**: Select the same region that you used previously.
426
-
-**User name**: Enter a username.
427
-
-**Password**: Enter a user password.
428
-
1. For **Public inbound ports**, select **Allow selected ports**, and then select **RDP (3389)**.
427
+
-**Image**: Ubuntu Server 22.04 LTS - x64 Gen2
428
+
-**Size**: Standard_B2s
429
+
-**Authentication type**: SSH public key
430
+
-**Username**: **azureuser**
431
+
-**SSH public key source**: Generate new key pair
432
+
-**Key pair name**: **VM-Onprem_key**
433
+
1. For **Public inbound ports**, select **None**.
429
434
1. Select **Next: Disks**.
430
435
1. Accept the defaults and select **Next: Networking**.
431
436
1. For the virtual network, select **VNet-Onprem**. The subnet is **SN-Corp**.
432
437
1. Select **Next: Management**.
433
438
1. Select **Next: Monitoring**.
434
439
1. For **Boot diagnostics**, select **Disable**.
435
440
1. Select **Review+Create**, review the settings on the summary page, and then select **Create**.
441
+
1. On the **Generate new key pair** dialog, select **Download private key and create resource**. Save the key file as **VM-Onprem_key.pem**.
0 commit comments