Book Image

Learn Azure Administration

By : Kamil Mrzygłód
Book Image

Learn Azure Administration

By: Kamil Mrzygłód

Overview of this book

Microsoft Azure is one of the upcoming cloud platforms that provide cost-effective solutions and services to help businesses overcome complex infrastructure-related challenges. This book will help you scale your cloud administration skills with Microsoft Azure. Learn Azure Administration starts with an introduction to the management of Azure subscriptions, and then takes you through Azure resource management. Next, you'll configure and manage virtual networks and find out how to integrate them with a set of Azure services. You'll then handle the identity and security for users with the help of Azure Active Directory, and manage access from a single place using policies and defined roles. As you advance, you'll get to grips with receipts to manage a virtual machine. The next set of chapters will teach you how to solve advanced problems such as DDoS protection, load balancing, and networking for containers. You'll also learn how to set up file servers, along with managing and storing backups. Later, you'll review monitoring solutions and backup plans for a host of services. The last set of chapters will help you to integrate different services with Azure Event Grid, Azure Automation, and Azure Logic Apps, and teach you how to manage Azure DevOps. By the end of this Azure book, you'll be proficient enough to easily administer your Azure-based cloud environment.
Table of Contents (15 chapters)
1
Section 1: Understanding the Basics
5
Section 2: Identity and Access Management
9
Section 3: Advanced Topics

Monitoring Blob storage with Azure Event Grid

When it comes to native ways of monitoring what is stored inside an Azure Blob storage, there is no tool that allows you to do this. However, you may still want to implement that kind of functionality—either to introduce some way of validating what is actually stored or to understand the actual data volume and inflow.

In this section, we will use Azure Event Grid with Azure Functions, written in PowerShell, to discuss the possibilities and show you the easiest way to achieve this functionality. To get started, we will need the following services deployed to a resource group:

  • Azure storage with a selected kind of Blob storage 
  • Azure Event Grid integrated with the Storage account (see Chapter 2, Managing Azure Resources, for reference)

To deploy the Blob storage, use the following command:

az storage account create -g <rg-name>-n <account-name> --kind BlobStorage --access-tier <Hot|Cold>
It is important to...