In this article, we will be discussing about Azure Resource Cost Estimation and Management.
Introduction to Azure Cost Estimation and Analysis
Microsoft Azure has a ton of features and resources to use, which enable you to do just about anything from the computational aspect. However, since you pay for the usage of all these resources, you need to have an efficient cost estimation and monitoring policy in place, in order not to get billed with costs you didn’t take into consideration when enabling those services/resources.
To this end, Microsoft provides a number of tools that can help you with that.
I would categorize these sets of tools using two categories:
- Cost Estimation Before Resource Usage
- Cost Analysis While Using Resources
Cost Estimation Before Resource Usage
The main tool that can help with estimating the cost (i.e. hourly cost, monthly cost, etc.) of a new resource to be added in your Azure account, is Azure Pricing Calculator.
Learn more about Azure SQL Database – Enroll to our Online Course!
Enroll to our online course on Udemy titled “Introduction to Azure SQL Database for Beginners” and get lifetime access to high-quality lessons and hands-on guides about all the aspects of Azure SQL Database.
What is Azure Pricing Calculator?
Azure Pricing calculator is an interactive web application, that lets you select Azure products and resources and add them to a virtual “basket”, and along the selecting various options and types for these products, the price is estimated automatically. Moreover, regarding the frequency of the estimated price, you can select to be on an hourly basis, or play with the hours and get for example a monthly estimate (i.e. for 730 hours) or yearly, etc.
Here’s a screenshot of the first screen of Azure Pricing Calculator:
Example of Using Azure Pricing Calculator
Let’s see an example with Pricing Calculator. Let’s say for example that I’m interested in creating a new Virtual Machine on Azure, that besides the OS, it will also have a SQL Server Enterprise Edition instance.
So, what do I do?
I go to Azure Pricing Calculator, click on “Virtual Machines”, and then scroll down. Now I see in the “Your Estimate” box, the monthly usage cost estimation for a Virtual Machine.
The next step, is to choose the various options for my virtual machine. These options are the same options that are used when actually creating the resource in Azure, and they are the options that define the cost.
So, in this example, I chose the below settings for my virtual machine and got the respective monthly estimated cost:
As you can see, based on my resource options, the estimated monthly cost to use such virtual machine on Azure, would be $1,295.36
Cost Analysis While Using Resources
The above example, involved getting a monthly cost estimation about a potential resource usage on Azure, in this case, a virtual machine with SQL Server Enterprise.
If the cost estimation looks good for you, and you decided to proceed with setting up and using the virtual machine (or any other resource on Azure), then you should regularly monitor the cost of usage for these resources.
There are 2 ways to do this.
View my Bill (Cost Management + Billing)
The first option is to use “View my bill” from the Azure Portal.
Note: I’m using an MSDN subscription for this demo, so the options can be slightly different from other plans.
After you click on “View my bill“, you get presented with the “Cost Management + Billing – Invoices” page:
In my case, since I’m using an MSDN subscription, I clicked on “Subscriptions” and then on my MSDN subscription.
After I click on my MSDN subscription, I get the below page where I can see a pie chart and analysis of my costs by resource for the current billing period.
Learn all about MySQL on Azure – Enroll to our Online Course!
Enroll to our online course on Udemy titled “Introduction to Azure Database for MySQL” and get lifetime access to high-quality lessons and hands-on guides about all the aspects of MySQL database service on the Azure cloud platform!
Then, by clicking on each resource, you can drill down more and see more analytical cost-related information:
Depending on your plan, you can also get more cost-related insights via “Cost analysis” and “Usage + charges“, again, in the “Cost Management + Billing” page.
Cloud Cost Optimization Using Cloudyn
Another way to analyze and manage the cost of your Azure resources, is by using Cloudyn. Learn more about it here.
Concluding Remarks
In this article, we discussed about resource cost estimation and monitoring in Azure. We categorized the tools Microsoft provides regarding cost estimation and monitoring, and studied some examples.
Prior to adding/utilizing any product/resources in Azure, I would recommend first to work with Pricing Calculator in order to estimate the monthly cost. After all, for any new product or resource, proper planning must be taking place, and cost estimation should be part of this planning process.
Moreover, after adding products/resources in your Azure account, you should be monitoring the cost of each resource for your billing period, and plan ahead for the next period, tune your resources, etc.
Microsoft provides a large number of tools for cost estimation and monitoring, and you should definitely make use of these tools.
See More – Enroll to the Course!
Learn more about Azure SQL Database and get started fast and easy! Through our online course, you will get lifetime access to a comprehensive set of lectures and live demonstrations that will get you started with Azure SQL Database in no time! The course is regularly updated with additional educational material!
Featured Online Courses
- Introduction to Azure SQL Database for Beginners
- SQL Server 2019: What’s New – New and Enhanced Features
- SQL Server Fundamentals – SQL Database for Beginners
- Essential SQL Server Administration Tips
- Boost SQL Server Database Performance with In-Memory OLTP
- Essential SQL Server Development Tips for SQL Developers
- Working with Python on Windows and SQL Server Databases
- Introduction to Computer Programming for Beginners
- .NET Programming for Beginners – Windows Forms with C#
- Introduction to SQL Server Machine Learning Services
- Entity Framework: Getting Started – Complete Beginners Guide
- How to Import and Export Data in SQL Server Databases
- Learn How to Install and Start Using SQL Server in 30 Mins
- A Guide on How to Start and Monetize a Successful Blog
- Introduction to Azure Database for MySQL
Read Also
- Main Benefits of Using Azure Cloud Services
- The Three Categories of Cloud Services (IaaS, PaaS, SaaS)
- Available MySQL Deployment Options in Azure
- Introduction to Azure Database for MySQL (Course Preview)
- Introduction to Azure SQL Database for Beginners
- Enabling Auditing in Azure SQL Database
- Azure Cosmos DB: Learn by Example
- Learn Azure SQL Database: Creating your First Database
- How to Create an Azure SQL Server Virtual Machine
- How to Backup a SQL Server Database from On-Premises to Azure Storage
- Learn Azure Data Lake Analytics by Example
- What is Azure Advisor?
- Tip of the Week No.11 – Capital Expenditure (CapEx) vs. Operational Expenditure (OpEx)
- … all our Azure-related articles
Check our latest software releases!
Easily generate SQL code snippets with Snippets Generator!
Convert static T-SQL to dynamic and vice versa with Dynamic SQL Generator.
Secure your SQL Server instances with DBA Security Advisor.
Benchmark SQL Server memory-optimized tables with In-Memory OLTP Simulator.
Rate this article:
Reference: SQLNetHub.com (https://www.sqlnethub.com)
© SQLNetHub
Artemakis Artemiou is a seasoned Senior Database and AI/Automation Architect with over 20 years of expertise in the IT industry. As a Certified Database, Cloud, and AI professional, he has been recognized as a thought leader, earning the prestigious Microsoft Data Platform MVP title for nine consecutive years (2009-2018). Driven by a passion for simplifying complex topics, Artemakis shares his expertise through articles, online courses, and speaking engagements. He empowers professionals around the globe to excel in Databases, Cloud, AI, Automation, and Software Development. Committed to innovation and education, Artemakis strives to make technology accessible and impactful for everyone.