A virtual IP address (VIP) is a public IP address that can be used to access compute resources in Azure (web/worker/virtual machine). Each time a cloud service is created and a compute resource is assigned, a VIP is automatically assigned to the service. The VMS in the cloud service can be configured to use the specified port number to communicate with the VIP receiving revenue station. Using reserved IPs, you can keep a public virtual IP address in Azure and then assign it to a cloud service. The reserved IP address is sticky, that is, once it is associated with a cloud service, it will not change unless you decide to disassociate it. In a virtual machine scenario, the reserved IP address will remain associated with the cloud service, even if all VMs in the cloud service have been stopped/released
1. Use the following script as a template to create a reserved IP, and then use that reserved IP to create a cloud service Deployment (virtual machine).
$ReservedIP = New-azurereservedip-reservedipname "Firewallip"-label "Webappfirewallip"-location "China East"
New-azurevmconfig-name "FTPInstance3"-instancesize medium-imagename 0c5c79005aae478e8883bf950a861ce0__ WINDOWS-SERVER-2012-ESSENTIALS-20131018-ZHCN | Add-azureprovisioningconfig-windows-adminusername Mark-password [email protected] | New-azurevm-servicename "FTPinAzure3"-reservedipname firewallip-location "China East"
650) this.width=650; "title=" clip_image002 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image002 "src=" http://s3.51cto.com/wyfs02/M01/58/3D/wKiom1SszJXiSL2PAACLVkJLgfg242.jpg "height=" 103 "/>
2. See if the cloud service uses a fixed VIP
Get-azurereservedip-reservedipname Firewallip
650) this.width=650; "title=" clip_image004 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image004 "src=" http://s3.51cto.com/wyfs02/M02/58/3A/wKioL1SszVWCuKwoAAEwxG4zPv8452.jpg "height=" 283 "/>
650) this.width=650; "title=" clip_image006 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image006 "src=" http://s3.51cto.com/wyfs02/M00/58/3A/wKioL1SszVaiiSNLAACSu_uuUvE578.jpg "height=" 234 "/>
3. View all specific reserved IPs
Get-azurereservedip
4. Delete reserved IPs
Remove-azurereservedip-reservedipname "Firewallip"
This article from "Month lacks" the blog, declined reprint!
Azure China-(3) Reserved cloud service public IP (VIP)