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

Uploading blobs to Blob Storage

As Blob Storage acts as a generic storage solution for files, there needs to be a way to upload files to created containers. Fortunately, there are several different ways to perform upload operations to a storage account – they can be used in a couple of different scenarios:

  • Using an SDK will be helpful when working in a traditional development environment.
  • The Azure CLI could be leveraged when writing automation scripts. The same applies to Azure PowerShell.
  • You can also use additional tools such as AzCopy if you need to work with larger datasets.

In this section, we’ll focus on the Azure CLI and AzCopy for examples of performing upload operations. Let’s start with the former.

Using the Azure CLI to upload a file

Uploading a file using the Azure CLI can be performed using the following command:

az storage blob upload -f <path-to-file> -c <container-name> -n <blob-name>

However...