Creating the application gateway

Lastly, we will create the application gateway itself. Proceed as follows:

  1. Create the application gateway, as follows:
$sku = New-AzApplicationGatewaySku -Name Standard_Medium -Tier Standard -Capacity 2

New-AzApplicationGateway `
-Name PacktAppGateway `
-ResourceGroupName PacktApplicationGateway `
-Location eastus `
-BackendAddressPools $backendPool `
-BackendHttpSettingsCollection $poolSettings `
-FrontendIpConfigurations $fipconfig `
-GatewayIpConfigurations $gipconfig `
-FrontendPorts $frontendport `
-HttpListeners $defaultlistener `
-RequestRoutingRules $frontendRule `
-Sku $sku
It will take approximately 30 minutes before the whole script is executed. 
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset