Skip main navigation

Managing AWS VMs with Automation DSC

.

Runbooks in Azure Automation might not have access to resources in other clouds or in your on-premises environment because they run on the Azure cloud platform.

The video in this step demonstrates how to implement the Automation DSC platform to platform, and in this instance for AWS VMs. You will learn how to make the AWS VMs discoverable within the Azure Portal by running PowerShell scripts on target machines in Amazon. You will be applying DSC configurations on AWS VMs by leveraging the Azure Automation tool kit.

The information below will help you understand how to manage a hybrid unit.

The Hybrid Runbook Worker Feature

The Hybrid Runbook Worker feature of Azure Automation allows you to run runbooks on machines located in your datacentre to manage local resources. The runbooks are stored and managed in Azure Automation and then delivered to one or more on-premise machines:

Local

You can designate one or more computers in your datacentre to act as a Hybrid Runbook Worker and then run runbooks from Azure Automation. Each worker requires the Microsoft management agent with a connection to Microsoft Operations Management Suite and the Azure Automation runbook environment. Operations Management Suite is only used to install and maintain the management agent and to monitor the functionality of the worker. Azure Automation performs the delivery of runbooks and the instruction to run them.

Internet

There are no inbound firewall requirements to support Hybrid Runbook Workers. Only TCP 443 is required for outbound internet access. The agent on the local computer initiates all communication with Azure Automation in the cloud. When a runbook is started, Azure Automation creates an instruction that is retrieved by the agent. The agent then pulls down the runbook and any parameters before running it. It will also retrieve any assets that are used by the runbook from Azure Automation.

Configuration

To manage the configuration of your servers that support the Hybrid Runbook Worker role with Desired State Configuration (DSC), you must add them as DSC nodes.

Hybrid Runbook Worker Groups

Each Hybrid Runbook Worker is a member of a Hybrid Runbook Worker group that you specify when you install the agent. A group can include a single agent but you can install multiple agents in a group for high availability.

When you start a runbook on a Hybrid Runbook Worker, you specify the group that it will run on. The members of the group will determine which worker will service the request. You cannot specify a specific worker.

For more information on installing and removing Hybrid Runbook Workers and groups, see Installing Hybrid Runbook Worker and Hybrid Management in Azure Automation.

Join the discussion

The last two steps demonstrated how you can manage Azure IaaS and AWS VMs with Automation DSC. Consider the context and automation in your environment. How would you benefit from implementing Automation DSC in your environment? Share your ideas with the group.
Use the Discussion section below and let us know your thoughts. Try to respond to at least one other post and once you’re happy with your contribution, click the Mark as complete button to move on to the next step.
This article is from the free online

Microsoft Future Ready: DevOps Development, Implementation and Azure Automation

Created by
FutureLearn - Learning For Life

Reach your personal and professional goals

Unlock access to hundreds of expert online courses and degrees from top universities and educators to gain accredited qualifications and professional CV-building certificates.

Join over 18 million learners to launch, switch or build upon your career, all at your own pace, across a wide range of topic areas.

Start Learning now