【Azure Redis 缓存】在Azure Redis中,如何限制只允许Azure App Service访问? - LuBu0505/My-Code GitHub Wiki

问题描述

在Azure Redis服务中,如何实现只允许Azure App Service访问呢?

问题解答

Azure Redis 开启 防火墙的功能,并在防火墙中添加上App Service的出口IP地址即可。两步即可实现此目的!

1)查询 App Service 的出口IP地址 image

2)添加第1步的IP地址到Azure Redis的网络防火墙中 image

参考资料

防火墙规则的优点 : https://docs.azure.cn/zh-cn/azure-cache-for-redis/cache-network-isolation#advantages-of-firewall-rules

App Service 出站IP地址:https://docs.azure.cn/zh-cn/app-service/ip-address-change-outbound#find-the-outbound-ip-addresses-in-the-azure-portal

当在复杂的环境中面临问题,格物之道需:浊而静之徐清,安以动之徐生。 云中,恰是如此!

分类: 【Azure 应用服务】【Azure Redis 缓存】

标签: Azure Redisapp service outbound ip address