How to manage servers using Azure Arc – Part 2

How to manage servers using Azure Arc – Part 2

Part 2 – Fundamental’s (Log Analytics workspace and Automation Account)

Introduction

Azure Arc relies on other Azure services to be able to manage machines. Particularly Log Analytics and Automations Accounts.

So, to take advantage of management features like Update management, change tracking etc. we must setup a Log Analytics workspace where we can store data collected from the machines we want to manage and also configure an Automation Account for collecting data, apply updates etc.

In this post we will start by setting up a Log Analytics workspace. Afterwards we will create an Automation Account and link it to the workspace.

Overview of the series:

Requirements

– Azure Subscription – if you don’t already have a subscription, you can get a free trial here

– Resource group

To get started on the let’s begin by setting up a Log Analytics workspace.

Log Analytics workspace

In the main blade of Log Analytics workspaces click create

clip_image002

Fill out the required fields.

I will create a new resource group for my workspace, but for testing you can choose to put it in the same resource group as you Azure Arc resources. That way you can easily clean up the resources when you are done testing.

clip_image004

NOTE: A resource can only be connected to one Log Analytics workspace at the time.

Once we have filled in the required fields click “Review + Create” to review the settings and create the resource. This shouldn’t take more than a couple of minutes.

clip_image007

clip_image009

Automation Account

Now that we have our Log Analytics workspace setup, we can go head and create our Automation Account.

To switch to the Automation Account blade search Automation Accounts in the search box to get to the Automation Account blade

clip_image011

When we are in the Automation Account blade, we can create our account. Choose “Create”

clip_image013

Fill in the required information.

I will just put the Automation Account in the same resource group as the Log Analytics workspace as they will be linked a probably share the same lift time in Azure and pick a name similar to the name, I gave the Log Analytics workspace.

clip_image015

Once we have filled in the required fields click “Review + Create” to review the settings and create the resource. This shouldn’t take more than a couple of minutes.

clip_image017

clip_image019

Now that we have our Automation account in place, we can link it to Log Analytics workspace we created earlier.

To get to the Automation Account click “Go to resource” on the deployment overview page or search for Automation Accounts in the search box and select your account in the Automation Accounts panel:

clip_image021

clip_image023

To link the Automation Account to our Log Analytics workspace we can click either one of the blades under ”Configuration Management” or “Update Management“.

clip_image025

This will give us the option to enable the solution we selected and link the Account to a workspace at the same time.

clip_image027

Then we select the Log Analytics workspace we created and click “Enable”

NOTE: It may take a few seconds for the “Enable” button to be available

 

clip_image030

Wait for the deployment to finish, it can take a few minutes…

clip_image032

clip_image034

Once the deployment is complete, we can look in the “Linked workspace” blade and we can now see our Automation Account is linked to our Log Analytics workspace

clip_image036

To Finish up this part of the setup we can go ahead and enable the remaining solutions – Inventory and Change tracking in this case.

clip_image038

clip_image040

Summary

We have now deployed the necessary resources to enable update management as well as Inventory and Change tracking for our Arc enabled machines.

In the next part of this series, we will look at configuring Update management!

Table of Contents

Share this post
Search blog posts
Search
Authors
Modern Workplace consultant and a Microsoft MVP in Enterprise Mobility.
Modern Workplace consultant and a Microsoft MVP in Windows and Devices for IT.

Infrastructure architect with focus on Modern Workplace and Microsoft 365 security.

Cloud & security specialist with focus on Microsoft backend products and cloud technologies.

Cloud & Security Specialist, with a passion for all things Cybersecurity

Cloud and infrastructure security specialist with background in networking.

Infrastructure architect with focus on design, implementation, migration and consolidation.

Infrastructure consultant with focus on cloud solutions in Office365 and Azure.

follow us in feedly
Categories

Follow on SoMe