In this article, we will be discussing about Azure Resource Cost Estimation and Management.
Introduction to Azure Cost Estimation and Analysis
Microsoft Azurehas 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.
(Lifetime Access/ Live Demos / Downloadable Resources and more!)
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:
Figure 1: Azure Pricing Calculator Main Page.
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:
Figure 2: Virtual Machine Resource Options for Cost Estimation (1/2).
Figure 3: Virtual Machine Resource Options for Cost Estimation (2/2).
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.
Figure 4: 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.
Figure 6: Costs by resource.
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!
(Lifetime Access, live guides, certificate of completion, downloadable resources and more!)
Then, by clicking on each resource, you can drill down more and see more analytical cost-related information:
Figure 7: Costs by resource (more analytical view).
Figure 8: Costs by resource (more analytical view).
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!
(Lifetime Access/ Live Demos / Downloadable Resources and more!)
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.
Views:4,449
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent. Read More
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
Cookie
Duration
Description
cookielawinfo-checkbox-analytics
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional
11 months
The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy
11 months
The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.