What do you someone breaks something? I post the solution here...

Kubernetes (K8s/K3d) / Terraform / Ansible / Linux / AWS / Docker / Bash / Python / ELK / CI/CD / Java / Traefik / Nginx / CentOs / Ubuntu


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:

  1. Allocation-Method(Dynamic/Static)
  2. ResourceGroupName
  3. DomainNameLabel
  4. IdleTimeOutInMinutes
  5. IpAddressVersion
  6. Location
  7. 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:

Powered by Blogger.