Microsoft Azure Automation service provides a framework to create and schedule workflows to simplify the repetitive and mundane tasks that Cloud administrators perform with Azure. The workflows are commonly known as run-books.
In this article, we will explore the Microsoft Azure Automation service. In addition, we will walk through the steps for creating and managing run-books.
We will create a new automation account and a set of credentials to access the automation service. Storing credentials in Azure Automation allows workflows to connect to Azure as the account provided.
To use the Automation feature, Type in the keyword “automation” in the Azure Market place option in the Azure portal.
Let us follow the steps to enable automation service.
I assume that you have set up a subscription
Browse Azure Management Portal: portal.azure.com
Type in the credentials to log in to your subscription
In the search bar, type in the keyword “Automation” and click enter. You can see that the automation accounts services are listed
Select the **Automation Accounts **option
Click the Add icon
Type in the Name, select the Azure subscription for which you want to enable Azure Automation. In addition, select Create Azure Run As account. and then click Create
After completion of the registration process, you will see the automation icon displayed on the left side of the portal
Click Learn More in the Azure automation section to find information to help you get started. You can find the latest documentation on Automation, run a simple tutorial, jump to the Runbook Authoring Guide, and access the Azure forums to discuss and get answers from others about automation
Runbooks generally contain step-by-step procedures that define where to start-and-stop, handle requests, contingency plans, and helps to debug the process.
Azure Automation runbook encompasses a set of processes and step-by-step procedures that you execute repetitively to support various enterprise tasks. The tasks can include application deployment, resource management, database maintenance, server patching, upgrade, backup management, log management, storage management, user management, and security management.
A runbook allows you to build processes using Windows PowerShell Workflow script. The methodology is now part of the automation runbooks. A runbook is one of the core components for automation that can be used to automate and orchestrate any simple or complex requirement.
The Windows PowerShell Workflow code can be used in runbooks typically leverages automation assets. The other important components of automation include schedules—to schedule the runbooks, variables—to define variables, connections to databases and resources, and authentication components include certificates and credentials.
#azure #powershell