Cleaning up resources
We have created a number of publicly available resources in Azure while completing hands-on exercises in this chapter. Now, we need to delete these resources. Fortunately, it is very simple to delete a related group of resources since we have created all the resources under the same resource group. Follow these steps to delete all the resources we created in this chapter:
- Log into Azure Cloud Shell by logging into https://shell.azure.com/ using the Microsoft account you created for this chapter.
- Execute the following code from cloud shell:
resourcegroupname=bookAppResourceGroup az group delete --name $resourcegroupname
Just like the other scripts in this chapter, your might have to change the value of the resourcegroupname
variable if you chose a different resource group name for the other exercises.