Skip to content

Commit eaf2bf0

Browse files
Merge pull request #249593 from flang-msft/fxl---Added-a-pointer-and-link-in-FAQ-#241012
Fxl---added a pointer and link in faq #241012
2 parents 33046d3 + a9356a6 commit eaf2bf0

File tree

1 file changed

+34
-27
lines changed

1 file changed

+34
-27
lines changed

articles/azure-cache-for-redis/cache-private-link.md

Lines changed: 34 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@ ms.author: franlanglois
77
ms.service: cache
88
ms.custom: devx-track-azurecli, devx-track-azurepowershell
99
ms.topic: conceptual
10-
ms.date: 06/23/2023
10+
ms.date: 08/28/2023
11+
1112
---
1213

13-
# Azure Cache for Redis with Azure Private Link
14+
# What is Azure Cache for Redis with Azure Private Link?
1415

15-
In this article, you'll learn how to create a virtual network and an Azure Cache for Redis instance with a private endpoint using the Azure portal. You'll also learn how to add a private endpoint to an existing Azure Cache for Redis instance.
16+
In this article, you learn how to create a virtual network and an Azure Cache for Redis instance with a private endpoint using the Azure portal. You also learn how to add a private endpoint to an existing Azure Cache for Redis instance.
1617

1718
Azure Private Endpoint is a network interface that connects you privately and securely to Azure Cache for Redis powered by Azure Private Link.
1819

@@ -37,7 +38,7 @@ You can restrict public access to the private endpoint of your cache by disablin
3738
3839
## Create a private endpoint with a new Azure Cache for Redis instance
3940

40-
In this section, you'll create a new Azure Cache for Redis instance with a private endpoint.
41+
In this section, you create a new Azure Cache for Redis instance with a private endpoint.
4142

4243
### Create a virtual network for your new cache
4344

