Hello all, any help appreciated:
I'm a bit confused with the fact that when I add a reserved IP to a cloud service, the IP address matches the one reserved. When I do the same but add an instance IP address to a certain machine, it only adds a random public IP adress to the machine, and changes the name accordingly to the one reserverd but the IP address does not matches the one reserved. Any ideas?
This is my reserved IP
ReservedIPName : ippublic1
Address : 23.100.11.119
Id : 52785ab5-0dab-4501-b6ae-3fd3bb485690
Label : sipserver
Location : West Europe
State : Created
InUse : False
if I do Get-AzureVM -ServiceName mycloud -Name vm1inmycloud | Set-AzurePublicIP -PublicIPName ippublic1 | Update-AzureVM
It goes ok, but then ippublic1 looks like not in use
ReservedIPName : ippublic1
Address : 23.100.11.119
Id : 52785ab5-0dab-4501-b6ae-3fd3bb485690
Label : sipserver
Location : West Europe
State : Created
InUse : False
and the machine has now a public ip address
InstanceEndpoints : {SSH}
InstanceErrorCode :
InstanceFaultDomain : 0
InstanceName : vm1inmycloud
InstanceSize : Small
InstanceStateDetails :
InstanceStatus : ReadyRole
InstanceUpgradeDomain : 0
RoleName : mycloud
DeploymentID : 763de97a218644caa1cecf5a4daa8dad
IPAddress : 100.74.70.17
PublicIPAddress : 23.100.1.26
PublicIPName : ippublic1
ServiceName : mycloud
OperationDescription : Get-AzureRole
OperationId : 04f4d8d0-96e2-cfb1-87aa-1a1e23966593
OperationStatus : Succeeded
with the name as the reserved IP but with a different IP, very strange!
Regards
Helio