The Azure Cloud Shell
Explore how to manage Azure resources through the Cloud Shell, using both Azure CLI and PowerShell. Understand setting up Cloud Shell, switching between Bash and PowerShell environments, and the advantages of command-line automation in Azure resource management.
We'll cover the following...
Azure gives you many different ways to interact with its resources from the Azure Portal, Azure SDKs, the command-line, and more. In this course, we’re going to focus on the command-line.
Even though you could manage Azure purely from a graphical user interface (GUI) perspective, this defeats a big DevOps pillar: automation. Even if you’re not automating tasks now, using the command-line will set you up for scripting and automation down the line.
PowerShell vs. Azure CLI
n this course, we’re going to focus on two command-line tools to manage and automate Azure: the Azure CLI and PowerShell. Why? Because the Azure CLI is an extremely common way to work with Azure across platforms (Windows and Linux), and many admins already know PowerShell. Both tools work well to manage Azure from the command-line, but they each have their nuanced differences.
Both tools have a lot in common and can generally perform the same tasks. They can even be used together. Each tool has its own way of working with Azure. But for the authors, it really comes down to two questions.
- Are you managing