Skip to content

Commit 6fa6f43

Browse files
committed
Fixing a few bugs and reorganizing info for the articles/redis/private-link.md
1 parent b20cdd5 commit 6fa6f43

File tree

1 file changed

+17
-19
lines changed

1 file changed

+17
-19
lines changed

articles/redis/private-link.md

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ Azure Private Endpoint is a network interface that connects you privately and se
2424

2525
- Azure subscription - [create one for free](https://azure.microsoft.com/free/)
2626

27-
## Create a private endpoint with a new Azure Managed Redis instance
27+
## Create a new Azure Managed Redis instance with Private Endpoint connection
2828

2929
In this section, you create a new Azure Managed Redis instance with a private endpoint.
3030

31-
### Create a virtual network for your new cache
31+
### 1. Create a virtual network with Subnet for your new cache
3232

3333
To create a cache using the portal:
3434

@@ -63,7 +63,7 @@ To create a cache using the portal:
6363

6464
11. Verify that all the information is correct and select **Create** to create the virtual network.
6565

66-
### Create an Azure Managed Redis instance with a private endpoint
66+
### 2. Create an Azure Managed Redis instance with a private endpoint connected to a Virtual Network Subnet
6767

6868
To create a cache instance, follow these steps:
6969

@@ -105,7 +105,7 @@ It takes a while for the cache to create. You can monitor progress on the Azure
105105

106106
In this section, you add a private endpoint to an existing Azure Managed Redis instance.
107107

108-
### Create a virtual network for your existing cache
108+
### 1. Create a virtual network wuth Subnet for your existing cache
109109

110110
To create a virtual network, follow these steps:
111111

@@ -138,7 +138,7 @@ To create a virtual network, follow these steps:
138138

139139
1. Verify that all the information is correct and select **Create** to create the virtual network.
140140

141-
### Create a private endpoint
141+
### 2. Add a private endpoint for your existing Azure Managed Redis
142142

143143
To create a private endpoint, follow these steps:
144144

@@ -181,10 +181,10 @@ To create a private endpoint, follow these steps:
181181

182182
> [!IMPORTANT]
183183
>
184-
> There is a `publicNetworkAccess` flag which is `Disabled` by default.
185-
> You can set the value to `Disabled` or `Enabled`. When set to enabled, this flag allows both public and private endpoint access to the cache. When set to `Disabled`, it allows only private endpoint access. For more information on how to change the value, see the [FAQ](#how-can-i-change-my-private-endpoint-to-be-disabled-or-enabled-from-public-network-access).
186-
>
187-
## Create a private endpoint using Azure PowerShell
184+
> There is currently no `publicNetworkAccess` property for Azure Managed Redis resource.
185+
> If there is a Private Endpoint connected to the Azure Managed Redis resource, it would only accept private traffic from the Virtual Network it's connected to
186+
> If you delete the Private Endpoint, the resource will automatically be opened to public network access
187+
## Create an AMR connected to a private endpoint using Azure PowerShell
188188

189189
To create a private endpoint named _MyPrivateEndpoint_ for an existing Azure Managed Redis instance, run the following PowerShell script. Replace the variable values with the details for your environment:
190190

@@ -205,9 +205,9 @@ $PrivateEndpointName = "MyPrivateEndpoint"
205205
# Location where the private endpoint can be created. The private endpoint should be created in the same location where your subnet or the virtual network exists
206206
$Location = "westcentralus"
207207
208-
$redisCacheResourceId = "/subscriptions/$($SubscriptionId)/resourceGroups/$($ResourceGroupName)/providers/Microsoft.Cache/Redis/$($redisCacheName)"
208+
$redisCacheResourceId = "/subscriptions/$($SubscriptionId)/resourceGroups/$($ResourceGroupName)/providers/Microsoft.Cache/redisEnterprise/$($redisCacheName)"
209209
210-
$privateEndpointConnection = New-AzPrivateLinkServiceConnection -Name "myConnectionPS" -PrivateLinkServiceId $redisCacheResourceId -GroupId "redisCache"
210+
$privateEndpointConnection = New-AzPrivateLinkServiceConnection -Name "myConnectionPS" -PrivateLinkServiceId $redisCacheResourceId -GroupId "redisEnterprise"
211211
212212
$virtualNetwork = Get-AzVirtualNetwork -ResourceGroupName $ResourceGroupName -Name $VNetName
213213
@@ -232,7 +232,7 @@ To remove a private endpoint, use the following PowerShell command:
232232
Remove-AzPrivateEndpoint -Name $PrivateEndpointName -ResourceGroupName $ResourceGroupName
233233
```
234234

235-
## Create a private endpoint using Azure CLI
235+
## Create an AMR connected to a private endpoint using Azure CLI
236236

237237
To create a private endpoint named _myPrivateEndpoint_ for an existing Azure Managed Redis instance, run the following Azure CLI script. Replace the variable values with the details for your environment:
238238

@@ -294,10 +294,14 @@ To remove a private endpoint, use the following CLI command:
294294
```azurecli-interactive
295295
az network private-endpoint delete --name MyPrivateEndpoint --resource-group MyResourceGroup
296296
```
297+
## Azure Managed Redis Private Endpoint Private DNS zone value
298+
Your application should connect to `<cachename>.<region>.redis.azure.net` on port `10000`. A private DNS zone, named `*.privatelink.redis.azure.net`, is automatically created in your subscription. The private DNS zone is vital for establishing the TLS connection with the private endpoint. We recommend avoiding the use of `<cachename>.privatelink.redis.azure.net` in configuration for client connection.
299+
300+
For more information, see [Azure services DNS zone configuration](/azure/private-link/private-endpoint-dns).
301+
297302

298303
## FAQ
299304

300-
- [How do I connect to my cache with private endpoint?](#how-do-i-connect-to-my-cache-with-private-endpoint)
301305
- [Why can't I connect to a private endpoint?](#why-cant-i-connect-to-a-private-endpoint)
302306
- [What features aren't supported with private endpoints?](#what-features-arent-supported-with-private-endpoints)
303307
- [How do I verify if my private endpoint is configured correctly?](#how-do-i-verify-if-my-private-endpoint-is-configured-correctly)
@@ -307,12 +311,6 @@ az network private-endpoint delete --name MyPrivateEndpoint --resource-group MyR
307311
- [Are network security groups (NSG) enabled for private endpoints?](#are-network-security-groups-nsg-enabled-for-private-endpoints)
308312
- [My private endpoint instance isn't in my VNet, so how is it associated with my VNet?](#my-private-endpoint-instance-isnt-in-my-vnet-so-how-is-it-associated-with-my-vnet)
309313

310-
### How do I connect to my cache with private endpoint?
311-
312-
Your application should connect to `<cachename>.<region>.redis.azure.net` on port `10000`. A private DNS zone, named `*.privatelink.redis.azure.net`, is automatically created in your subscription. The private DNS zone is vital for establishing the TLS connection with the private endpoint. We recommend avoiding the use of `<cachename>.privatelink.redis.azure.net` in configuration for client connection.
313-
314-
For more information, see [Azure services DNS zone configuration](/azure/private-link/private-endpoint-dns).
315-
316314
### Why can't I connect to a private endpoint?
317315

318316
- Private endpoints can't be used with your cache instance if your cache is already a virtual network (VNet) injected cache.

0 commit comments

Comments
 (0)