Skip to content

Latest commit

 

History

History
82 lines (49 loc) · 5.4 KB

tutorial-containerize-deploy-python-web-app-azure-05.md

File metadata and controls

82 lines (49 loc) · 5.4 KB
title description author ms.author ms.devlang ms.topic ms.date ms.prod ms.custom
Deploy a Python containerized web app to Azure with managed identity: clean up resources
How to clean up resources used in a tutorial showing how to containerize a Python (Django or Flask) web app and deploy it to App Service.
jessmjohnson
jejohn
python
tutorial
08/24/2022
azure-python
devx-track-python, devx-track-azurecli

Containerize tutorial cleanup and next steps

This article is part of a tutorial about how to containerize and deploy a Python web app to Azure App Service. In this article, you'll clean up resources used in Azure so you don't incur other charges and help keep your Azure subscription uncluttered. You can leave the Azure resources running if you want to use them for further development work.

1. Clean up resources

In this tutorial, all the Azure resources were created in the same resource group. Removing the resource group removes all resources in the resource group and is the fastest way to remove all Azure resources used for your app.

Sign in to the Azure portal and follow these steps to delete a resource group.

Instructions Screenshot
[!INCLUDE Remove resource group Azure portal 1] :::image type="content" source="./media/general-clean-up-steps/remove-resource-group-azure-portal-1-240px.png" lightbox="./media/general-clean-up-steps/remove-resource-group-azure-portal-1.png" alt-text="A screenshot showing how to find resource group in the Azure portal." :::
[!INCLUDE Remove resource group Azure portal 2] :::image type="content" source="./media/general-clean-up-steps/remove-resource-group-azure-portal-2-240px.png" lightbox="./media/general-clean-up-steps/remove-resource-group-azure-portal-2.png" alt-text="A screenshot showing how to delete a resource group in the Azure portal." :::
[!INCLUDE Remove resource group Azure portal 3]

To work with Azure resources in VS Code, you must have the Azure Tools extension pack installed and be signed into Azure from VS Code.

Instructions Screenshot
[!INCLUDE Remove resource group Visual Studio Code 1] :::image type="content" source="./media/general-clean-up-steps/remove-resource-group-visual-studio-code-1-240px.png" lightbox="./media/general-clean-up-steps/remove-resource-group-visual-studio-code-1.png" alt-text="A screenshot showing how to delete a resource group in Visual Studio Code." :::

Azure CLI commands can be run in the Azure Cloud Shell or on a workstation with the Azure CLI installed.

[!INCLUDE Clean up resources CLI]


2. Next steps

After completing this tutorial, here are some next steps you can take to build upon what you learned and move the tutorial code and deployment closer to production ready:

3. Related Learn modules

The following are some Learn modules that explore the technologies and themes covered in this tutorial: