Azure Application Gateway — Operate with Azure CLI

Maciej
2 min readApr 8, 2021

Introduction

What is Azure CLI?

It is a tool that can operate Azure that can be used cross-platform such as Windows, MacOS, Linux from the command line. We can download from the following page:

After installation we can login to azure:

Azure login process:

  • Type az login , when you log in, information such as your subscription ID will be displayed.

⚠️ If in your environment with a proxy server, please set the proxy in the environment variable if necessary.

set HTTP_PROXY = http://username:password@proxy.example.com:9000
set HTTPS_PROXY = http://username:password@proxy.example.com:9000

Application Gateway v2

Application Gateway v2 allows for automatic scale-out, which allows you to scale out with the Azure CLI if the setting is set to manual scale-out.

  • Check the current number of instances
az network application-gateway show -g westeu-test-rg -n appgwv2test --query "sku"
  • Manually scale out Application Gateway v2 to two instances. Specify the number of…

--

--

Maciej
Maciej

Written by Maciej

DevOps Consultant. I’m strongly focused on automation, security, and reliability.

No responses yet