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

Managing Compute Resources

Let's sum up the components covered in this chapter that you need as a requirement, before you can deploy a VM. In the case of the storage account, it's not a real requirement, but do you want to work without being able to receive boot diagnostics in times of trouble? As mentioned earlier, a boot diagnostics account is very useful if your VMs go into a non-bootable state. The logs stored in this account can be used to find the root cause of the non-booting state of the VM. For testing, this is not a mandatory option, but for production workloads, it is recommended to enable boot diagnostics, which will help you understand what went wrong during a failure.

Note

Every resource mentioned here is also used by Azure Container Service and Azure Kubernetes Service.

If you remember, in the Technical requirements section, we looked at PowerShell code to create a new VM, where most of the variables were not defined. Here is the code again:

 ...