background

Ways to Optimize Azure Costs

Ways to Optimize Azure Costs

Reduction of the total cost of ownership is one of the most common reasons for choosing Microsoft Azure, which has the leading position among cloud service providers thanks to its features such as flexibility and scalability in its increasing number of services. We can say that cost analysis and management is an important topic in the Azure lifecycle. Let us examine the ways to better manage and optimize our Azure cost; there may be different pricing for Azure resources depending on the Azure regions.

Even though we prefer points closest to our OnPrem data center, as a general approach, it is useful to take a look at pricing details. For instance, the hourly pricing for a virtual server in the same configuration (DS1 v2) is $ 0.116 for the Northern Europe Region while it is $ 0.191 for the Southern France.

Turn it off when not in use; You can enjoy cost advantage by closing systems that you do not use outside of working hours. You can perform this process manually or by using the auto shutdown attribute in the virtual server properties or in different scenarios with Azure Automation.

Use Dynamic Scaling (Scale Set)

You can manually resize your virtual servers according to your changing workloads, but when you define your virtual servers in a scale set, you have a powerful option to deploy a new server behind the load balancer / application gateway when the CPU value reaches a certain threshold.

  • With Azure Hybrid Benefit, you can use your existing Windows Server Licenses on virtual servers in Azure.
  • In the Azure Market Place, you can find stock images for many operating systems and different applications of different vendors from Citrix to Barracuda. It can be an advantageous option compared to purchasing and installing the application license on an empty virtual server.
  • Instead of creating virtual servers for sharing SMB files, you can take advantage of Azure Storage service, which functions as PaaS; thus, you can enjoy advantages in data backup and virtual server costs.
  • Instead of Azure Virtual Machines, choose Azure Application Services, which functions as PaaS; this way, you can run web applications, API applications and mobile applications without operating system costs.
  • Delete your unused resources. When you delete your Azure virtual servers, your disks on the virtual server are not automatically deleted. You can use the scripts in the following article to detect and delete unused disks:https://docs.microsoft.com/en-us/azure/virtual-machines/windows/find-unattached-disks
  • Monitor your Azure costs; you can monitor your expenses according to your resources on the Azure Portal, use attributes such as projects and departments in labeling and perform detailed analyzes with Azure Cost Management.
Hikmet Kapusuzoğlu - Microsoft Platforms Senior Consultant

How can we help you?