In this tutorial we will see how to deploy a simple Flask app to Azure cloud in just 5 minutes. This tutorial uses Azure Cloud Shell which is a command line tool to access bash or powershell utility on your azure subscription.
You can follow along with the video for tutorial if you have azure account already.
Code:
Sample Flask App deployed in the tutorial demonstrated can be accessed from the link here: https://github.com/Azure-Samples/python-docs-hello-world
Command to Deploy: az webapp up -n "app-name"
Subscribe to TutLinks on Youtube: https://www.youtube.com/channel/UCpEyx-O_FJnHUgwiWD6BlWA?sub_confirmation=1
3. 5 simple steps to Deploy Flask App to Azure
1. Login to Azure Portal portal.azure.com
2. Launch Azure Cloud Shell
3. Run the following command in bash of Azure cloud shell
> git clone https://github.com/Azure-Samples/python-docs-hello-world.git
1. cd into the directory of python-docs-hello-world
2. Run the following command to spin up a flask web app
> az webapp up -n <your-app-name>
TutLinks.com