Creating Public IP Address in Azure
Creating Public IP Address in Azure(Part 4)
Public IP Address:
This is an IP address that can be directly assigned to VM rather than using the IP of the Cloud Service the VM resides in .Each Subscription can have up to 5 Public IP .Using PIP allows external traffic to hit the VM to any port .
Outbound traffic originating from the VMs goes out with Public IP address has to be on regional VNET first
New-AzureRmPublicIpAddress has some properties like:
- Allocation-Method(Dynamic/Static)
- ResourceGroupName
- DomainNameLabel
- IdleTimeOutInMinutes
- IpAddressVersion
- Location
- Name etc
[String]$RG="Osgroup"
$LOCATION="South Central US"
$PublciIPName="PIPOSGRP"
$DnsName="osgroup-techies"
$PIP=New-AzureRmPublicIpAddress -AllocationMethod Static `
-ResourceGroupName $RG -DomainNameLabel $DnsName -IpAddressVersion IPv4 -Location $LOCATION -Name $PublciIPName
$PIP
Thanks you !!!
Have a Nice Day Ahead !!!
For NSG and NSG Rules:
https://osgroup-techies.blogspot.in/2017/04/creating-network-rules-and-adding-to.html#sthash.HLUIkIjC.dpbs
No comments:
Post a Comment