{"id":3924,"date":"2020-03-09T05:38:10","date_gmt":"2020-03-09T10:08:10","guid":{"rendered":"https:\/\/www.apps4rent.com\/blog\/?p=3924"},"modified":"2023-08-09T10:49:55","modified_gmt":"2023-08-09T15:19:55","slug":"azure-automation","status":"publish","type":"post","link":"https:\/\/www.apps4rent.com\/blog\/azure-automation\/","title":{"rendered":"What is Azure Automation ?"},"content":{"rendered":"<p>Azure Automation is one of the most useful capabilities of the Azure service. An Azure Automation account helps users automate virtual machine schedules and help optimize resources and save costs. There are different aspects to be considered while using Azure Automation including tasks like creating automation Runbooks and publishing and testing them. Users must also be proficient in dealing with various assets. Automation is one of the most important skill sets to possess in this century.<\/p>\n<p>In combination with cloud technology, it is likely to transform businesses around the world. This write-up is an introduction to Azure Automation, a pioneering technology that speeds up repetitive tasks.<\/p>\n<h2 style=\"font-size: 24px;\">Defining Azure Automation<\/h2>\n<p>Azure Automation is a powerful capability integrated into an Azure subscription that enhances businesses\u2019 Azure and non-Azure environment capabilities. Users can execute PowerShell scripts without running a physical or a virtual machine. This capability allows users to deploy their scripts without using a server or a Task Scheduler interval. The risk of exposing credentials is also eliminated as they are saved as assets rather than text files.<\/p>\n<h2 style=\"font-size: 24px;\">When is Azure Automation Used?<\/h2>\n<p>Azure Automation can be useful in many scenarios. Stated below are two of the most common scenarios in which Azure Automation is useful.<\/p>\n<p>Minimal requirement of user interaction for the execution of tasks.<br \/>\nRepetitive tasks that need to be run frequently with minimal or no change in the execution process.<br \/>\nBuild, deploy, configure, and monitor Virtual Machines and other resources.<br \/>\nWhile the exact nature of the tasks that can be automated can vary significantly, it is possible to determine the type of tasks that can be automated with Azure Automation with continued use and practice.<\/p>\n<h3 style=\"font-size: 23px;\">Prerequisites for Working with Azure Automation<\/h3>\n<p>Azure Automation requires a certain level of technical expertise to be used effectively. Here are some of the important points to note before you start with the utility.<\/p>\n<ul>\n<li style=\"margin-bottom: 10px;\">You must have a working knowledge of Azure.<\/li>\n<li style=\"margin-bottom: 10px;\">Enough technical prowess to read, write, and interpret PowerShell scripts for flexibility.<\/li>\n<li style=\"margin-bottom: 10px;\">A system that supports PowerShell 5.1 or above.<\/li>\n<\/ul>\n<h3 style=\"font-size: 23px;\">How to Login to Azure Automation?<\/h3>\n<p>Azure Automation can be used once users are logged into Azure. This can be done either through the Graphical User Interface (GUI) or the Azure PowerShell Module.<\/p>\n<p>There are two ways of logging in via the Graphical User Interface, using the Azure Portal and the Azure Portal Desktop App. While both the GUI methods perform the same actions, the Azure Portal enables access using a web browser while the Azure Portal Desktop App is a dedicated application for access.<\/p>\n<h3 style=\"font-size: 23px;\">List of Azure Automation Resources<\/h3>\n<p>There are 5 important Azure Automation Resources users must be familiar with.<\/p>\n<h4 style=\"font-size: 19px;\">Subscription<\/h4>\n<p>This option provides users with details about the Azure subscription fees. Users can see details like the cost and validity of their accounts in this section.<\/p>\n<h4 style=\"font-size: 19px;\">Resource Group<\/h4>\n<p>The Resource Group provides a method for users to assemble Azure resources like VMs, IP addresses, and DNS Zones in logical categories.<\/p>\n<h4 style=\"font-size: 19px;\">Automation Account<\/h4>\n<p>This capability is unique to Azure Automation. It is initially within the Resource Group. It also acts as a logical container like the Resource Group that is specific to Azure Automation.<\/p>\n<h4 style=\"font-size: 19px;\">Runbook<\/h4>\n<p>The Runbook is simply a PowerShell script that is executed on Azure. This is where the entire automation process occurs.<\/p>\n<h4 style=\"font-size: 19px;\">Asset<\/h4>\n<p>These are items like credentials, variables, and schedules that are stored in the automation account which can be accessed by the Runbooks.<\/p>\n<h2 style=\"font-size: 24px;\">How to Use Azure Automation?<\/h2>\n<p>Azure Automation can be accessed from the GUI as well as the PowerShell interface. Let us restrict ourselves to the former approach for the sake of simplicity.<\/p>\n<p><strong>Initiate the process by creating an Automation Account.<\/strong><\/p>\n<ul>\n<li style=\"margin-bottom: 10px;\">Log in to the Azure Web Portal. Navigate to Create a resource&gt;Azure Marketplace.<\/li>\n<li style=\"margin-bottom: 10px;\">Search for \u2018Automation\u2019 on the Azure Marketplace.<\/li>\n<li style=\"margin-bottom: 10px;\">Click on Create one the search result appears.<\/li>\n<li style=\"margin-bottom: 10px;\">Type in the automation account name and subscription is used.<\/li>\n<li style=\"margin-bottom: 10px;\">Create a new resource group by clicking Create new and name it appropriately.<\/li>\n<li style=\"margin-bottom: 10px;\">Click on OK and select the appropriate location.<\/li>\n<li style=\"margin-bottom: 10px;\">Click on Create to confirm the settings.<\/li>\n<\/ul>\n<p>The newly created Automation Account will be available under All Resources. You can configure Runbooks once you have confirmed the availability of the Automation Account.<\/p>\n<ul>\n<li style=\"margin-bottom: 10px;\">To configure Runbooks, click on Process Automation&gt;Runbooks.<\/li>\n<li style=\"margin-bottom: 10px;\">Click on Browse Gallery in the top menu.<\/li>\n<li style=\"margin-bottom: 10px;\">Looks for Start Azure V2 VM and Stop Azure V2 VM in the search bar and click on import for each of them.<\/li>\n<li style=\"margin-bottom: 10px;\">Name the imported Runbooks, edit and publish them.<\/li>\n<\/ul>\n<p>Once the state of the VM has turned from New to Published, it is time to schedule it.<\/p>\n<p><strong>The final step is to schedule the Runbooks:<\/strong><\/p>\n<ul>\n<li style=\"margin-bottom: 10px;\">Click on the Link to schedule for the newly created Runbook.<\/li>\n<li style=\"margin-bottom: 10px;\">Add the schedule and specify the appropriate settings.<\/li>\n<li style=\"margin-bottom: 10px;\">Click on Start to trigger the Runbook that has been scheduled.<\/li>\n<li style=\"margin-bottom: 10px;\">Type in the Resourcegroupname and Vmname details and click on OK.<\/li>\n<\/ul>\n<p>You will have created a Runbook and have scheduled it for automating tasks.<\/p>\n<h3 style=\"font-size: 23px;\">Azure Automation \u2013 Use It What It Is Meant For<\/h3>\n<p>This brief introduction to Azure Automation should have helped you become familiar with the hidden capabilities in your Azure subscription. While it does serve as a primer, you will have to use your discretion on how and when to use the resource once you are familiar with the applications.<\/p>\n<p><strong>As a Microsoft Gold Partner and a Tier 1 CSP for Azure and Office 365<\/strong>, Apps4Rent can assist you in making the best out of your Azure cloud subscription with 24\/7 support via phone, chat, and email.<\/p>\n<p>Contact our Azure consultants to know more about <span style=\"color: #007fac;\"><a style=\"color: #007fac;\" href=\"https:\/\/www.apps4rent.com\/azure-services\/\">Azure managed services<\/a><\/span>. We also offer over 200 readymade Azure VM images which you can download and use directly from Azure Marketplace.<\/p>\n<style>.stick_popup{margin-top: -190px !important;}@media only screen and (min-width:99px) and (max-width:767px){.popup1 {display: none;}.stick_popup{width: 100% !important;margin-left: -188px !important;}}<\/style>\n<link rel=\"stylesheet\" type=\"text\/css\" href=\"https:\/\/www.clouddesktoponline.com\/blog\/wp-content\/themes\/apps4rentoffice\/popup\/stick-to-me.css\"\/><script src=\"https:\/\/www.clouddesktoponline.com\/blog\/wp-content\/themes\/apps4rentoffice\/popup\/stick-to-me.js\"><\/script><script>$(document).ready(function(){$.stickToMe({layer:'#stickLayer'});});<\/script><\/p>\n<div class=\"jquery-script-ads\" align=\"center\"><\/div>\n<div id=\"stickLayer\" style=\"display:none;max-width:1000px;height:auto; width:1000px;background:#fff;\" class=\"stick_popup\">\n<div class=\"stick_close\" onclick=\"$.stick_close()\">X<\/div>\n<div class=\"stick_content\" style=\"padding-left: 0px;padding-top: 0px;padding-bottom: 0px;\">\n<div class=\"col-md-6 popup1\" style=\"background: #0774c6;color: white;height:600px;padding:0px;\"><img decoding=\"async\" src=\"https:\/\/www.apps4rent.com\/blog\/wp-content\/uploads\/2020\/11\/apps4rent-manage-azure-services.png\"\/><\/div>\n<div class=\"col-md-6\">\n<p style=\"padding-top: 7px;color: #30508c;margin-bottom: 10px;text-align: center;line-height: 35px;font-size:30px;font-weight: 500;\">Looking for help with Azure?<br \/>\nOur Azure experts can help you.<\/p>\n\n<div class=\"wpcf7 no-js\" id=\"wpcf7-f4891-o1\" lang=\"en-US\" dir=\"ltr\" data-wpcf7-id=\"4891\">\n<div class=\"screen-reader-response\"><p role=\"status\" aria-live=\"polite\" aria-atomic=\"true\"><\/p> <ul><\/ul><\/div>\n<form action=\"\/blog\/wp-json\/wp\/v2\/posts\/3924#wpcf7-f4891-o1\" method=\"post\" class=\"wpcf7-form init\" aria-label=\"Contact form\" novalidate=\"novalidate\" data-status=\"init\">\n<fieldset class=\"hidden-fields-container\"><input type=\"hidden\" name=\"_wpcf7\" value=\"4891\" \/><input type=\"hidden\" name=\"_wpcf7_version\" value=\"6.1.5\" \/><input type=\"hidden\" name=\"_wpcf7_locale\" value=\"en_US\" \/><input type=\"hidden\" name=\"_wpcf7_unit_tag\" value=\"wpcf7-f4891-o1\" \/><input type=\"hidden\" name=\"_wpcf7_container_post\" value=\"0\" \/><input type=\"hidden\" name=\"_wpcf7_posted_data_hash\" value=\"\" \/><input type=\"hidden\" name=\"_wpcf7cf_hidden_group_fields\" value=\"[]\" \/><input type=\"hidden\" name=\"_wpcf7cf_hidden_groups\" value=\"[]\" \/><input type=\"hidden\" name=\"_wpcf7cf_visible_groups\" value=\"[]\" \/><input type=\"hidden\" name=\"_wpcf7cf_repeaters\" value=\"[]\" \/><input type=\"hidden\" name=\"_wpcf7cf_steps\" value=\"{}\" \/><input type=\"hidden\" name=\"_wpcf7cf_options\" value=\"{&quot;form_id&quot;:4891,&quot;conditions&quot;:[],&quot;settings&quot;:{&quot;animation&quot;:&quot;yes&quot;,&quot;animation_intime&quot;:200,&quot;animation_outtime&quot;:200,&quot;conditions_ui&quot;:&quot;normal&quot;,&quot;notice_dismissed&quot;:false,&quot;notice_dismissed_rollback-cf7-5.9.5&quot;:true}}\" \/>\n<\/fieldset>\n<style>.inputf{font: 16px 'Roboto !important';font-weight: normal;font-style: normal;line-height: 25px;color: #2A363F;padding: 5px 20px;font-size: 16px;border: #9d9fa0 1px solid !important;margin-bottom:20px !important;box-sizing: border-box;border-radius: 3px !important;width: 100%;}\n.cf7-style div.wpcf7-response-output{width: fit-content !important;margin: 0px;padding: 5px !important;}\n.button1 {padding: 15px 20px;font-size: 18px !important;background: #375181;font-family: sans-serif;color: #fff;border: #9dbfff 2px solid;box-shadow: none;font-weight: bold;margin-bottom:0px !important;width: 100% !important;}\n<\/style>\n<style>@media only screen and (min-width:99px) and (max-width:767px){#content{margin-left:0px auto;}.sec {width:100% !important;float: none !important;}.html input[type=\"button\"], input[type=\"reset\"], input[type=\"submit\"]{font-size:16px !important;}}\n<\/style>\n<div style=\"padding-left: 15px;padding-right: 15px;padding-top: 15px;padding-bottom: 0px;\">\n\t<div style=\"float: left;width: 100%;margin-right: 15px;\" class=\"sec\">\n\t\t<p><span class=\"wpcf7-form-control-wrap\" data-name=\"Name\"><input size=\"40\" maxlength=\"400\" class=\"wpcf7-form-control wpcf7-text wpcf7-validates-as-required inputf\" aria-required=\"true\" aria-invalid=\"false\" placeholder=\"Name*\" value=\"\" type=\"text\" name=\"Name\" \/><\/span>\n\t\t<\/p>\n\t<\/div>\n\t<div style=\"float: left;width: 100%;margin-right: 15px;\" class=\"sec\">\n\t\t<p><span class=\"wpcf7-form-control-wrap\" data-name=\"contact\"><input size=\"40\" maxlength=\"10\" minlength=\"6\" class=\"wpcf7-form-control wpcf7-tel wpcf7-validates-as-required wpcf7-text wpcf7-validates-as-tel inputf\" aria-required=\"true\" aria-invalid=\"false\" placeholder=\"Contact Number*\" value=\"\" type=\"tel\" name=\"contact\" \/><\/span>\n\t\t<\/p>\n\t<\/div>\n\t<div style=\"float: left;width: 100%;\" class=\"sec\">\n\t\t<p><span class=\"wpcf7-form-control-wrap\" data-name=\"email\"><input size=\"40\" maxlength=\"400\" class=\"wpcf7-form-control wpcf7-email wpcf7-validates-as-required wpcf7-text wpcf7-validates-as-email inputf\" aria-required=\"true\" aria-invalid=\"false\" placeholder=\"Email ID*\" value=\"\" type=\"email\" name=\"email\" \/><\/span>\n\t\t<\/p>\n\t<\/div>\n\t<div style=\"float: left;width: 100%;margin-bottom:20px;\" class=\"sec\">\n\t\t<p><span class=\"wpcf7-form-control-wrap\" data-name=\"msg\"><textarea cols=\"40\" rows=\"5\" maxlength=\"2000\" class=\"wpcf7-form-control wpcf7-textarea inputf\" aria-invalid=\"false\" placeholder=\"Message\" name=\"msg\"><\/textarea><\/span>\n\t\t<\/p>\n\t<\/div>\n\t<div>\n\t\t<p><input class=\"wpcf7-form-control wpcf7-submit has-spinner button1\" type=\"submit\" value=\"SUBMIT REQUEST\" \/>\n\t\t<\/p>\n\t<\/div>\n<\/div><p style=\"display: none !important;\" class=\"akismet-fields-container\" data-prefix=\"_wpcf7_ak_\"><label>&#916;<textarea name=\"_wpcf7_ak_hp_textarea\" cols=\"45\" rows=\"8\" maxlength=\"100\"><\/textarea><\/label><input type=\"hidden\" id=\"ak_js_1\" name=\"_wpcf7_ak_js\" value=\"150\"\/><script>document.getElementById( \"ak_js_1\" ).setAttribute( \"value\", ( new Date() ).getTime() );<\/script><\/p><div class=\"wpcf7-response-output\" aria-hidden=\"true\"><\/div>\n<\/form>\n<\/div>\n\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Azure Automation is one of the most useful capabilities of the Azure service. An Azure Automation account helps users automate virtual machine schedules and help optimize resources and save costs. There are different aspects to be considered while using Azure Automation including tasks like creating automation Runbooks and publishing and testing them. Users must also [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":3984,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[545],"tags":[],"class_list":["post-3924","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/posts\/3924","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/comments?post=3924"}],"version-history":[{"count":3,"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/posts\/3924\/revisions"}],"predecessor-version":[{"id":8022,"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/posts\/3924\/revisions\/8022"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/media\/3984"}],"wp:attachment":[{"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/media?parent=3924"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/categories?post=3924"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.apps4rent.com\/blog\/wp-json\/wp\/v2\/tags?post=3924"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}