Manage Resources on Azure Flashcards
Azure PowerShell
Command line shell
Built on top of .Net which accepts and returns .Net objects
Visual Studio Code
Free source code editor (can run in the cloud)
Not same as “Visual Studio” which is an IDE
Azure Cloud Shell
Interactive, authenticated browser accessible shell for managing Azure resources.
Can choose either Bash or Powershell
Asked to create storage device when launched
Az account list will show you all accounts
Times out after 20 minutes.
Windows specific functionality not available (runs on Linux container)
Azure CLI
Command line interface
Processes commands to a computer program in lines of text.
Installed on Windows, Mac and Linux.
Azure commands start with “az” followed by other stuff to create, update, delete resources
Resource Groups + 4 benefits
Containers for resources. Benefits include:
Organisation
Enforce policies and standards
Avoid accidental deletion
Security - use RBAC to control access
Organize by type (VM’s, DB’s), function (finance) or phase (dev/prod)
Tagging
Name/value pairs of text data you apply to resources and RG’s (Name = Department, Value = Finance, for example)
Can use policy to force use of tags
Tags not inherited, and a resource can have 50 tags