Forum Discussion
ariffisariff
Nov 02, 2020Copper Contributor
Availability zone with same IP address
Hi, Can Azure support in a different availability zone with a same IP address? Thanks.
SeyedBasim
Nov 02, 2020Copper Contributor
As David explained AZ is for high Availability seperated by a physical boundry within the region. But definitely no 2 compute resources within 2 AZs have the same internal IP. Because all the Compute resource has its own internal IP addresses. But you can have Public IP to be the same across VMs within 2 different AZs.
In that case:
1. For inbound - use Load Balancer or Application Gateway(only in layer 7)
2. For outbound - use NAT Gateway
https://docs.microsoft.com/en-us/azure/virtual-network/nat-gateway-resource
In that case:
1. For inbound - use Load Balancer or Application Gateway(only in layer 7)
2. For outbound - use NAT Gateway
https://docs.microsoft.com/en-us/azure/virtual-network/nat-gateway-resource