The course is part of this learning path
Optimizing Azure Costs
Microsoft Azure provides a variety of cloud services in a variety of cloud service models: IaaS, PaaS, and SaaS. When businesses migrate to the cloud, they must choose which model is best suited to their needs and is the most cost-effective. This course is designed to assist Cloud Architects in identifying their current Azure expenditures and providing greater awareness of the costs associated with each deployment model as well as each aspect of an Azure deployment.
Optimizing Azure costs begins with knowing your current Azure expenditures. This course introduces you to the tools built into the Azure Portal that can help you understand the total overall expenditures in Azure as well as break down those costs by area: Compute, Network, Storage, Identity, and App/Cloud Services.
The remainder of the course drills down on specific costs associated with each area of Azure identifies the costs associated with each service and provides very clear and concise methods for reducing Azure expenditures. Many of the cost savings methods will require minimal changes to your Azure deployment and will take just minutes to implement while other cost savings methods may take a shift in your Azure strategy, such as moving from Iaas to PaaS. By the end of this course, you will have gained a thorough understanding of how charges are incurred, how to reduce or even avoid some of the charges, and you will have learned how to significantly reduce overall Azure expenditures and get the most out of what is spent in your Azure deployment.
- Identify current Azure expenditures
- Optimize compute costs
- Optimize network costs
- Optimize storage costs
- Optimize identity costs
- Optimize App Service and Cloud Service costs
- Azure architects who are exploring options for reducing their Azure spending
- People preparing for Microsoft’s AZ-301 exam
- Good understanding of Azure administration and management
Related Training Content
For more content related to MS Azure, visit our Content Training Library.
Azure networking costs are strictly limited to egress or outbound bandwidth. All incoming data to Azure data centers is free while the cost of outgoing data begins after the first five gigabytes per month and it's tiered based on usage. The cost for outbound data up to 10 terabytes is 8.7 cents per gigabyte after the first five. This table indicates the cost per gigabyte for outbound data transfers. It should also be noted that outbound data transfer charges do apply when the data transfer is to another region. Region to region networking is performed by way of Global VNet Peering. Virtual Network peering or VNet peering which links virtual networks allows you to route traffic between them using private IP addresses and does incur both inbound and outbound bandwidth charges at the rate of one cent per gigabyte. With Azure Virtual Machines deployed in availability zones, the cost for inbound and outbound data transfers between availability zones is one cent per gigabyte. Data transfers within the same availability zone incur no charges nor do data transfers from a VNet resource in an availability zone and a public address in the same Azure region.
The key to reducing network costs then is to deploy all of your resources within the same region whenever possible. When resources must be deployed to multiple regions, network costs can be reduced by ensuring that the collection of resources in each region operate autonomously from each other. For example, when deploying a web application, ensure that all the resources needed by that application such as databases, queues, storage, et cetera, all reside within the same region. Many Azure customers find that they need a high speed VPN connection between their on-premises network and their Azure networks. Particularly in hybrid cloud deployments where some of the resources are on Azure but some still reside on-premises. To accommodate this, Microsoft introduced ExpressRoute. ExpressRoute is an Azure service that creates a private connection, VPN, between Microsoft data centers and your on-premises network. In order to use ExpressRoute, you must choose a connectivity provider. There are several providers to choose from, but ultimately the choice will be limited depending upon the location of the data center and your location, as most providers have a limited service area. Of course, these providers charge for their services. For example, Megaport charges $350 per month for one gigabit per second and $500 per month for 10 gigabits per second.
In addition to the connectivity provider costs, there are also Azure ExpressRoute costs. Azure offers ExpressRoute in two plans, Unlimited and Metered. With the Metered Data Plan, inbound data transfer is free and outbound data transfer costs are based on port speed. For example, one gigabit per second port speed is $436 per month plus 2.5 cents per gigabyte of outbound date for Zone 1, five cents per gigabyte for Zone 2 and 14 cents for Zone 3. The Unlimited Data Plan is a fixed price plan based on port speed and there is no charge for inbound or outbound data transfers. For example, a one gigabit per second port speed plan is $5,700 per month. The key to cost savings with regard to network connectivity between your on-premises network and Azure is in accurately estimating your bandwidth requirements and monthly outbound data transfers. As you can see from the below chart, the cost just for the port speed alone increases significantly with increases in port speed. Choose a port speed that will provide the bandwidth needed and no more. Should your bandwidth requirements grow, you could always move to a higher port speed plan.
In choosing between the Metered Data Plan and the Unlimited Data Plan, estimate your monthly outbound data transfer needs. For example, with the one gigabit per second port speed Metered Data Plan, you will be charged at a rate of 2.5 cents per gigabyte of outbound data transfer. Assuming you are in Zone 1, which covers North America and Europe, the one gigabit per second Unlimited Data Plan is $5,700 per month. In order to realize the cost benefit from the Unlimited plan, your ExpressRoute connection would need to incur outbound data transfer charges of at lease $5,264 per month, the difference in price of the Unlimited Data Plan compared to the Metered Data Plan. At 2.5 cents per gigabyte, that means your ExpressRoute connection would need to experience an outbound data transfer rate of about 210,560 gigabytes per month. That's a significant amount of data. A final thought on ExpressRoute connections versus traditional VPN.
Considering the high cost for an ExpressRoute connection, it may be more cost effective to move away form a hybrid deployment and relocate most, if not all, of your LAN based resources to the cloud. Using this approach, your network costs can be significantly reduced with VPN connections to Azure being used primarily for administration. Of course, there are costs associated with hosting resources in Azure, but they'll likely be less on a monthly basis than an ExpressRoute connection, particularly when factoring in the hardware and maintenance costs associated with hosting server resources locally.
About the Author
Jeff is a technical trainer and developer residing in Arizona, USA. He has been a Microsoft Certified Trainer for the past 18 years, providing in-house development and training on Microsoft server operating systems, PowerShell, SQL Server and Azure. When he’s not developing and delivering courses on Azure, he’s photographing galaxies, nebulae and star formations from his computer-automated observatory in Chino Valley, Arizona using a 14” Schmidt Cassegrain telescope.