- 08 Nov 2023
- 2 Minutes to read
- Print
- DarkLight
- PDF
Cost Optimization
- Updated on 08 Nov 2023
- 2 Minutes to read
- Print
- DarkLight
- PDF
Introduction
The main goal of Cost Analyzer is to provide an effective cost management service that helps users minimize the Azure subscription cost based on resource utilization.
The first step towards cost management is to allow users to optimize the resource cost by scheduling them to deallocate/ scale down based on the up and down hours of the business.
Cost Optimization
Cost Optimization in Cost Analyzer is a feature that enables users to create optimization schedules with resources associated by defining the tiers, throughput values, and the resource state with respect to the Up and Down hours of a week.
Additionally, the optimization schedules display a chart showing the costs that can be saved when resources are scheduled.
Cost Optimization supports the following resource types:
1. App Service Plan
An app service plan's pricing tier can be scheduled to run at a higher tier during Up hours and a lower tier during Down hours.
The Up and Down config values determine the tiers that should be set to the resources in the Up and Down hours, respectively.
2. Cosmos SQL Container
The throughput value of a Cosmos SQL Container can be scheduled to run at a higher value during Up hours and a lower value during Down hours.
The Up and Down config values determine the throughput values that should be set to the resources in the Up and Down hours, respectively.
3. Cosmos SQL Database
The throughput value of a Cosmos SQL Database can be scheduled to run at a higher value during Up hours and a lower value during Down hours.
The Up and Down config values determine the throughput values that should be set to the resources in the Up and Down hours, respectively.
4. Cosmos Table
The throughput value of a Cosmos Table can be scheduled to run at a higher value during Up hours and a lower value during Down hours.
The Up and Down config values determine the throughput values that should be set to the resources in the Up and Down hours, respectively.
5. Logic Apps
Logic Apps can be scheduled to run in the Up hours and stopped in the Down hours.
6. SQL Database
The pricing tier of an SQL DB can be scheduled to run at a higher tier during Up hours and a lower tier during Down hours.
The Up and Down config determines the pricing tier that should be set to the resources in the Up and Down hours, respectively.
The DTU count and Data max size can be customized for the DTU-based purchasing model. In contrast, the hardware configuration for Vcore-based purchasing models can be customized.
7. SQL Elastic Pool
The pricing tier of an SQL Elastic pool can be scheduled to run at higher tier during Up hours and a lower tier during Down hours.
The Up and Down config determines the pricing tier that should be set to the resources in the Up and Down hours, respectively.
The DTU count and Data max size can be customized for the DTU-based purchasing model. In contrast, the hardware configuration for Vcore-based purchasing models can be customized.
8. Virtual Machine
Virtual machines can be scheduled to run in the Up hours and stopped in the Down hours.
9. Virtual Machine Scale Set
Virtual machine scale sets can be scheduled to run in the Up hours and stopped in the Down hours.
The optimization scheduler runs only once every hour, irrespective of the Up and Down hours specified, and performs the necessary action.