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
Get started creating a Private Link service that refers to your service. Give Private Link access to your service or resource deployed behind an Azure Standard Load Balancer. Users of your service have private access from their virtual network.
17
17
18
+
:::image type="content" source="./media/create-private-link-service-portal/private-link-service-qs-resources.png" alt-text="Diagram of resources created in private endpoint quickstart.":::
19
+
18
20
## Prerequisites
19
21
20
22
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
21
-
- Azure PowerShell installed locally or Azure Cloud Shell
22
23
23
-
If you choose to install and use PowerShell locally, this article requires the Azure PowerShell module version 5.4.1 or later. Run `Get-Module -ListAvailable Az` to find the installed version. If you need to upgrade, see [Install Azure PowerShell module](/powershell/azure/install-azure-powershell). If you're running PowerShell locally, you also need to run `Connect-AzAccount` to create a connection with Azure.
24
+
- Azure Cloud Shell or Azure PowerShell.
25
+
26
+
The steps in this quickstart run the Azure PowerShell cmdlets interactively in [Azure Cloud Shell](/azure/cloud-shell/overview). To run the commands in the Cloud Shell, select **Open Cloudshell** at the upper-right corner of a code block. Select **Copy** to copy the code and then paste it into Cloud Shell to run it. You can also run the Cloud Shell from within the Azure portal.
27
+
28
+
You can also [install Azure PowerShell locally](/powershell/azure/install-azure-powershell) to run the cmdlets. The steps in this article require Azure PowerShell module version 5.4.1 or later. Run `Get-Module -ListAvailable Az` to find your installed version. If you need to upgrade, see [Update the Azure PowerShell module](/powershell/azure/install-Az-ps#update-the-azure-powershell-module).
29
+
30
+
If you run PowerShell locally, run `Connect-AzAccount` to connect to Azure.
24
31
25
32
## Create a resource group
26
33
@@ -29,13 +36,13 @@ An Azure resource group is a logical container into which Azure resources are de
29
36
Create a resource group with [New-AzResourceGroup](/powershell/module/az.resources/new-azresourcegroup):
## Create the private link service for the load balancer. ##
186
193
$privlinksettings = @{
187
-
Name = 'myPrivateLinkService'
188
-
ResourceGroupName = 'CreatePrivLinkService-rg'
194
+
Name = 'private-link-service'
195
+
ResourceGroupName = 'test-rg'
189
196
Location = 'eastus2'
190
197
LoadBalancerFrontendIpConfiguration = $fe
191
198
IpConfiguration = $ipconfig
@@ -198,7 +205,7 @@ Your private link service is created and can receive traffic. If you want to see
198
205
199
206
## Create private endpoint
200
207
201
-
In this section, you'll map the private link service to a private endpoint. A virtual network contains the private endpoint for the private link service. This virtual network contains the resources that will access your private link service.
208
+
In this section, you map the private link service to a private endpoint. A virtual network contains the private endpoint for the private link service. This virtual network contains the resources that access your private link service.
202
209
203
210
### Create private endpoint virtual network
204
211
@@ -207,17 +214,17 @@ In this section, you'll map the private link service to a private endpoint. A vi
When no longer needed, you can use the [Remove-AzResourceGroup](/powershell/module/az.resources/remove-azresourcegroup) command to remove the resource group, load balancer, and the remaining resources.
0 commit comments