Create a Resource Group(firewall)(Step - 1)
Create a Resource Group(firewall)(Step - 1)
Two ways we can do this
- using Power Shell
- from Azure Portal
Creating a Resource Group Named firewall Using Powershel
Select-AzureRmProfile -Path “login.json”
function ResourceGroup
{
[CmdletBinding()]
Param
(
[Parameter(Mandatory=$true, Position=0)]
[string]$Rg,
[Parameter(Mandatory=$true, Position=1)]
[string]$Location
)
try {
Get-AzureRmResourceGroup -Name $Rg -Location $Location -ErrorAction Stop
Write-Host 'RG already exists... skipping' -foregroundcolor Green
} catch {
New-AzureRmResourceGroup -Name $Rg -Location $Location
Write-Host "RG $Rg SuccessFully Created in $Location" -foregroundcolor Green
}
}
ResourceGroup -Rg firewall -Location "South Central US"
for Silent login to Azure please refer this:
https://osgroup-techies.blogspot.in/2016/12/silent-login-to-azure-account-is-have.html
Creating a Resource Group Named firewall Using Azure Portal
Step 2:
Create a Subnet (192.168.1.0/24/ and attach it to Resource Group Created in step 1 (firewall-vnet)
No comments:
Post a Comment