I'm looking for advice on how to securely deploy a basic Flask app within my organization's Azure environment. The app is a simple CRUD application using PostgreSQL for data management and features some basic Bootstrap visuals. I initially built it in PowerApps/PowerPages but feel like I've hit a wall and want to fully utilize web frameworks such as JavaScript, HTML, and CSS. Ideally, I want to do this with minimal red tape and share it securely within my tenant. Long-term, I'm also interested in integrating Azure OpenAI, but that's more complex. Any suggestions?
3 Answers
Consider using Azure App Service for your hosting needs; it should meet your requirements nicely. However, keep in mind that if your organization has specific Azure guidelines, there may be some protocols to follow. It might be a good idea to consult with your Azure team since they might have a straightforward deployment process ready for you.
Since your needs are fairly straightforward, I suggest keeping it that way. You can find guidance on Azure's compute options through their documentation, but prioritize using PaaS solutions and avoid starting with Kubernetes unless you absolutely need that complexity. Best of luck!
Absolutely agree! I've been using K8s since 2017 and recommend steering clear unless you're part of a platform engineering team; it's generally better suited for them rather than standard web app developers.
Deploying your Flask app in a container could be a great option. You can run it on Azure App Services, Azure Container Instances, or even AKS if needed. But I’d love to hear more about how this fits into your overall architecture since that could affect your choice.

Also, if you go with App Service, the P0v3 App Service Plan is a solid choice for getting good value. Plus, one plan can support multiple web apps and serverless functions.