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

Implementing AZs 

To implement AZs, follow these steps:

  1. Select an AZ during VM creation, as shown in the following screenshot:

Figure 9.21 – Configuring availability for a VM
Note that you will have to select a proper region (if a region of your choice does not support AZs, the Availability zone option will be grayed out).
  1. Once the proper option is selected, you will see a new dropdown where you can select the ID of a zone. In most cases, you will have to select one of three different options. At some point in the future, there may be regions that offer more than three zones.

The same can be achieved using the Azure CLI we can use the az vm create command with the --zone switch to denote the zone in which a machine will be created:

$ az vm create -n <vm-name> -g <rg-name> --location <location> --zone <1,2,3>

The preceding scenario works for a single VM. Note that a single machine will not give you any guarantees...