Book Image

Learn Azure Administration - Second Edition

By : Kamil Mrzygłód
5 (1)
Book Image

Learn Azure Administration - Second Edition

5 (1)
By: Kamil Mrzygłód

Overview of this book

Complete with the latest advancements in Azure services, this second edition of Learn Azure Administration is a comprehensive guide to scaling your cloud administration skills, offering an updated exploration of Azure fundamentals and delving into the intricacies of Azure Resource Manager and Azure Active Directory. Starting with infrastructure as code (IaC) basics, this book guides you through the seamless migration to Azure Bicep and ARM templates. From Azure virtual networks planning to deployment, you’ll get to grips with the complexities of Azure Load Balancer, virtual machines, and configuring essential virtual machine extensions. You'll handle the identity and security for users with the Microsoft Entra ID and centralize access using policies and defined roles. Further chapters strengthen your grasp of Azure Storage security, supplemented by an overview of tools such as Network Watcher. By the end of the book, you’ll have a holistic grasp of Azure administration principles to tackle contemporary challenges and expand your proficiency to administer your Azure-based cloud environment using various tools like Azure CLI, Azure PowerShell, and infrastructure as code.
Table of Contents (23 chapters)
1
Part 1:Introduction to Azure for Azure Administrators
4
Part 2: Networking for Azure Administrator
7
Part 3: Administration of Azure Virtual Machines
12
Part 4: Azure Storage for Administrators
16
Part 5: Governance and Monitoring

Querying activity logs

Activity logs help you understand changes and operations made at the resource level so that you can verify the author of any modification or auditing operations. Browsing that log in the Azure portal is handy in simpler scenarios but will become cumbersome when you’re trying to find a specific entry that is buried among similar logged items. In this section, we’ll learn how to query the activity log using the Azure CLI, which will simplify your day-to-day activities. Let’s see some examples to get a better understanding of this topic.

Using the Azure CLI to query activity logs

To query an activity log in the Azure CLI, we’ll use the following group of commands:

az monitor activity-log list

The log can be queried by scoping results to either a resource group or resource identifier. The latter is useful if you want to further limit results returned by the command. For example, if you’d like to see logs for a resource...