Questions tagged [azure-deployment-slots]

167 questions
2
votes
2 answers

Stick setting to staging slot

I have the following bicep file that adds deployment slots with config settings: var appSettings = [ { name: 'WEBSITE_RUN_FROM_PACKAGE' value: 1 } { name: 'WEBSITE_ENABLE_SYNC_UPDATE_SITE' value: 1 } ] var…
user989988
  • 3,006
  • 7
  • 44
  • 91
2
votes
3 answers

How to stick app config settings to a staging slot via bicep

How to stick app config settings to a slot via bicep? Here is my bicep file: var stagingSettings = [ { name: 'AzureFunctionsJobHost__extensions__durableTask__hubName' value: 'staging' slotSetting: true } ] resource functionApp…
2
votes
1 answer

React App different API URLs per environment using deployment slots

this is a question related to a CRA React app using Azure App Service and Deployment Slots. We have a Backend API that is specific to each environment, so for "dev" we have a specific API, and for "testing" we have another, basically just different…
2
votes
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
  • 21
  • 3
2
votes
2 answers

Azure App Service Deployment Slot - Application Gateway

Working on a project where we are starting to use Deployment Slots in our App Services. All our Prod apps are located behind Application Gateway, and we would like to also have our Slots located behind Application Gateway. I understand we can not do…
2
votes
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…
2
votes
2 answers

What is the best way to maintain previous versions of an API in Azure?

My goal is to have previous versions be immutable: they should not change in definition and function. The API is build with ASP.NET Core based on .NET 4.7.2(cause of dependencies) and hosted as Azure App Service. Preferably, I don't want to clutter…
2
votes
1 answer

App Service production traffic going to stage slot

I have an Azure App Service that has a stage slot just for deployment. I got setted 100% traffic to the production slot. But sometimes randomly my production traffic got redirected to the stage slot and all my users went down. After a few minutes…
2
votes
2 answers

How to swap the database in Azure Web App deployment slots?

I understand that every slot has its own configuration, but what about db migrations? How do they apply? Let's say I deploy to staging with migrations, so staging db gets updated. How does production db gets updated? And how do I access the…
Ayed Mohamed Amine
  • 587
  • 2
  • 10
  • 30
2
votes
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
  • 5,315
  • 11
  • 46
  • 79
2
votes
1 answer

Point Microsoft Bot DirectLine API to slot instance

I would like to follow Azure best practices and utilize deployment slots for testing my chat bot. I have deployed 2 instances of my bot. Production bot: https://[my-bot].azurewebsites.net Staging bot: https://[my-bot-staging].azurewebsites.net I…
2
votes
0 answers

Understanding azure slots swapping and effect on git repositories

I am trying to create 2 different slots in Azure for a Web application (staging and production). I am using "Local Git Repository" to push my already built application to Azure (so, no VSTS). From my tests, I noticed that swapping between the slots…
Learner
  • 3,297
  • 4
  • 37
  • 62
2
votes
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…
H4p7ic
  • 1,669
  • 2
  • 32
  • 61
2
votes
1 answer

azure slot swapping and web.config settings

I have several slots in azure , one for qa, one for staging and one for 'live'. I publish to QA and staging at the same time, once QA is approved, I then want to swap staging with live (so that staging now becomes live). My question is, as…
2
votes
1 answer

Azure AD Web App with zombie Login Redirect Loop

I'm working on an Azure app with a dev, a staging, and a bluegreen slot. Authentication is handled by Azure AD, and the user is redirected to the microsoftonline login page. I downloaded publish profiles for each slot yesterday and published all…
1 2
3
11 12