Manage the Cost of your Cloud Resources
Tags: azurepricing, pricingcalculator, minimisecost, cost
Published: 2023-06-26 16:34:17

Cloud Computing is becoming popular in the business environment. As a matter of fact, it has come to stay and it is transforming the mode of operations and management of business processes in organisations. That is, those who have chosen to migrate their operations to the Cloud environment. There are many benefits in migrating to the cloud. These include reduction in cost of operations, flexibility and scalability, security, better compliance to industry rules and regulations, improved recovery plans, easy management and monitoring of operations and business processes.
In this Blog, we will look into how to optimise cost when using Cloud resources.

Microsoft Azure has a very valuable tool for this and its known as **Azure Pricing Calculator**. It is used to estimate the cost of azure products and services an organisation plan to use. This enables the management to plan effectively by choosing only what is needed for each business operation. The Management will also know the cost of their operations in using Azure resources before those resources are being used.

However, there are some important factors that affects the cost of Azure resources being chosen or selected by any organisation. These are:

1.<u>Type of Resource:</u> There are different types of resources like virtual machine, storage accounts etc

2.<u>Type of service:</u> There are Enterprise, Web Direct and Cloud Service Provider customers. The usage rates and billing periods differ for these customers 

3.<u>Location</u>:Resource pricing varies from one region to another. Varying costs between regions can be attributed to cost incurred for cooling, demand for resources etc

4.<u>Bandwith:</u> Some inbound data transfers are free while pricing of outbound data transfer are based on Zones

5.<u>Reserved Instances:</u>Using Azure Reservations can reduce the cost of your resources with up to 72% on pay-as-you-go billing.
 
6.<u>Azure Hybrid Benefits:</u>This enables you to use your on premise licenses on Azure at a minimised cost

In this blogpost, we will use the Azure Pricing Calculator to generate cost for an azure Virtual Machine and other related resources.
In few quick steps, lets take a look at how Azure Pricing Calculator is used. 


<u>Step 1</u>
Type in Azure Pricing Calculator into your browser and search for it


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/azecwxrcpbdpgdz037cn.png)

<u>Step 2</u>
Click on "Pricing Calculator|Microsoft Azure" as shown in the image below

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mrsn8eii9x88yrjzih6m.png)
It will take you to the page displayed below

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/iz6b38s9j81739p7tn0n.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/86x076oh5b4bppyzqanx.png)
On the pane by the lefthand side, you will see a list of category of different products and services available on azure ranging from the Popular ones to Hybrid + Multicloud

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fhwsum1t5syhg2smlmgw.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/408iy3eag60oj3s6jd2s.png)
<u>Step 3</u>
We will go with the Popular Category. Here I will select Virtual Machine, Storage accounts, Azure SQL Database and App Service as shown in the images below


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2ity2kudjoae0wo8tpw1.png)



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ztmib5akfka4tegqe5he.png)






![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fhummv932vaaljlgtjwi.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/krs6ebuz5ubk00yrdolz.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oel1tamllpo9v2r7g3vg.png)

<u>Step 4</u>
Scroll down to Virtual Machine and select Region,I will choose North Europe

 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1jpc9r23w7930kobn8zn.png)
<u>Step 5</u>
Go to the Savings option. In this section you will be able to minimise your cost of resources based on the options you choose. Lets explore these options.
(a)Default option of Pay as you go without checking other options

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/iq02tzy6lfrp3xhps6zu.png)
In the above picture, the average cost for the Compute Service is $78.11 and Operating System $67.16 bringing Monthly Average billing to a total of $145.27

(b) Lets look at another scenario aimed at minimising cost
Under the Saving plan, Click on 1-year saving plan. 


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4hmidaakcql6wt63370q.png)

The Compute service is now $67.65 bringing the total monthly billing down to **$134.81 from $145.27**

(c)Let's take a step further. Click on 3-year saving plan

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jj7qqum09fyig6v9mq85.png)
The Compute service is now $53.38 bringing the total monthly billing down to **$120.54 from $134.81**

(d)Another cool option for minimising cost is Azure Hybrid benefits. Click on it

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n44jnkee7471iws8avtt.png)

This is thrilling! With Azure Hybrid Benefits and 3-year saving plan, the **cost of Operating System is $0 and the total monthly billing is now $53.38**.Thats a huge cost saving, from $145.27 in (a) above

<u>Step 6</u>
To make use of this Price Estimate for taking management decisions, scroll down to the bottom of the page and click on "Export"


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uosol6ycfpz52j26d3df.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e6t4dgt7kk7nsbn9v4t9.png)


The Cost estimate has been downloaded in an excel file for management use

Open the downloaded file

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jc43gdgt835q5m3kx0zk.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/re4y5qiqerpm9xj31qxe.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g1qtko72a8hx5lrbv4wr.png)
Click on Enable editing to be able to save the file on your computer

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bttovwc9mjmn4fe12jtw.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zpugcslofyrj96g7c5jg.png)
I will save my copy as Azure Resources Cost Estimate

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fjah7myor44by61nqu3e.png)


Cool!!

If you find this helpful, kindly give a feedback