There are different ways to manage your Azure resources depending on your specific needs. With automation tasks, Azure offers a simple way to manage a specific resource or resource group using automation task templates. These templates depend on the Azure resource. For example, for an Azure virtual machine, you can create an automation task that turns on or turns off that virtual machine on a predefined schedule or sends the resource’s monthly cost. This can be especially helpful if you are trying to reduce the cost of your Azure VMs.
An automation task is actually a workflow that runs on the Azure Logic Apps service behind the scenes. Automation tasks are currently in preview and support sending monthly cost for all Azure resources and special templates for Azure virtual machines, Azure Storage accounts, and Azure Cosmos DB.
How to create an automation task
Creating an automation task is simple. In the Azure Portal, find the resource you want to manage, and on the resource menu, scroll to the Automation section and select Tasks.
Now you will see the existing automation tasks, or you can click on Add to add a new automation task from a template.
You can select the template you want to use. Under Authentication, the necessary connections for that specific task appear. You will need to create these connections.
In the configuration section, you can add additional information for the task. In this example, I start the virtual machine every day at 10 am.
After the automation task has been created, you can see it under Tasks. You can see the tasks and view the runs, as well as edit the task.
You can do in-line editing to make simple changes, but you can also open it in the Logic Apps Designer.
Automation Tasks is currently in preview and provides an easy and simple way to manage Azure resources. If you want to learn more, check out Microsoft Docs. If you want to provide feedback, report bugs, or ask questions, you can contact the Azure logic Apps team.