Skip to content

Latest commit

 

History

History
 
 

201-reserved-ip

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Snippet - Supported Reserved IP Use Cases

This template demonstrates the currently supported use case for Reserved IP. A Reserved IP is simply a statically allocated Public IP.

There is currently only one supported use case: assign a Reserved IP to the front end of the Azure Load Balancer.

This template goes one step further: it both creates a new Reserved IP and assigns it to a load balancer and it uses a previously existing Reserved IP and assigns it to a separate load balancer.

Parameters

Three parameters are needed in support of the "previously existing Reserved IP" use case:

  1. existingRIPSubId - subscription ID of the subscription with the previously existing Reserved IP
  2. existingRIPResourceGroupName - name of the resource group with the previously existing Reserved IP
  3. existingRIPName - name of the previously existing Reserved IP

How to Create 'Existing' Reserved IP

  1. Create a resource group (or use an existing one)

New-AzureResourceGroup -Name ExistingReservedIP -Location 'West US'

  1. Create a statically allocated PIP in that RG

New-AzurePublicIpAddress -ResourceGroupName ExistingReservedIPRG -Name goliveRIP -Location 'West US'

This step is mandatory for the template to work as designed.