How to deploy a web application in Azure App Service?

How to deploy a web application in Azure App Service?

How to deploy a web application in Azure App Service?

Hello Everyone

Welcome to CloudAffaire and this is Debjeet.

In today’s blog post, we will discuss how to deploy a Python App (basic REST API) using Azure App Service.

How to deploy a web application in Azure App Service?

Prerequisites:

Azure CLI installed and configured

Step 1: Clone the basic REST API code written in Python.

Step 2: Create a new resources group for your Azure app service.

Step 3: Deploy a Python basic REST API using Azure App Service.

The above command will do the following things

  • Create a default app service plan.
  • Create an app with the specified name.
  • Zip deploy files from the current working directory to the web app.

It may take 2-3 mins to create all the resources and deploy your Python web app using Azure App Service.

Step 4: Validate if the REST API is working fine.

You can also check in Azure Portal under Azure App Services

How to deploy a web application in Azure App service?

Step 5: Clean up.

Hope you have enjoyed this article. To get more details on Azure App Service, please refer to the below documentation.

https://docs.microsoft.com/en-us/azure/app-service/

Azure App Service CLI reference

https://docs.microsoft.com/en-us/cli/azure/webapp?view=azure-cli-latest

Leave a Reply

Close Menu