All Questions
Tagged with azure-application-gateway azure
660
questions
17
votes
7
answers
27k
views
Redirect HTTP to HTTPS in Azure Application Gateway
I have configured an Application Gateway (AG) to do SSL termination/offload. The AG is configured to only listen on port 443 for HTTPS connections. Is it possible to redirect HTTP to HTTPS without ...
15
votes
1
answer
9k
views
What is the difference between API Gateway provided by Azure API Management and Azure Application Gateway?
I'm new to Azure and I skimmed through Azure official documentation.
What I would like to understand is the difference and similarities
between the API Gateway provided by Azure API Management and ...
15
votes
4
answers
5k
views
Azure Application Gateway with Service Fabric
Currently I have a Service Fabric cluster with 2 stateless services hosting Asp Web APIs. While creating the cluster also appropriate Azure Load Balancers got created.
Now I would like to add ...
13
votes
1
answer
16k
views
Attaching SSL certificate to Azure application gateway in Terraform
It's been somewhat long I'm trying to automate the deployment of an application gateway using Terraform but it simply fails with an error message. I have made sure all protocol settings to HTTPS. ...
12
votes
5
answers
12k
views
How to change VNet and Subnet of an existing Azure Application Gateway?
Is it possible to move an already setup app gateway from one subnet to another?
As of now haven't seen any way from the portal to do so.
12
votes
3
answers
16k
views
Custom domain for Azure application gateway
I am trying to create application gateway with custom domain name, I keep getting error saying "cannot have Domain Name Label specified."
I was wondering if I am doing something wrong or it's not ...
12
votes
1
answer
2k
views
What is the proper way to expose an Azure Container Instance that is inside a vnet?
I have an ACI that is running a REST API that needs to be exposed publicly, but needs to access resources inside a vnet.
For some reason, unlike normal VMs, if an ACI is inside a vnet, it cannot have ...
11
votes
1
answer
12k
views
Assign Static Public Address to Azure Container Instance deployment
Context
Working on a project to deploy a restful API application and seperate TCP service to an Azure Container Instance. The TCP service requires a static Ipv4 address due to legacy reasons.
...
8
votes
5
answers
16k
views
Azure App Gateway V2 cannot be configured with NSG
I have provisioned App Gateway with WAF V2 SKU. Then, I have configured back-end pool to point to WebApp and added IP restrictions to allow only traffic from WAF IP. Then, i am attempting to add NSG ...
8
votes
1
answer
10k
views
Azure Application Gateway WAF blocks common ASP.Net Core Requests
I have configured a Azure Application Gateway + WAF in front of an ASP.Net Core application running on an Azure WebApp.
I have the the default OWASP 3.0 Rules set on and in Prevention mode.
The ...
7
votes
4
answers
11k
views
Azure WebApp Static Outbound IP
I am trying to solve a problem. I have to access APIs that are hosted on my on premises server (on-prem) from Azure hosted Web API.
The problem is that my on-prem server only allows white listed IPs....
7
votes
3
answers
32k
views
Azure Application Gateway hitting 504 Gateway timeout randomly while doing JMeter load test
I have 1 application gateway which having 2 backends (Azure VM) which is hosting ASP CORE REST API with IIS. And both is using port 80 to communicate.
Everything is working fine with manual test until ...
6
votes
2
answers
20k
views
Azure Application Gateway error 502 when using application gateway
I followed the docs here https://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-create-multisite-portal but still getting the error :
Azure Application Gateway error 502 - ...
6
votes
2
answers
5k
views
Azure Application gateway - is there any reason to keep Azure firewall BEHIND?
I have Azure Application gateway in front of Azure API management and could see that in most of the scenarios available on the Internet has firewall in between the Azure Application gateway and Azure ...
6
votes
3
answers
5k
views
Why should I use the Service Fabric Reverse Proxy instead of the Azure App Gateway to talk to SF Cluster?
It's a long question and there are trade-offs, I'm sure. The documentation in this area:
Doesn't give me enough to answer the question above confidently.
So, they say:
"Azure Application Gateway ...
6
votes
3
answers
3k
views
Azure Application Gateway with App Service
Requirement I have -
I want to do redirection like this. I have multiple App service that will be running and based on the url I want to do redirection to the proper one.
Something like this -
...
6
votes
1
answer
3k
views
How to properly configure Azure Application Gateway Rewrite URL rule?
We are using azure application gateway to route requests from host/client to the specific client app (.NET Core). This way client1 is routed to server1/client1 and client2 is routed to server2/client2 ...
6
votes
2
answers
4k
views
Azure application gateway with oauth removes token
We're currently struggling with an issue in our azure environment. In our current setup we have an application gateway connecting to 2 application services.
1 app service is using basic auth. Nothing ...
6
votes
1
answer
5k
views
Use App Service Certificate with Azure Application Gateway
Created an app service certificate in Azure to enable SSL for Application Gateway.
Had already configured SSL on the Application Gateway with a self-signed .pfx certificate to test the functionality ...
5
votes
2
answers
8k
views
Is it OK to remove Nginx when using Azure application gateway?
I have a Web app for docker currently running django with gunicorn as wsgi server and Nginx as reverse proxy. I am not serving any static assets via Nginx and the SSL is taken care by Azure.
So my ...
5
votes
2
answers
15k
views
Application Gateway restrict by IP
We have a cluster of VM in azure exposing some internal API's. To do more secure we are using Application Gateway to have ssl offload. But also we would like to restrict the external IP's that can ...
5
votes
5
answers
5k
views
Azure Application Gateway : Backend server certificate expired. Please upload a valid certificate
We have an Azure Application Gateway V2 setup with WAF feature enabled. We ran into trouble when suddenly, the health of all our backend pools (3 in our case) started showing unhealthy and the error ...
5
votes
2
answers
37k
views
Why do I see 403 forbidden in Azure application gateway?
The error I see when accessing https://www.example.com regardless of whether I have a listener (443) and rule is:
403 - Forbidden
You don't have permission to access / on this server.
If I add a ...
5
votes
2
answers
12k
views
Issue within certification chain using azure application gateway
I'm using an Azure Application Gateway v2 to route traffic to a backendpool containing VMs running some docker container hosting an aspnet core webapi. The application is listeing in port 443.
The ...
5
votes
1
answer
5k
views
Application Gateway 502 error when configuring it for Azure Web App
Scenario:
Configured Azure Application Gateway to route traffic to different Azure Web Apps to leverage the Web Application Firewall (WAF).
Initial configuration worked fine except that the final ...
5
votes
1
answer
6k
views
Can Azure Application gateway cookie be replaced by application cookie?
I have a VMSS with multiple instances that have a java application deployed in it. The VMSS is connected to an application gateway. The gateway have session affinity enabled.
Is it possible to ...
5
votes
1
answer
515
views
When form submission is done between 2 VM's in Application gateway it shows 502 error
I have hosted a site in two VM's and added it in Application Gateway back end pool. We have a form submit which will do DB update and a confirmation page will be shown.
If both the server is up. The ...
5
votes
0
answers
449
views
Rolling Website Updates / Azure Application Gateway
I'm trying to configure rolling website updates to an IIS web farm to enable zero downtime deployments. I can't identify a reasonable way to stop traffic being routed from Application Gateway to a ...
4
votes
2
answers
9k
views
Azure Front Door in the front of Application Gateway
I've deployed Azure Front Door in the front of Application Gateway.
Now I want to route all traffics through Front Door and restrict direct access to Application Gateway's public IP address.
How to do ...
4
votes
2
answers
14k
views
How to get a certificate for Azure Application Gateway HTTPS listener
I'm trying to set up an end-to-end SSL connection using Application Gateway to communicate to an AppService instance. The AppService instance has a custom domain with SSL.
Now I would like to secure ...
4
votes
2
answers
6k
views
Azure network security group and Application Gateway
I have the next azure setup:
Application gateway balancer with it's own vnet .
Two vms in Application gateway backend pool which have their own vnet and a network security group applied to the vms.
...
4
votes
1
answer
7k
views
How to whitelist an ip address in Azure WAF
I have an Azure Application Gateway Web Application Firewall using the OWASP 3.0 ruleset. I created a custom policy so I could create a custom rule which simply allows traffic if it's from a specific ...
4
votes
1
answer
4k
views
Azure App Service with WAF
I'm looking for some Azure security best practice advice. I've seen some articles around on how to do it, but not if its necessarily required.
I have a customer who would like to move to Azure and ...
4
votes
2
answers
2k
views
Azure Multiple Public IPs on a Virtual Machine Scale Set with Resource Manager
We try to migrate our Platform from classical IIS hosting to a service fabric micro service architecture. So fare we learned that a service fabric lives in a virtual machine scale set and uses Load ...
4
votes
1
answer
4k
views
Azure Application Gateway App Service using Active Directory redirecting to signin-oidc
I have put my app behind azure application gateway. I can access my app using the application gateway through this url: https://myapps.westus.cloudapp.azure.com/myapp
My app requires azure ad so I ...
4
votes
1
answer
3k
views
Azure Application Gateway forwarding "/*" to Backend Pool
I have an Azure Application Gateway set up with Path-Based routing to route between two different Backend Pools. I also have Application Insights configured on one of the Pools, which I will come back ...
4
votes
6
answers
6k
views
Azure Traffic Manager with Application Gateway backends
We have an architecture whereby we have a traffic manager in front of two Azure application gateways and configured based on Priority (closer proximity has higher priority). We are using Application ...
4
votes
2
answers
8k
views
Azure Traffic Manager monitoring status is 'degraded' for Azure Application Gateway
Azure Traffic Manager monitoring status for Endpoints(Azure Application Gateway/WAF)is degraded. Web app behind the Application gateway is healthy and able to access through Traffic Manager.
Any help ...
3
votes
2
answers
10k
views
Azure Application Gateway file upload limits
Recently I'm working with the Azure Application Gateway and when I try to upload a file I got the response 413 Entity Too Large. I read about it and the limit for the file upload is 2GB but I'm very ...
3
votes
1
answer
973
views
Terraform Removes Configurations/Resources Created by the Application Gateway Ingress Controller (AGIC)
I have some Terraform code which deploys AKS behind an Application Gateway along with other infrastructure unrelated to the issue. The code is based on https://learn.microsoft.com/en-us/azure/...
3
votes
3
answers
2k
views
Why Azure takes so long to setup a Load Balancer?
I have set up an application gateway in almost five different regions in Azure and every time Azure take around 15-20 mins to complete the setup.
Whereas AWS will do it in a couple of minutes, why ...
3
votes
3
answers
9k
views
How to check current number of instances for Azure Application Gateway
I currently have an Azure Application Gateway that is configured for a minimum of 2 instances and a maximum of 10 instances. It's Tier is "WAF V2" and autoscaling is enabled.
If autoscaling is ...
3
votes
2
answers
414
views
How can I require SSL when I offload at an Azure application gateway?
I am transitioning my ASP.Net web site to Azure hosting. I am using an application gateway with SSL offload, so my individual load balanced web servers do not have the SSL cert installed. Since SSL is ...
3
votes
3
answers
5k
views
Configure WAF Application Gateway in front of App Services [closed]
I have a VNET with two App Services and one Windows VM in Azure. They are in the same VNET using VPN point-to-site.
I want to protect this environment with a WAF and have read that I can use ...
3
votes
4
answers
5k
views
two frontend ports of application gateway are using the same port 443 - Azure application gateway in terraform
I am configuring azure application gateway using terraform.
Following is the module that i wrote:
locals {
backend_address_pool_name = format("appgwbeap-%[1]s-%[2]s%[3]sweb-gw",var....
3
votes
1
answer
5k
views
Azure Application Gateway with App Service Web App
I have created an application gateway with WAF (default detection mode) in an Azure Resource Group (no ASE) with an App Service Web App backendPool member/target MS link (followed instructions to the ...
3
votes
1
answer
3k
views
App Gateway configuration with Private Endpoint enabled web apps
I am trying to expose my Front End and Function Web Apps using App Gateway. Both of those apps belong to one app service plan.
They are also private endpoint enabled and VNET integrated.
I have ...
3
votes
4
answers
11k
views
Azure Application Gateway: Cannot connect to backend server in
Due to a recent layoff I got bombarded to azure admin out of the blue. I am pretty new to this and haven't yet got the chance to follow an admin course.
Facing the following issue: We host a couple of ...
3
votes
2
answers
1k
views
Azure application gateway - Routing based on cookie value
All of the examples I can find in the internet talk mostly about routing based on path. I have a scenario where I need to read a cookie and based on that cookie, route the request to a particular ...
3
votes
1
answer
7k
views
SSL certificate for Azure Application Gateway for SSL offload
I'm trying to implement SSL offload in Azure Application Gateway as described in documentation:
https://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-ssl-portal
It requires ...