I am doing this wrong, obviously, and hours of google searching have not helped.
Ultimately, what I want is a static IP address on the internet that is tied to an Azure VM that I have created that never changes. I will be pointing the internet's DNS servers to this address for my domain name.
I have already created an Azure Virtual machine and set it up how I want (service name and name are ACIJustForFun1). I also got an Azure reserved IP through the Azure Powershell (Reserved IP Name is ACIJustForFun, IP Address is 191.xxx.xxx.xxx).
I then ran the following command:
get-azurevm -servicename "ACIJustForFun1" -Name "ACIJustForFun1" | Set-AzurePublicIP -PublicIPName "ACIJustForFun" | Update-AzureVM
It gives me the following output:
VERBOSE: 2:25:30 PM - Completed Operation: Get Deployment
VERBOSE: 2:25:31 PM - Completed Operation: Get Deployment
VERBOSE: 2:25:31 PM - Begin Operation: Update-AzureVM
VERBOSE: 2:27:05 PM - Completed Operation: Update-AzureVM
OperationDescription OperationId OperationStatus
-------------------- ----------- ---------------
Update-AzureVM ea351726-9f84-71b9-8441-7d816d04ba98 Succeeded
I then run
Get-AzureRole -ServiceName ACIJustForFun1 -Slot Production -InstanceDetails
It comes back with the Public IPName of ACIJustForFun but neither the IPAddress and PublicIPAddress match the 191.xxx.xxx.xxx address of the public reserved address.
Can someone give me some ideas or a tutorial on how to do this?
Thanks!