@@ -56,7 +57,7 @@ In this section, you'll create a new Azure Cache for Redis instance with a priva
5657
| **Subscription** | Drop down and select your subscription. | The subscription under which to create this virtual network. |
5758
| **Resource group** | Drop down and select a resource group, or select **Create new** and enter a new resource group name. | Name for the resource group in which to create your virtual network and other resources. By putting all your app resources in one resource group, you can easily manage or delete them together. |
5859
| **Name** | Enter a virtual network name. | The name must: begin with a letter or number; end with a letter, number, or underscore; and contain only letters, numbers, underscores, periods, or hyphens. |
59-
| **Region** | Drop down and select a region. | Select a [region](https://azure.microsoft.com/regions/) near other services that will use your virtual network. |
60+
| **Region** | Drop down and select a region. | Select a [region](https://azure.microsoft.com/regions/) near other services that use your virtual network. |
6061

6162
5. Select the **IP Addresses** tab or select the **Next: IP Addresses** button at the bottom of the page.
6263

@@ -74,13 +75,13 @@ In this section, you'll create a new Azure Cache for Redis instance with a priva
7475

7576
### Create an Azure Cache for Redis instance with a private endpoint
7677

77-
To create a cache instance, follow these steps.
78+
To create a cache instance, follow these steps:
7879

7980
1. Go back to the Azure portal homepage or open the sidebar menu, then select **Create a resource**.
8081

8182
1. On the **New** page, select **Databases** and then select **Azure Cache for Redis**.
8283

83-
:::image type="content" source="media/cache-private-link/2-select-cache.png" alt-text="Select Azure Cache for Redis.":::
84+
:::image type="content" source="media/cache-private-link/2-select-cache.png" alt-text="Select Azure Cache for Redis.":::
8485

8586
1. On the **New Redis Cache** page, configure the settings for your new cache.
8687

@@ -98,7 +99,7 @@ To create a cache instance, follow these steps.
9899

99100
1. Select the **Add** button to create your private endpoint.
100101

101-
:::image type="content" source="media/cache-private-link/3-add-private-endpoint.png" alt-text="In networking, add a private endpoint.":::
102+
:::image type="content" source="media/cache-private-link/3-add-private-endpoint.png" alt-text="In networking, add a private endpoint.":::
102103

103104
1. On the **Create a private endpoint** page, configure the settings for your private endpoint with the virtual network and subnet you created in the last section and select **OK**.
104105

@@ -130,7 +131,7 @@ In this section, you'll add a private endpoint to an existing Azure Cache for Re
130131

131132
### Create a virtual network for your existing cache
132133

133-
To create a virtual network, follow these steps.
134+
To create a virtual network, follow these steps:
134135

135136
1. Sign in to the [Azure portal](https://portal.azure.com) and select **Create a resource**.
136137

@@ -163,7 +164,7 @@ To create a virtual network, follow these steps.
163164

164165
### Create a private endpoint
165166

166-
To create a private endpoint, follow these steps.
167+
To create a private endpoint, follow these steps:
167168

168169
1. In the Azure portal, search for **Azure Cache for Redis**. Then, press enter or select it from the search suggestions.
169170

@@ -191,9 +192,13 @@ To create a private endpoint, follow these steps.
191192
1. In the **Resource** tab, select your subscription, choose the resource type as `Microsoft.Cache/Redis`, and then select the cache you want to connect the private endpoint to.
192193

193194
1. Select the **Next: Configuration** button at the bottom of the page.
195+
194196
1. Select the **Next: Virtual Network** button at the bottom of the page.
197+
195198
1. In the **Configuration** tab, select the virtual network and subnet you created in the previous section.
199+
196200
1. In the **Virtual Network** tab, select the virtual network and subnet you created in the previous section.
201+
197202
1. Select the **Next: Tags** button at the bottom of the page.
198203

199204
1. Optionally, in the **Tags** tab, enter the name and value if you wish to categorize the resource.
@@ -353,34 +358,36 @@ For more information, see [Azure services DNS zone configuration](../private-lin
353358

354359
### How do I verify if my private endpoint is configured correctly?
355360

356-
Go to **Overview** in the Resource menu on the portal. You see the **Host name** for your cache in the working pane. Run a command like `nslookup <hostname>` from within the VNet that is linked to the private endpoint to verify that the command resolves to the private IP address for the cache.
361+
Go to **Overview** in the Resource menu on the portal. You see the **Host name** for your cache in the working pane. Run a command like `nslookup <hostname>` from within the VNet that is linked to the private endpoint to verify that the command resolves to the private IP address for the cache.
357362

358-
:::image type="content" source="media/cache-private-link/cache-private-ip-address.png" alt-text="In the Azure portal, private endpoint D N S settings.":::
363+
:::image type="content" source="media/cache-private-link/cache-private-ip-address.png" alt-text="In the Azure portal, private endpoint D N S settings.":::
359364

360365
### How can I change my private endpoint to be disabled or enabled from public network access?
361366

362367
There's a `publicNetworkAccess` flag that is `Disabled` by default.
363368
When set to `Enabled`, this flag is allows both public and private endpoint access to the cache. When set to `Disabled`, it allows only private endpoint access. You can set the value to `Disabled` or `Enabled` in the Azure portal or with a RESTful API PATCH request.
364369

365-
To change the value in the Azure portal, follow these steps.
366-
367-
1. In the Azure portal, search for **Azure Cache for Redis**. Then, press enter or select it from the search suggestions.
370+
To change the value in the Azure portal, follow these steps:
368371

369-
1. Select the cache instance you want to change the public network access value.
372+
1. In the Azure portal, search for **Azure Cache for Redis**. Then, press enter or select it from the search suggestions.
370373

371-
1. On the left side of the screen, select **Private Endpoint**.
374+
1. Select the cache instance you want to change the public network access value.
372375

373-
1. Select the **Enable public network access** button.
376+
1. On the left side of the screen, select **Private Endpoint**.
374377

378+
1. Select the **Enable public network access** button.
379+
375380
To change the value through a RESTful API PATCH request, see below and edit the value to reflect which flag you want for your cache.
376-
377-
```http
378-
PATCH https://management.azure.com/subscriptions/{subscription}/resourceGroups/{resourcegroup}/providers/Microsoft.Cache/Redis/{cache}?api-version=2020-06-01
379-
{ "properties": {
380-
"publicNetworkAccess":"Disabled"
381-
}
382-
}
383-
```
381+
382+
```http
383+
PATCH https://management.azure.com/subscriptions/{subscription}/resourceGroups/{resourcegroup}/providers/Microsoft.Cache/Redis/{cache}?api-version=2020-06-01
384+
{ "properties": {
385+
"publicNetworkAccess":"Disabled"
386+
}
387+
}
388+
389+
```
390+
For more information, see [Redis - Update] (/rest/api/redis/Redis/Update?tabs=HTTP).
384391

385392
### How can I migrate my VNet injected cache to a Private Link cache?
386393

@@ -404,7 +411,7 @@ Control the traffic by using NSG rules for outbound traffic on source clients. D
404411

405412
It's only linked to your VNet. Because it's not in your VNet, NSG rules don't need to be modified for dependent endpoints.
406413

407-
## Next steps
414+
## Related content
408415

409416
- To learn more about Azure Private Link, see the [Azure Private Link documentation](../private-link/private-link-overview.md).
410417
- To compare various network isolation options for your cache, see [Azure Cache for Redis network isolation options documentation](cache-network-isolation.md).

0 commit comments

Comments
 (0)