Azure VM configuration with 2 public static IP

azure

I have broken my head, trying to fulfill following configuration:
2 Azure VMs behind load balancer, with static public IP assigned to load balancer + one of those VMs shall have it's own static public IP.

I was trying to fulfill this both with portal and Azure Resource Manager temaplates – but it is not working.
When in portal I try to assign instance IP address – it is not static, and will change each time VM is shutdown.

When in Azure Resource Manager I try to provision a VM via template in which 3 NICs are created for 2 VMs – I could not attach 3rd NIC to one of VMs with a mystical error, which I could not track in logs 🙁

I am compeletely lost in this subject 🙁

Best Answer

You can't reserve the PIP (Instance Level IP) address, only the VIP (Public Virtual IP). You also can only have 1 reserved VIP per cloud service no matter how many NICs you have. To reserve a VIP you can either use Powershell or the Preview Portal that way they won't change next time you restart or shutdown.

Reserved IP Overview

https://azure.microsoft.com/en-us/documentation/articles/virtual-networks-reserved-public-ip/

Update:

You can now have multiple VIPs per cloud service (Only VMs, not available for roles)

http://azure.microsoft.com/en-us/updates/multiple-vips-per-cloud-service/

https://azure.microsoft.com/en-gb/documentation/articles/load-balancer-multivip/

Related Topic