Enter your email Address

Skip to content Skip to content
  • Photo
  • Privacy Policy
  • Top Projects
  • How-to
  • Theory
  • Circuit Idea
  • Software Testing
  • Linux
  • Projects
  • Contact Us
  • Archives
  • About
Digital Lab

A home to software testing, electronics circuits & projects, tips and tricks and digital diary.

  • Blog
  • Electronics
  • Privacy Policy
  • About
Digital Lab

A home to software testing, electronics circuits & projects, tips and tricks and digital diary.

Optimize Azure cost using automation account

  • Pintu ShawPintu Shaw
  • October 15, 2017
  • Misc, Software Testing, Tutorials

Azure VM cost whenever it is up and running. There are times when you are not using the VMs and can be taken down to reduce the cost. This step can be automated and eventually optimize Azure cost buy shutting down during non- working time and weekends . There are many ways to accomplish this task. In this post we will be using Automation account to optimize Azure cost.

Step 1 – Create an Automation account

As a first  step , create an automation account if not already present. If creating new account, give any name and  specify a resource group and location. It will take some time to create the account. Refer the screenshots below.

Search for Automation account under services

Step 2: Once automation account created, select the account.

Step 3: Create or select Runbook

By default an account comes with 5 runbook. We will create our own

Select Runbook. Create a new Runbook using template from gallery. Click on “Browse Gallery” and select “Stop azure v2 VMs”. Click on the import button to import the template. Give a new name when asked for it.

 

 

 

You can make changes to default values if required. At this moment we are not making any changes and publish it as is.

Step 4: Schedule Run

Schedule option will be enabled once you publish the Runbook. To schedule click on the schedule button as shown below. And then click on “Link a schedule to a Runbook”.

Step 5: Resource group and VM names

Next step is to provide the resource group name and VM names. To do this click on “Configure parameters and run settings”.

If you leave the VM name empty, All servers in the VM group will be affected. The above example will shutdown all the server of VM group “…..” at 7:30 PM.

Similarly you can create schedule for VM startup and provide recurring details as required.

Thus by using Automation account and Runbook you can optimize Azure cost.

Leave a ReplyCancel Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search topics/keywords

No results
  • Electronics
  • How-To
  • IOT
  • Linux
  • Misc
  • Photography
  • Raspberry Pi
  • Software Testing
  • Tutorials
  • Uncategorized
  • Youtube Video

Subscribe

Tags

Arduino Arduino Uno audio amplifier automated testing Azure Basic Electronic Theory Circuit Idea Circuit Ideas DHT22 diodes docker container ESP8266 ethical hacking featured How to IOT JMeter JMeter plugin lamp LED LED Circuit Led driver LED Lamp Linux load testing NE555 performance testing Performance testing tool Power Supply python Raspberry pi raspberry pi. Raspberry pi PICO raspberry pi tips Relay Ruby Security Testing selenium selenium automation selenium grid test automation testing testing basics Weekend project Windows 10

Ad




About me

Default image
Pintu Shaw View Profile

  • Electronics
  • How-To
  • IOT
  • Linux
  • Misc
  • Photography
  • Raspberry Pi
  • Software Testing
  • Tutorials
  • Uncategorized
  • Youtube Video

  • Electronics
  • How-To
  • IOT
  • Linux
  • Misc
  • Photography
  • Raspberry Pi
  • Software Testing
  • Tutorials
  • Uncategorized
  • Youtube Video

Top Posts

  • How to repair Aquaguard UV+UF water filter PCB
  • Face Recognition system using Raspberry Pi and OpenCV
  • Mini Weather Station with DHT11/DHT22 & Raspberry Pi Pico
  • Raspberry Pi Custom case for 8 inch display
  • How to use your laptop as a second monitor

Share this

Copyright © 2025 - WordPress Theme by Pintu Shaw