Manage your Azure resources using automation tasks

There are different ways to manage your Azure resources depending on your specific needs. With tasks, Azure offers a simple way to manage a specific resource or resource group using task templates. These templates depend on the Azure resource. For example, for an Azure virtual machine, you can create an task that turns on or turns off that 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 , Azure accounts, and Azure .

You might now think how this is different from Azure Automation. For that, you can check out the following article on Microsoft Docs.

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.

Create automation task for an Azure resourceCreate automation task for an Azure resource

Now you will see the existing automation tasks, or you can click on Add to add a new automation task from a template.

Add a TaskAdd a Task

You can select the template you want to use. Under , the necessary connections for that specific task appear. You will need to create these connections.

Authentication

In the configuration section, you can add additional information for the task. In this example, I start the every day at 10 am.

Task ConfigurationTask Configuration

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.

View and edit automation tasksView and edit automation tasks

You can do in-line editing to make simple changes, but you can also open it in the Logic Apps Designer.

Logic Apps DesignerLogic Apps Designer

Conclusion

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.

 

This article was originally published by Microsoft's Core Infrastructure and Security Blog. You can find the original article here.