How to assign a reserved / static public IP Address to a virtual machine on Azure

Using Powershell, first you need to reserve a new IP if you don't have one already - 

New-AzureReservedIP -ReservedIPName ReservedIP -Location "Australia East"

Then assign this reserved IP to a virtual machine - 
Set-AzureReservedIPAssociation -ReservedIPName ReservedIP 
-ServiceName VMServiceName
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