Development · Microsoft Azure · Windows Powershell

Limitation of Virtual IP address (VIP) in Microsoft Azure – Part 1

Virtual IP (VIP) is a public IP address and created when a cloud service is created.

A VIP is a public IP address that can be used to access Virtual machine in Azure. All VM in same domain name share a single VIP. By using a reserved IP address, you can ensure that the virtual IP address for you Virtual Machine never changes.

Default behavior of VIP address works as:

~ VIP is lost or changed when virtual machine is stopped or deallocated.

~ VIP is lost or changed when cloud service is deleted.

In this blog, we will discuss that VIP gets changed or lost whenever we stop/deallocate the Virtual Machine (VM).

I have already created a VM with the default settings like cloud service, virtual network etc.

1

We can see the information about our VM below:

2

 

When we created a VM, a virtual IP address 13.71.115.68 gets assigned by azure itself, automatically.

We can also check the value of the virtual IP address through PowerShell commands:

3

 

The values are same as we saw in the portal.

Now, let’s stop the virtual machine and we will see that the virtual IP address gets changed whenever we restart the virtual machine.

4

So we can see the new value has been assigned as the Virtual IP.

We can also see the values of virtual ip address from the IP addressess section of the virtual machine.

5

So, we have learned about the behaviour of virtual ip address that its value is lost or change     when we stop or de-allocate the virtual machine.

We can overcome from this behaviour by using reserved virtual ip address. We will learn more about it in upcoming blogs.

Have a nice learning!!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s