azure-traffic-manager

Azure: Route subdomain traffic to different backend port

纵饮孤独 提交于 2021-01-29 07:53:43
问题 I have multiple sites hosted on the same machine in Azure on different ports: foobar.com:8000 foobar.com:8001 foobar.com:8002 etc I would like to address these by subdomain using a reverse proxy; aaaa.mysite.com ----> foobar.com:8000 bbbb.mysite.com ----> foobar.com:8001 cccc.mysite.com ----> foobar.com:8002 Is it possible to do this in Application Gateway? It only seems to cater for different paths (not subdomains) and doesn't allow ports to be specified for backends. Is there another Azure

Blue/Green Deployment using VSTS Release Definitions

懵懂的女人 提交于 2020-08-05 07:29:12
问题 I haven't seen any information how to do a Blue/Green deployment on VSTS Release Definitions. I have a VSTS Release Definition that deploys new changes automatically into our Prod environment as new check-ins are done in our source code. Now, the project is using Azure Traffic Manager and it has added two endpoints which are on different regions/data centers. Now that we have the Azure Traffic Manager configured, I was wondering how can I change on VSTS and at deployment time how Azure

ARM template deployment of Microsoft.Web/sites/hostNameBindings resources using copy

落花浮王杯 提交于 2020-07-08 13:00:09
问题 I use a copy operation over an array of Azure data center locations in order to deploy an app service plan and a website per location. I am able to create a traffic manager profile and use the copy object to add an endpoint per location to the traffic manager profile. When I try to set the CNAME for each of the web sites to my custom domain name, using the Microsoft.Web/sites/hostNameBindings resource per the instructions here I came up with the following: { "type": "Microsoft.Web/sites

Configuring custom domain on traffic manager and web app

狂风中的少年 提交于 2020-06-25 06:44:50
问题 I refferred this microsoft doc, but it's confusing as mad. https://docs.microsoft.com/en-us/azure/app-service/web-sites-traffic-manager-custom-domain-name First they explain www.contoso.com will be the CNAME for <myapp>.trafficmanager.net . Then when web apps comes to picture they say www.contoso.com will be the CNAME for web app. They don't explain how both will work. When I will add hostname www.contoso.com to web app it is going to override the CNAME record for traffic manager. So next

Unable to reach services via Azure Traffic Manager and Nginx Ingress on AKS

扶醉桌前 提交于 2020-06-01 05:08:15
问题 I have two AKS clusters as primary and secondary in two different regions. I want to use Azure traffic manager for the the Priority based endpoint monitoring and fail-over mechanism on the primary and secondary clusters. I got two services: A and B that routes at the relative path /service-a and /service-b respectively. I have nginx ingress controller on each cluster with PIP mapped to the custom host aks-primary.xyz.com and aks-secondary.xyz.com respectively. The services are reachable on

Azure Traffic Manager and OAuth 2.0

痞子三分冷 提交于 2020-02-06 08:53:10
问题 We are using Azure Active Directory for registering client applications. The client applications use the AAD clientId and secret to get an access token to authenticate to the back end microservices we have in place in Azure. We have these microservices sitting behind an Azure Traffic Manager. My question is, what will happen to the OAuth 2.0 token if the following scenario occurs: A User is authenticated and is using backend microservice 1 (instance 1) The user is switched by the traffic

Azure Traffic Manager and OAuth 2.0

我只是一个虾纸丫 提交于 2020-02-06 08:51:07
问题 We are using Azure Active Directory for registering client applications. The client applications use the AAD clientId and secret to get an access token to authenticate to the back end microservices we have in place in Azure. We have these microservices sitting behind an Azure Traffic Manager. My question is, what will happen to the OAuth 2.0 token if the following scenario occurs: A User is authenticated and is using backend microservice 1 (instance 1) The user is switched by the traffic

RequireNonce is 'true' (default) but validationContext.Nonce is null in Azure Traffic Manager , OpenIdConnectAuthentication

一世执手 提交于 2020-01-24 23:32:51
问题 I have my website(Azure App Service) deployed in two regions under Microsoft Azure . https://abcd1-westus.azurewebsites.net/ https://abcd2-centralus.azurewebsites.net/ I created a Traffic Manager Profile to control the distribution of user traffic for service endpoints. The DNS Name of Traffic Manager Profile is "http://abcd.trafficmanager.net" Authentication is done by Azure AD . Once we are trying to access Traffic Manager DNS Url , it prompts for AAD login and redirect to https://abcd2