Code Monkey home page Code Monkey logo

azure-bicep-application-gateway-1's Introduction

Azure Application Gateway

DEV - Deploy Azure Resource

Instructions

Parameter Values

Name Description Value Examples
tags Az Resources tags object { key: value }
location Az Resources deployment location. To get Az regions run az account list-locations -o table string [default: rg location] eastus | centralus | westus | westus2 | southcentralus
agw_n Application Gateway Name string [required]
agw_enable_autoscaling Application Gateway Enable Autoscaling. Standard_v2 & WAF_V2 supports autoscaling string [default: false] true | false
agw_enable_zone_redundancy Application Gateway Enable Zone Redundancy Flag string [required] true | false
agw_sku Application Gateway sku size string [required] Standard_Small | Standard_Medium | Standard_Large | WAF_Medium | WAF_Large | Standard_v2 | WAF_v2
agw_tier Application Gateway tier type string [required] Standard | WAF | Standard_v2 | WAF_v2
agw_capacity Application Gateway initial capacity int [default: 1]
agw_max_capacity Application Gateway initial capacity int [default: 10]
snet_agw_id Application Gateway deployment subnet ID string [required]
snet_agw_addr Application Gateway deployment subnet Address space string 192.168.0.24
agw_backend_app_names BackendPool App Services Names string [required] appA,appB,appC | appA | appA,appB
agw_front_end_ports Application Gateway Front End Ports string [required] 8080,80,8081 | 8080 | 8080,8081
agw_pip_n Application Gateway Public Ip Name string [required] 8080,80,8081 | 8080 | 8080,8081

Conditional Parameter Values

Application Gateway Combinations:

  • Standard
    • SKU Tier:
      • Standard_Small
      • Standard_Medium
      • Standard_Large
    • agw_capacity: [1,32]
  • WAF
    • SKU Tier:
      • WAF_Medium
      • WAF_Large
    • agw_capacity: [1,32]
  • Standard_v2
    • SKU Tier:
      • Standard_v2
    • agw_enable_autoscaling available
    • agw_enable_zone_redundancy available
    • agw_capacity: [0,125]
  • WAF_v2
    • SKU Tier:
      • WAF_v2
    • agw_enable_autoscaling available
    • agw_enable_zone_redundancy available
    • agw_capacity: [0,125]

Deploy AGW Bicep Template

Locally Deploy Azure Bicep Modules

# *Create a Sample RG if required
az group create \
--name 'rg-azure-bicep-application-gateway' \
--location 'eastus2' \
--tags project=bicephub env=dev

# Deploy AGW
az deployment group create \
--resource-group 'rg-azure-bicep-application-gateway' \
--mode Incremental \
--template-file examples/examples.bicep

Deploy Azure Bicep Modules from Public Repo

# *Create a sample RG if required
az group create \
--name 'rg-azure-bicep-application-gateway' \
--location 'eastus2' \
--tags project=bicephub env=dev

# download bicep template file
curl -o agw_template.bicep https://raw.githubusercontent.com/ArtiomLK/azure-reliability-architecture/main/agw_template.bicep

# Update to latest commit by replacing main module ref tag

# download bicep parameters file
curl -o agw_parameters.json https://raw.githubusercontent.com/ArtiomLK/azure-reliability-architecture/main/agw_parameters.bicep

# Deploy AGW
az deployment group create \
--resource-group 'rg-azure-bicep-application-gateway' \
--mode Incremental \
--template-file agw_template.bicep \
--parameters @agw_parameters.json

Additional Resources

azure-bicep-application-gateway-1's People

Contributors

artiomlk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.