Azure Automation Service Charges

Aryaa Kotian 0 Reputation points
2024-11-28T04:11:18.71+00:00

I have automation set up in 2 different tenant, both are for database scale up and scale down i.e. between S2 and S4 which is scheduled at 7 AM to scale up and 7 PM to scale down., but still the execution time is very different for both of them, 1 takes 2-5 mins which also includes app service plan scale up/down but the other takes 15 mins to only scale up/down the database. This becomes the reason my cost also increases.
Also I am only using automation service to scale up or scale down and nothing else, powershell is used, and usually job runtime is less than 500 mins but still i am getting charged for automation service, currently for NOV period its almost INR. 40 only for database scale up and down.
whereas, DB + App service scaled up and scale down took only INR 11 up till now for the NOV period.
I really didn't understand Y am i being charged as i have only 2 runbooks in each tenant and 2 schedules.
how can i reduce or not get charged for automating scale up and down process?

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,272 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,666 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Nandan Hegde 32,831 Reputation points MVP
    2024-11-28T04:41:21.66+00:00

    Below is the costing for Azure automation :

    User's image

    Can you definitely confirm that throughout your month, your overall time across all automations didnt exceed 500 mins?

    Also, scaling of database is impacted based on factors :

    https://learn.microsoft.com/en-us/answers/questions/603284/slow-database-performance-slow-scaling

    So the time might vary for the same


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.