Newsletter zu Aktionen
Trage dich ein um keine Aktionen von uns zu verpassen.
Wir senden 1-2 E-Mails pro Quartal.
This lab is part of a series of 3 labs regarding the Understanding and Optimizing Azure Cost.
Sample solution
Throughout the lab serie, we will use a web application Fenidu as a sample solution.
Fenidu is a real solution build by Draphony but in this lab, we just misused the naming for a fictional application that allows the user to:
Central India
, only accessible within the restricted network.azu-dx-bastion
.Assumptions:
We have created a simplified Azure infrastructure for Fenidu. The calculation also does not consider all resources in the estimations, tracking and optimizations. It is not the main focus, that you understand the technical design nor the features of Fenidu. It is just for learning purpose.
The Azure Pricing Calculator is free to use tool provided by Microsoft to help you create estimates for your Azure resources. If you login, you can even save and export your estimates. You can even share it so that other can take it as a base allowing you to create a base template for others to use. The Azure Pricing calculator even consider Azure pricing agreements if your account have access to it.
In this exercise, the key focus is to guide you through the process of creating an estimation for an „entire“ Azure solution. We will provide additional background information for the Azure resources.
Assignment 1: Discuss within your Team, which the Azure resources like 4 virtual machine, 4 managed disk, and so on is required to run Fenidu based on the image above.
Your team will receive 5 points for each resource. You will receive a 5 bonus points in total if you can also a short purpose description for each resource. This is very realatively tough as this is usually done by an Azure Architect.
Your Team will get 1 point for each correct resource.
Let’s add our first resource in the Pricing calculator
India Central
D4s_v4
, (4 CPU,16GB)Assigment 1: Add the remaining virtual machines in your estimations with the correct configurations.
Your Team will get 1 point for each correct resource.
An Azure Virtual Machine is a virtualization of compute and RAM but you will need to have storage to persist your data and code. Also, each VM has at least 1 OS Disk and could have 0 to many data disks. It is quite similiar to your physical PC. So we need to (manually) add a managed disk for our virtual machine.
Hint: there are many other components that will be created as part of the virtual machine such as nsg, routing tables, public key, etc. but we want to focus on the key costs driver.
Let’s add the managed disks for azu-vm-dx-web-001
. As you can see this is a required and actually very crucial element but the pricing calculator does not add it automatically because there are cases where you don’t have a disk associated but this also leads to potential risks, that you miss important parts:
Assigment 1: Discuss the different configurations of the component and add the managed disks to your estimations as you have multiple virtual machines.
Your Team will get 1 point for each correct resource.
Similiar to the managed disk and even stricter, a virtual machine cannot exists without a virtual network. This bond cannot be broken unless you recreate the virtual machine.
2 virtual machines can communicate without charge, if they belongs to the same virtual network. In that case you actually do not need to add the virtual network. In any other case, you have to create a peering and the traffic will be charged depending on the regions of both network.
Assigment 1: Discuss the different configurations of the component and add the virtual networks to your estimations as you have multiple virtual machines.
Your Team will get 1 point for each correct resource and an addition 0,5 point for the correct configuration.
Assigment 1: Discuss the different configurations of the component and add them to your estimations as you have multiple virtual machines.
Your Team will get 1 point for each correct resource and an addition 0,5 point for the correct configuration.
Now let’s recalculate the Fenidu solutions using the respective pricing pages for each indivual Azure resources to see how the Azure Pricing Calculator’s result will differ from our manual result. Are there relevant hidden costs , that has not been considered?
This procedure is pretty tough and therefore, we will guide you through this part.
Let’s start with the frontend virtual machine azu-vm-dx-web-001
again.
You can do the same with Virtual Machines (Compute for your api) and Virtual Machines (Compute for your database).
The Azure Pricing Tool is a easy to use tool and enable user to quickly create estimates. It also helps to consider certain cost aspect of the resources during the estimation process. Unfortunately, not all of it. It does not hint nor automatically add all dependent resources that is needed so that you might miss a few in your calculations.
As it is designed on a resource listing based, there is a certain temptation to miss certain charges. As we have discussed during the session, in Azure, you can classify the costs in 4 categories: provisioning costs, storage costs, traffic costs and operation costs. So for each resource or the entire solution you could list and ask the team to share those costs per category. If we take Fenidu as sample, you could thing of the 4 categories as follow:
Traffic
-costs.Storage
-costs.Operation
-costs).This is neither perfect but will help you discovering additional charges. You may want to apply both. First adding the resources and then applying the categories.
Trage dich ein um keine Aktionen von uns zu verpassen.
Wir senden 1-2 E-Mails pro Quartal.