Benutzer:MovGP0/Azure/IP

aus Wikipedia, der freien Enzyklopädie
Zur Navigation springen Zur Suche springen
   MovGP0        Über mich        Hilfen        Artikel        Weblinks        Literatur        Zitate        Notizen        Programmierung        MSCert        Physik      


Azure IP Addressing

[Bearbeiten | Quelltext bearbeiten]
setting static IP address
$vm = Get-AzureVM -ServiceName "ExampleService" -Name "ExampleVM";
Set-AzureStaticVNetIP -VM $vm -IPAddress 10.0.0.10 | Update-AzureVM
setting to DHCP
$vm = Get-AzureVM -ServiceName "ExampleService" -Name "ExampleVM";
Remove-AzureStaticVNetIP -VM $vm | Update-AzureVM

Reserved IP Addresses

[Bearbeiten | Quelltext bearbeiten]
  • only for cloud service or web/worker roles; not to VMs
  • can only be set with PowerShell
  • can reserve up to 20 IP addresses per subscription
Get-AzureReservedIP
New-AzureReservedIP -ReservedIPName "MyReservedIP" -Location "Central US"
Remove-AzureReservedIP -ReservedIPName "MyReservedIP"

Instance Level Public IP (ILPIP) Addresses

[Bearbeiten | Quelltext bearbeiten]
  • aka. PIP, Public IP
  • max. 5 ILPIP per subscription
  • connot be reserved
  • additional IPs do not replace virtual IPs
Get-AzureVM -ServiceName "ExampleService" -Name "ExampleVM" `
| Set-AzurePublicIP -PubicIPName "ILPIPName" `
| Update-AzureVM