Suppose you’re new to a tech team and you’ve just been given read access to the QA Azure subscription. You’re told to inventory the data resources in that environment and compare it to the official documentation maintained by the team to see how well the team is maintaining both the environment and the documentation. (Because every team loves to have the new person reporting in on their housekeeping. Not.) This beginner lab demonstrates 3 ways to review existing data platform resources in an Azure subscription: using Cloud Shell on the Azure portal to enter Azure CLI or PowerShell commands, or by navigating to dashboards within the Azure Portal. The code is provided for you to copy/paste, and no prior coding experience is required.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Survey Data Resources in the Portal by Resource Group
- Launch the Azure portal in a private browser window, and navigate to the lab-provided resource group to see the list of data resources.
- For each storage or database account/instance, review Essentials, Activity Log, and Access Control.
- The latter 2 will be mostly empty — this is just to make you aware of these basic features.
- Within each account/instance, drill down on each container or database to explore further.
- Survey Data Resources by Resource Group Using PowerShell
- Launch Cloud Shell.
- When prompted to initialize storage for Cloud Shell, select Advanced settings and add the storage account. (Do NOT select Create storage, yet; doing so will result in an error.)
3 Use the same location as your lab provided resource group. For Storage account, do NOT use the existing storage account; you will probably receive an error, if you do. Select Create new and give the account a globally unique name using all lowercase letters and numerals. - For File share, select Create new and give it any name (e.g., "mycloudshellfileshare"); this name does not need to be globally unique.
- Click Create storage
- Explore the menu bar to enlarge text and review help docs.
- Use PowerShell code to
get
resource groups in order to confirm the existence of lab-provided resources. - Use PowerShell code to drill down on each container or database to explore.
- Survey Data Resources by Resource Group Using Azure CLI
- In Cloud Shell, switch to the Bash terminal.
- Explore the menu bar to enlarge text and review help docs.
- Use Azure CLI code to
get
resource groups in order to confirm the existence of lab-provided resources. - Use Azure CLI code to drill down on each container or database to explore.