Azurerm_Application_Gateway

Share

Azurerm_Application_Gateway

azurerm_application_gateway is a resource type in Terraform, an infrastructure as code (IaC) tool, that is part of the Azure Resource Manager (ARM) provider. This Terraform resource type is used to define and manage Azure Application Gateway resources within an Azure infrastructure deployment.

Azure Application Gateway is a Layer 7 load balancer that is designed for application-level traffic management and routing. It is commonly used to improve the availability, scalability, and security of web applications by providing features such as SSL termination, URL-based routing, session affinity, and web application firewall (WAF) capabilities.

When using Terraform to manage Azure resources, you can define an azurerm_application_gateway resource to create and configure an Azure Application Gateway within your Azure environment. Here is a simplified example of how you might define an azurerm_application_gateway resource in a Terraform configuration file:

hcl
resource "azurerm_application_gateway" "example" { name = "example-appgateway" resource_group_name = azurerm_resource_group.example.name location = azurerm_resource_group.example.location sku { name = "Standard_Medium" tier = "Standard" capacity = 2 } gateway_ip_configuration { name = "appGatewayIpConfig" subnet_id = azurerm_subnet.example.id } frontend_port { name = "http" port = 80 } frontend_ip_configuration { name = "public" public_ip_address_id = azurerm_public_ip.example.id } backend_address_pool { name = "backendPool" } backend_http_settings { name = "backendHttpSettings" cookie_based_affinity = "Disabled" path = "/" port = 80 protocol = "Http" } http_listener { name = "httpListener" frontend_ip_configuration_name = "public" frontend_port_name = "http" } request_routing_rule { name = "rule1" rule_type = "PathBasedRouting" http_listener_name = azurerm_application_gateway.http_listener.name backend_address_pool_name = azurerm_application_gateway.backend_address_pool.name backend_http_settings_name = azurerm_application_gateway.backend_http_settings.name } }

Azure Training Demo Day 1 Video

 
You can find more information about Microsoft Azure in this Microsoft Azure Link

 

Conclusion:

Unogeeks is the No.1 IT Training Institute for Microsoft Azure Training. Anyone Disagree? Please drop in a comment

You can check out our other latest blogs on  Microsoft Azure here – Microsoft Azure Blogs

You can check out our Best In Class Microsoft Azure Training Details here – Microsoft Azure Training

💬 Follow & Connect with us:

———————————-

For Training inquiries:

Call/Whatsapp: +91 73960 33555

Mail us at: info@unogeeks.com

Our Website ➜ https://unogeeks.com

Follow us:

Instagram: https://www.instagram.com/unogeeks

Facebook:https://www.facebook.com/UnogeeksSoftwareTrainingInstitute

Twitter: https://twitter.com/unogeeks


Share

Leave a Reply

Your email address will not be published. Required fields are marked *