Forum Discussion
shazaddin
Mar 29, 2023Copper Contributor
Deployment slots for standard logic apps
I am working on a standard logic app that's deployed directly to an App Service. I want to use the deployment slots feature. On Microsoft's website it says deployment slots are not supported for logic apps but they don't really explain why. On other forums i have read that people are using deployment slots successfully for standard logic apps despite they not being supported. I would appreciate any pointers around how can i utilise the deployment slots feature if possible?
- josequintinoIron ContributorHi shazaddin Deployment slots are a feature of Azure App Services that allow you to deploy multiple versions of an application into different "slots," which can be swapped to control which version is live. Although Microsoft's official documentation states that deployment slots are not supported for Logic Apps, this primarily applies to Consumption Plan Logic Apps. For Standard Logic Apps, which are deployed directly to an App Service, you can still use deployment slots. However, it's important to note that this is not officially supported by Microsoft, so you may encounter unexpected behavior or issues. To utilize deployment slots for your Standard Logic App, follow these steps: - Create an Azure App Service plan with a Standard or higher tier. - Create a new Web App within the App Service plan and set its operating system to Windows. - Configure your Web App to host your Standard Logic App by adding the necessary application settings. - Navigate to the "Deployment slots" section in your Web App's settings. - Create a new deployment slot by clicking "Add Slot" and providing a name for the slot. - Deploy your Standard Logic App to the newly created slot using your preferred deployment method, such as Git, Azure DevOps, or FTP. - Once you have tested your changes in the new slot, you can swap it with the production slot to make the changes live. Remember that this is not an officially supported configuration, so use it at your own risk. It's essential to thoroughly test your application in each slot before swapping to minimize potential issues.