DEV Community

Supraja Tangella
Supraja Tangella

Posted on

๐—”๐˜‡๐˜‚๐—ฟ๐—ฒ ๐—–๐—น๐—ฒ๐—ฎ๐—ป๐˜‚๐—ฝ: ๐—™๐—ถ๐—ป๐—ฎ๐—น ๐—ฆ๐˜๐—ฒ๐—ฝ

Are you still paying for Azure resources you no longer need? Letโ€™s tidy up before those costs sneak up on you.

Clean up your Azure DevOps environment with these easy steps:

After finishing the module, you have Azure Functions and App Service resources.

To avoid extra charges and free up Azure DevOps build minutes, it's time to clean up.

The simplest way is to delete the resource group that holds all your resources.

Open the Azure Cloud Shell in the portal.

Choose Bash.

Run this command:

az group delete --name

Confirm with โ€œyโ€ when prompted.

Optionally, check the remaining resource groups:

az group list --output table

Suppose your resource group is named my-functions-rg. In Azure Cloud Shell (Bash), run:

az group delete --name my-functions-rg

Type y to confirm. When it's done, run:

az group list --output table

This lets you verify the deletion. Youโ€™ve now cleaned up your environmentโ€”and stopped potential cost leakages!

Whatโ€™s your routine for cleaning up cloud environments when your project wraps up?

Top comments (0)