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
@@ -23,13 +19,6 @@ Deploying with public access disabled adds additional cost to your deployment. P
23
19
1.`AZURE_USE_PRIVATE_ENDPOINT`: Controls deployment of [private endpoints](https://learn.microsoft.com/azure/private-link/private-endpoint-overview) which connect Azure resources to the virtual network.
24
20
1. When set to 'true', ensures private endpoints are deployed for connectivity even when `AZURE_PUBLIC_NETWORK_ACCESS` is 'Disabled'.
25
21
1. Note that private endpoints do not make the chat app accessible from the internet. Connections must be initiated from inside the virtual network.
26
-
1.`AZURE_PROVISION_VM`: Controls deployment of a [virtual machine](https://learn.microsoft.com/azure/virtual-machines/overview) and [Azure Bastion](https://learn.microsoft.com/azure/bastion/bastion-overview). Azure Bastion allows you to securely connect to the virtual machine, without being connected virtual network. Since the virtual machine is connected to the virtual network, you are able to access the chat app.
27
-
1. You must set `AZURE_VM_USERNAME` and `AZURE_VM_PASSWORD` to provision the built-in administrator account with the virtual machine so you can log in through Azure Bastion.
28
-
1. By default, a server version of Windows is used for the VM. If you need to [enroll your device in Microsoft Intune](https://learn.microsoft.com/mem/intune/user-help/enroll-windows-10-device), you should use a desktop version of Windows by setting the following environment variables:
29
-
30
-
*`azd env set AZURE_VM_OS_PUBLISHER MicrosoftWindowsDesktop`
31
-
*`azd env set AZURE_VM_OS_OFFER Windows-11`
32
-
*`azd env set AZURE_VM_OS_VERSION win11-23h2-pro`
33
22
34
23
## Recommended deployment strategy for private access
35
24
@@ -46,10 +35,7 @@ Deploying with public access disabled adds additional cost to your deployment. P
46
35
47
36
```shell
48
37
azd env set AZURE_PUBLIC_NETWORK_ACCESS Disabled
49
-
azd env set AZURE_PROVISION_VM true# Optional but recommended
50
-
azd env set AZURE_VM_USERNAME myadminusername # https://learn.microsoft.com/azure/virtual-machines/windows/faq#what-are-the-username-requirements-when-creating-a-vm-
51
-
azd env set AZURE_VM_PASSWORD mypassword # https://learn.microsoft.com/azure/virtual-machines/windows/faq#what-are-the-password-requirements-when-creating-a-vm-
52
38
azd provision
53
39
```
54
40
55
-
1. Log into your new VM using [Azure Bastion](https://learn.microsoft.com/azure/bastion/tutorial-create-host-portal#connect). Validate the chat app is accessible from the virtual machine using a web browser.
41
+
1. Log into your network using a tool like [Azure VPN Gateway](https://azure.microsoft.com/services/vpn-gateway/) and validate that you can connect to the chat app from inside the network.
0 commit comments