Azure Automation Hybrid Workers with PowerShell Remoting and Credential Resources

This video is a follow-up to a previous one on Azure Automation with Arc-enabled Hybrid Workers.  Hybrid Workers extend runbooks to a private network, but not every computer needs to be a Hybrid Worker.  In this video, we review using PowerShell Remoting with Hybrid Workers to build idempotent runbooks that target computers inside a private network.  Then we use a shared credential resource to authenticate the runbook in the local environment.  Multiple examples showing how to target other systems with PowerShell from the Hybrid Worker are provided.

Continue reading “Azure Automation Hybrid Workers with PowerShell Remoting and Credential Resources”

Azure Automation Hybrid Worker with Azure Arc Enabled Servers

Azure Arc Automation Hybrid Worker

Azure Automation is not just for Azure!  We can extend it to an on-premises or multi-cloud environment with Hybrid Workers.  This video starts with an introduction to Hybrid Workers and then moves on to installing an Azure Automation Hybrid Worker on Azure Arc enabled severs.  We then test the implementation with a simple runbook.

Continue reading “Azure Automation Hybrid Worker with Azure Arc Enabled Servers”

Start an Azure Automation Runbook with a Schedule or PowerShell

Azure Automation Schedule and PowerShell

This video goes over the steps to create a shared scheduled on Azure Automation.  We review options available to create and edit a schedule.  Then we link the schedule to a runbook to automatically start a runbook based on a schedule.  Next, we view the Azure Automation and Runbook settings with PowerShell, then run and view the progress of a job.

Continue reading “Start an Azure Automation Runbook with a Schedule or PowerShell”

Link Azure Automation to Log Analytics

Azure Automation Log Analytics

Log Analytics is a great tool for storing and searching log data.  We can link an Azure Automation account to a Log Analytics workspace, but the process may not be as obvious as one would think.  In this video, we create a Log Analytics workspace then link it to Azure Automation account. Next, we configure the Automation account to send diagnostic data to a Log Analytics workspace and verify data goes to the workspace.

Continue reading “Link Azure Automation to Log Analytics”

Manage Azure Automation Runbooks with Git Source Control

Storing important automation scripts on a file share or local hard drive?  There is a better way with Azure Automation and Source Control integration.  In this video, we review how to enable source control integration with an Azure Automation account.  We look at the options, then walk-through configuring Source Control with Azure DevOps, identifying where we can specify to use GitHub instead.  Finally, we add, modify, and delete an Azure Automation runbook.

Continue reading “Manage Azure Automation Runbooks with Git Source Control”

Introduction to Azure Automation (again)

Azure Automation is a process automation tool hosted in Azure.  It provides the ability to run scripts or Runbooks in Azure, other clouds, or On-premises by a schedule or other event trigger.  In addition, we can manage inventory and change tracking with Configuration Management, keep computers up to date with Update Management, and share resources such as modules, schedules, and credentials with share resources.

Continue reading “Introduction to Azure Automation (again)”

Remote Backend State with Terraform and Azure Storage

Until now, we have developed our Infrastructure code as a single developer. As a result, our state file is created and maintained on the local development computer.  This is fine for a team of one, but having multiple versions of a state file can become an issue as others join in.  This post and accompanying video examines using a remote backend state on Azure Storage to host shared state files.

Continue reading “Remote Backend State with Terraform and Azure Storage”

Use Existing Resources with Data Sources in Terraform and Azure

Use Terraform long enough, and eventually, we’ll need to use an existing resource not managed by Terraform as part of the deployment.  A typical example is deploying a network-enabled resource, a virtual machine, for instance, to an existing virtual network.  This post and accompanying video demonstrate using an existing Azure resource as part of a Terraform deployment. 

Continue reading “Use Existing Resources with Data Sources in Terraform and Azure”