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

Understanding load balancer rules

So far, we have defined frontend and backend pools for our load balancer. Now, we need to connect those components by providing a set of rules that will tell Azure Load Balancer how to distribute the load. A rule is a simple map of values that links our frontend IP address with the set of machines defined for a given backend pool. In the upcoming sections, you’ll create a rule and configure it. We’ll also discuss more advanced topics, such as Floating IP and high-availability ports.

Creating a load balancer rule

Let’s create our first rule using the following command:

az network lb rule create \
  -g <resource-group-name> \
  --lb-name <load-balancer-name> \
  -n WebServer \
  --protocol Tcp \
  --frontend-ip LoadBalancerFrontEnd \
  --frontend-port 80 \
  --backend-pool-name SecondPool \
  --backend-port 80

The rule we’...