Help Docs

Automation for Azure resources

Automation helps you reduce manual intervention while performing certain actions. For instance, you can use Site24x7's Azure automation feature to run specific resources only during particular time windows like business hours.

Required conditions:

The custom application used to create a Site24x7 Azure monitor should have a Contributor role over the resource. Only then can the custom application trigger an event in Azure.

How to setup Azure Automation

Follow the steps below to set up Azure Automation:

  1. Log in to your Site24x7 account.
  2. Choose Admin from the left navigation pane and then click IT Automation Templates (+).
  3. Click Add Automation Templates on the top right corner of the page.
  4. Choose the appropriate Azure action type from the Type drop-down menu.
  5. Enter the name for the Automation Template in the Display Name field.
  6. Select the automated action you want to perform through this Automation Template in the Choose the Action to be Automated field.
  7. Select the monitors from the Destination Monitors drop-down menu.
    Note

    This drop-down menu will list all the monitors belonging to the monitors that support automation actions. If this drop-down field is empty, make sure you have added monitors of the selected Azure resource type.

  8. Toggle the Send the Automation Result via Email option to Yes to receive email notifications.
  9. Click Save.

Once the Automation template has been successfully added, you can either schedule the IT Automation to run periodically or map the Automation Template to an existing Azure resource monitor.

 

List of Azure automations supported:

Azure service Type Automation actions
Azure Virtual Machine
  • Start VM
  • Stop VM
  • Restart VM
  • Install server monitoring agent
Azure Data Factory Re-run failed Data Factory pipeline (for specific timeframe and pipeline)
Azure Logic Apps
  • Enable Logic App
  • Disable Logic App
  • Run Logic App trigger
  • Re-submit failed run
Azure Kubernetes Service
  • Start Kubernetes service
  • Stop Kubernetes service
  • Upgrade node image version
Azure Function App
  • Start Function App
  • Stop Function App
  • Restart Function App
Azure Data Explorer Cluster
  • Start Data Explorer Cluster
  • Stop Data Explorer Cluster
Azure Spring Apps
  • Start Spring Apps
  • Stop Spring Apps
Azure Web PubSub Restart Web PubSub
Azure CosmosDB for PostgreSQL
  • Start CosmosDB for PostgreSQL
  • Stop CosmosDB for PostgreSQL
  • Restart CosmosDB for PostgreSQL
Azure Virtual Machine Scalesets
  • Start Virtual Machine Scalesets
  • Stop Virtual Machine Scalesets
  • Restart Virtual Machine Scalesets
Azure App Service
  • Start App Service
  • Stop App Service
  • Restart App Service
Azure PostgreSQL Flexible Servers
  • Start PostgreSQL Flexible Servers
  • Stop PostgreSQL Flexible Servers
  • Restart PostgreSQL Flexible Servers
Azure Database for MySQL Flexible Servers
  • Start Database for MySQL Flexible Servers
  • Stop Database for MySQL Flexible Servers
  • Restart Database for MySQL Flexible Servers
Azure Application Gateway
  • Start Application Gateway
  • Stop Application Gateway

Related links

Was this document helpful?

Would you like to help us improve our documents? Tell us what you think we could do better.


We're sorry to hear that you're not satisfied with the document. We'd love to learn what we could do to improve the experience.


Thanks for taking the time to share your feedback. We'll use your feedback to improve our online help resources.

Shortlink has been copied!