Being Efficient with Azure Automation

Sign in to queue

The Discussion

  • User profile image
    mikewo

    For those that are looking for a clickable link to the Curah I mention it can be found at https://curah.microsoft.com/205805/azure-automation

    Also, just as a follow up on my comments about using Azure Automation for monitoring and reacting to events.  Remember that you are metered on how long your runbook is executing, so a runbook that is an infinite loop will be constantly using minutes.  Also, for the example of using Automation as a replacement for SQL Agent, that's very plausible, just be aware that if the job runs greater than that 30 minute mark it will be suspended and resumed, though the target SQL Machine will continue to do the work. 

    Finally, in my demos I was using Write-Output to push out what was essentially logging information.  I should have actually been using Write-Verbose instead.  There is a great blog article on the Azure Blog about how to better handle input/output of runbooks and one of the things they point out is that Write-Output is meant to pass data back up to the calling runbook if there is one. 

    Thanks for watching!

Add Your 2 Cents