Questions tagged [azure-deployment-slots]

113 questions
1
vote
0 answers

Routing to a web app slot with query parameters

I have created a web app with multiple slots in azure, I can use it for my A|B testing. Lets say https://mysite.azurewebsites.net is my production site https://mysite-staging.azurewebsites.net is my staging site. When I enable the traffic route (say…
1
vote
1 answer

How do deployment slot settings work on an Azure App Service?

For a given web app service, when multiple deployment slots are setup, e.g.: myapp myapp/staging and I create an appSetting that is marked as a "deployment slot setting" on myapp, what happens when I swap slots? Does the deployment slot setting stay…
1
vote
1 answer

Azure Functions: Deploying to Staging Slot Restarts Production Slot

We have an Azure Function v3 instance on a Consumption plan which includes a staging slot to reduce downtime during deployments. Our deployment process is: deploy the code to the staging slot start the staging slot swap the staging slot with the…
haflare
  • 11
  • 2
1
vote
2 answers

Force stop Azure App Service Deployment Slot Swap

We are using Azure DevOps to deploy to a staging slot and then swap with production. When there is an issue swapping it will keep trying for nearly 30 minutes. Therefore I would like to put a timeout on the swap task, but if I do that it will stop…
1
vote
0 answers

Azure Application Gateway marks backend as unhealthy on slot swap

I have a sitecore application deployed to azure webapp. It is exposed to end users through the application gateway. There is a staging slot on the webapp and during the deployment we deploy to the staging slot, do final testing there (using…
1
vote
1 answer

How to Connect MS Teams to Chat Bot Deployed in Azure Bot Service deployment "Development" Slot i.e. NOT the Production/Default Slot

Have created a Development Slot to deploy my Bot and unit test during the development process while the Production/default Slot contains the binaries for tested live ChatBot. We are successfully using MS Teams Channel to connect with the ChatBot…
1
vote
1 answer

Is it possible to publish cloud service package using AZ powershell script?

I want to find out is it possible to deploy classic cloud service package (Microsoft.ClassicCompute) to Azure deployment slot with AZ powershell. There is a classic service inside a resource group already created in Azure. A package that is going to…
Nikolay
  • 57
  • 1
  • 8
1
vote
1 answer

Is it possible to route Slot traffic programmatically via an Az Cmdlet?

I would like to be able to route traffic from the "production" Slot to a different slot in Azure via powershell. How could I go about this that does not use RampUpRules? We have an application in Azure currently with 3 slots (the production slot and…
1
vote
0 answers

Handling database changes with Azure deployment slot

I’m currently configuring an environment for a web site. As I’m using azure, I’d like to use deployment slots in order to ensure that users won’t get any downtime. While I understand the goal of deployment slots, I have difficulties to understand…
ssougnez
  • 4,202
  • 9
  • 36
  • 65
1
vote
0 answers

Testing on staging slot using same config urls as production slot

I deployed an Angular app to azure with two slots. One is the staging slot and the other is production slot. The idea is to deploy to staging slot, test and ensure that everything works fine and then swap it with the production slot. I am currently…
1
vote
1 answer

Do I need to add a port to ApplicationInitialization in web.config

I want to do a slot deployment in Azure that automatically swaps the slots if deployment is successful. For that I have an endpoint that returns 200 if everything's fine, returns nothing if anything's wrong (no response). I have this code in my…
xyious
  • 871
  • 4
  • 12
  • 27
1
vote
1 answer

Azure Deployment Slots - adding permissions to the slot

We have an Azure database sync group that from time to time needs to be kicked off by the application - as in, a user has done something that requires data to be synced from one database to another (most often adding a new user). We have given the…
Broam
  • 4,460
  • 1
  • 21
  • 37
1
vote
1 answer

Azure app services failed to run deployment command

In the past I'm able to deploy my NodeJS web app on deployment slots for my app service. The deployment was done in the Deployment options blade in portal.azure.com, by configuring the git repository and branch, etc. Recently (last few days since…
1
vote
1 answer

Does deployment slot URL change to defined custom URL after swap to prod?

Hi I have a API deployed and is used in production, and I have been reading a bit about deployment slots. The thing is the API that is in Production has it own custom URL. What I am wondering is that, if I deploy an updated version of the API, and…
John
  • 1,263
  • 19
  • 43
1
vote
1 answer

Azure App Service - Setting up Deployment Slots for existing App Service

I have an existing App Service created in Azure, which has a connection string linking to the database, 'Easy Tables' configured, and a whole bunch of custom API methods and table definitions done via the 'App Service Editor'. I'm at a stage in…