Book Image

Hands-On Linux Administration on Azure - Second Edition

By : Kamesh Ganesan, Rithin Skaria, Frederik Vos
Book Image

Hands-On Linux Administration on Azure - Second Edition

By: Kamesh Ganesan, Rithin Skaria, Frederik Vos

Overview of this book

Thanks to its flexibility in delivering scalable cloud solutions, Microsoft Azure is a suitable platform for managing all your workloads. You can use it to implement Linux virtual machines and containers, and to create applications in open source languages with open APIs. This Linux administration book first takes you through the fundamentals of Linux and Azure to prepare you for the more advanced Linux features in later chapters. With the help of real-world examples, you’ll learn how to deploy virtual machines (VMs) in Azure, expand their capabilities, and manage them efficiently. You will manage containers and use them to run applications reliably, and in the concluding chapter, you'll explore troubleshooting techniques using a variety of open source tools. By the end of this book, you'll be proficient in administering Linux on Azure and leveraging the tools required for deployment.
Table of Contents (14 chapters)
13
Index

Technical Requirements

For this chapter, basic knowledge of storage and networking is required. In the Further reading section, you can find some suggestions to prepare yourself.

It's not necessary, but it's a good idea to have at least one VM up and running. This way, you will not only be able to create new resources in this chapter but also look at the properties of an existing VM. In this section, we will create an Ubuntu VM named ubuntu01 in the chapter4 resource group for the examples.

Set the variables for the resource group and the location:

$myRG = "chapter4"
$myLocation = "westus"
$myTestVM = "ubuntu01"

Create the resource group:

New-AzResourceGroup -Name $myRG -Location $myLocation

Create the VM:

  New-AzVm '
  -ResourceGroupName $myRG '
  -Name $myTestVM '
  -ImageName UbuntuLTS '
  -Location $myLocation '
  -VirtualNetworkName...