Book Image

Migrating Linux to Microsoft Azure

By : Rithin Skaria, Toni Willberg
Book Image

Migrating Linux to Microsoft Azure

By: Rithin Skaria, Toni Willberg

Overview of this book

With cloud adoption at the core of digital transformation for organizations, there has been a significant demand for deploying and hosting enterprise business workloads in the cloud. Migrating Linux to Microsoft Azure offers a wealth of actionable insights into deploying Linux workload to Azure. You'll begin by learning about the history of IT, operating systems, Unix, Linux, and Windows before moving on to look at the cloud and what things were like before virtualization. This will help anyone new to Linux become familiar with the terms used throughout the book. You'll then explore popular Linux distributions, including RHEL 7, RHEL 8, SLES, Ubuntu Pro, CentOS 7, and more. As you progress, you'll cover the technical details of Linux workloads such as LAMP, Java, and SAP, and understand how to assess your current environment and prepare for your migration to Azure through cloud governance and operations planning. Finally, you'll go through the execution of a real-world migration project and learn how to analyze and debug some common problems that Linux on Azure users may encounter. By the end of this Linux book, you'll be proficient at performing an effective migration of Linux workloads to Azure for your organization.
Table of Contents (8 chapters)

Hands-on managing Linux on Azure

Linux logs can be ingested into the Log Analytics workspace. In this hands-on exercise, we will see how we can ingest the syslog from our migrated Linux machine into the Log Analytics workspace and analyze it using Kusto Query Language (KQL).

Syslog is an event logging protocol that is widely used in Linux. The messages sent by the applications may get stored on the local machine or delivered to a syslog collector. Using the Linux Log Analytics agent, we will configure the syslog daemon to forward these syslog entries to the agent, and the agent will then send the messages to the Log Analytics workspace, which is part of Azure Monitor. Here, we are using the Log Analytics agent to push the data to the Log Analytics workspace.

Figure 5.10 is a graphical representation of how data is sent to Azure Monitor from the Linux machine:

A graphical representation of the Linux machine sending Syslog messages to Azure Monitor

Figure 5.10: Sending syslog messages to Azure Monitor

The syslog collector supports the...