DevOps Buzz
Search…
Bash / Shell
Bitbucket
Distros
Elasticsearch
General
Guidelines / Standards
microk8s
Prometheus
RabbitMQ
VirtualBox
Application Gateway

Automate Appgw creation

Set your subscription.
az account set --subscription "MY SUBSCRIPTION"
Create a public-ip.
az network public-ip create \
--name Company-AppGtw-DEV-TMP \
--resource-group MY-RG \
--allocation-method Static \
--location eastus \
--sku Standard \
--subscription "MY SUBSCRIPTION" \
--tags 'Tag1=value1' 'Tag2=value2'
--version IPv4
Create the Application Gateway.
az network application-gateway create \
--name Company-AppGtw-DEV-TMP \
--resource-group MY-RG \
--capacity 1 \
--location eastus \
--public-ip-address Company-AppGtw-DEV-TMP \
--sku Standard_v2 \
--subscription "MY SUBSCRIPTION" \
--tags 'Tag1=value1' 'Tag2=value2'
--sku Standard on IP create has to match --sku Standard_v2 on Application Gateway.

Order to create an entry

  1. 1.
    listener
  2. 2.
    backend pool
  3. 3.
    probe
  4. 4.
    http settings
  5. 5.
    rule
Copy link
Outline
Automate Appgw creation
Order to create an entry