7: Clean up resources after deploying to Azure App Service on Linux from Visual Studio Code

Previous step: stream logs

The Azure App Service you created includes a backing App Service Plan that can incur costs. To avoid such costs, delete the resource group that contains all the resources together.

You can delete the resource group by using either using the Azure portal or the Azure CLI:

  • In the Azure portal, select Resource groups from the left-side navigation pane, select the resource group that was created in the process of this tutorial, and then use the Delete resource group command.

  • Run the following Azure CLI command (locally or using the Cloud Shell), replacing <resource_group> with the name of the group used in this tutorial:

    az group delete --no-wait --name <resource_group>
    

Next steps

Congratulations on completing this walkthrough of deploying Python code to App Service on Linux!

As noted earlier, you can learn more about the App Service extension by visiting its GitHub repository, vscode-azureappservice. Issues and contributions are also welcome.

To learn more about Azure services that you can use from Python, including data storage along with AI and Machine Learning services, visit Azure Python Developer Center.

There are also other Azure extensions for VS Code that you may find helpful. Just search on "Azure" in the Extensions explorer:

Azure extensions for Visual Studio Code

Some popular extensions are:

Having issues? Let us know.