Reserved IP | Microsoft Azure

If you need to reserve static ip address for your VM, follow the commands below:

1. Set static ip:

New-AzureReservedIP -ReservedIPName "postgresql" -Location "West US" 

2. Assign static ip, defined above to VM named  postgresqlvm

Set-AzureReservedIPAssociation -ReservedIPName "postgresql" -ServiceName postgresql-vm

3. Remove static ip address.

Remove-AzureReservedIP -ReservedIPName "postgresql"

 

Be careful with Regions 🙂

 

vovando Avatar

Leave a Reply

Your email address will not be published. Required fields are marked *