Hi @Gallatin 21V,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
But why can my ChinaEast2 region vm access ChinaEast redis successfully? There is no availability zone in ChinaEast redis.
Here are a few points to clarify:
- According to the documentation, Redis can only be accessed across regions if it has Availability Zones turned on. However, your ChinaEast2 VM can access ChinaEast Redis because they are in the same region, not across regions.
- The requirement for Availability Zones applies when you are trying to access Redis across different regions. Since both your VM and Redis are in the ChinaEast region, this constraint does not apply.
- You can connect to your cache from a peered virtual network within the same region using virtual network peering or a VPN Gateway VNET-to-VNET connection.
- If the peered virtual networks are in different regions, a client VM in region 1 cannot access the cache in region 2 via its load-balanced IP address unless the cache has a standard load balancer with availability zones.
- If you need to connect across regions without availability zones, you can use a VPN Gateway VNET-to-VNET connection instead of virtual network peering.
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.