This device is not compatible.

Deploy a Flask Application Using Azure CLI

PROJECT


Deploy a Flask Application Using Azure CLI

Learn to deploy an e-learning course catalog website using the Azure CLI. The website is developed using Flask. We'll use different Azure commands to deploy the application. In this project, we'll build and push a custom container image to the Azure Container Registry and create the App Service using that custom image.

Deploy a Flask Application Using Azure CLI

You will learn to:

Apply the fundamentals of Azure deployment.

Build and push custom docker images to Azure Container Registry.

Use the Azure CLI to configure cloud applications.

Use the Azure CLI to deploy a Flask application.

Skills

Cloud Deployment

Web Frameworks

Azure Cloud Services

Prerequisites

Basic knowledge of Azure CLI

Basic knowledge of Azure resources

Microsoft Azure subscription

Technologies

Flask

Docker

Azure Registry

Azure Resource Groups

Project Description

In this project, we’ll deploy a custom Flask application to the cloud using the Azure CLI. The application we’ll be deploying is a simple e-learning course catalog. We’ll configure and build the container image for our application using a Dockerfile that will make this application ready to be deployed to the cloud using Azure command-line tools.

Azure is a cloud computing service operated by Microsoft for application management via Microsoft-managed data centers.

The simple e-learning course catalog application we will deploy shows a list of courses with a search bar that allows users to browse available courses. The data is being loaded from an SQLAlchemy database.

The layout of the website, which will be accessible via a dynamic URL, looks like this:

Application homepage

Project Tasks

1

Initial Setup

Task 0: Get Started

Task 1: Azure CLI Configuration

2

Configuration

Task 2: Create an Azure Resource Group

Task 3: Create an Azure Container Registry

Task 4: Build the Docker Image

Task 5: Push the Docker Image to the ACR

3

Deployment

Task 6: Create an App Service Plan

Task 7: Create an App Service

Task 8: Set Up the Website Port

Task 9: Allow Admin Access to the ACR

Task 10: Deploy the Application

4

Clean Up

Task 11: Delete the Resource Group

Congratulations!

has successfully completed the Guided ProjectDeploy a Flask Application Using Azure CLI

Relevant Courses

Use the following content to review prerequisites or explore specific concepts in detail.