Newsletter zu Aktionen
Trage dich ein um keine Aktionen von uns zu verpassen.
Wir senden 1-2 E-Mails pro Quartal.
Previously, you explored two methods to estimate costs using the Azure Pricing Calculator and the Pricing Details Page.
As you have surely noticed, when examining the details of the pricing pages, there are differences between the two calculations. One contains more detailed information about certain configuration charges but also requires a deeper technical understanding. If you feel overwhelmed by the various charges that may not be fully clear, do not worry; you are not alone. To help you gain more confidence in your calculations, we will review the charges that occur based on actual usage.
For this purpose, a sample solution has been created based on the design from the previous lab. Furthermore, we generated approximately more 50K requests directly to the API and the web interfaces so that you will have real costs data to explorer the capabilities of the „Cost Management + Billing“ (CMaB).
The Cost Management and Billing (CMaB) service is an essential tool that assists in monitoring, tracking, and comprehending the overall expenses as well as the charges applied by Azure:
Needless to say, guarding and optimizing costs require your constant love and attention. In this lab, we will focus on these capabilities, especially the third point.
Although optimization potentials are discussed as well, we will not show or discuss it further but leave it for the next lab.
In this exercise, we will guide you through the process of creating Budgets and Budget Alerts. Although they are mentioned separately, as Azure does, it is not possible to have one without the other.
Hint: You will not be able to complete the creation process due to a lack of necessary permissions. The key takeaway from this exercise is that creating a budget is relatively straightforward yet provides significant benefits. It helps protect you from escalating costs.
However, please remember that it is a soft limit, meaning Azure will not automatically stop or deallocate your resources when the budget is exceeded. You can implement such a mechanism fairly easily if required.
Budgets
in the search box Budgets
from the List.Budget
preselected.+ Add
to create a new Budget and enter in the following viewCreation date
and Expiration date
as it is.500000
Next
+ Add
again.Add filter
allows you to narrow down resources, that should be considered. This is especially powerful if you have solution spanning across subscriptions or multiple products sharing the same subscriptions.Create
. This step will fail.As you can see, you creating a Budget and Budget Alert is quite straight forward.
Show one of the trainers to check and get 5 points.
In this exercise, we will guide you through the process of creating Cost Alerts. While the Budget alerts is to guard your expenses against a preset limit, cost alerts helps you to detect anomalies or reservation low utilization. So they are „smarter“ than the Bugdet Alert.
Cost Alerts
in the search box Alert Costs
from the List.Cost alerts
preselected.Scope: Root management group
.azu-dx-lza-fenidu
Select this subscription
button.+ Add
in the overview to create a new cost alert.Create
Alert rules
.Show one of the trainer, to check get 5 points.
In this exercise, we will use the CMaB tools to gain a better understanding of the Azure charges and see how our calculation differs from the real charge so that we do it better going forward.
This is a more challenging part as you will experience a more technical analysis on the charges but it will help you greatly in optimization your cost. We will try to map all the charge meters to the 4 categoties Storage
, Traffic
, Provisioning
and Operation
as this will impact the optimization potentials.
It’s going to be tough to understand each an every meter and its meaning on a deeper level without a deep technical understanding, but for cost optimization and a higher level understanding this is not really necessary as most of the meters follow a certain convention:
Data stored
Hot Read Operations
, Hot Write Operations
Data transfer
, also the Tier is in many cases Bandwidth
Hint: Please be aware, that there are various version of the Azure Portal, which is served to customers based on your tenant, your tenant configuration, your location and just good old luck.
In some versions (at the moment of writing, the draphony.de-tenant does served the author team this experience)
Cost Management + Billing
on the left navigation bar to open the corresponding blade.Cost Management
.Cost analysis
under Reporting + analytics
.Tenant Root Group
In some version (at the moment of writing, the draphony.com-tenant does served the author team this experience)
Cost Management + Billing
Blade to access feature.Cost Management
, click on Cost analysis
Cost by resource
and select Services
. Azure will list all the services, that is in the Billing account.In both version, you should end up in the same view at the end.
Hint: please be aware, that the
Cost analysis
view does not give you a real-time view of the costs. It takes somewhat between 24 – 48 hours for the charge to be listed.
Let’s try to find all the meters belongs to Storage
costs.
Storage
service mostlike will have a lot of meters belonging to Storage-costs. Let’s unfold it.Assignment 1: Discuss within your group, which of the meters belongs to the category Storage
. Please keep in mind that a resource might have multiple Storage-costs
Assignment 2: Take the solution design and discuss within your group, where those charges occurs and draw them in the solution design directly.
Each valid correct classification of the Meter is worth 1 point and correct placement in the design is worth 1 point.
Hint: Some of the entries are listed as $0€$ in the view. It does not mean that you are not charged. It’s just the cost are (very) low at the moment.
- If you click on
Download
.- A new menu will slide in from the right. Choose
Services with products
- Hit
Download as Excel
- Open the file in excel and increase the decimal to see the actual charge.
In this task, we try to identify the Meters
related to data traffic, which Azure charge. Usually those Meters ends with Ingress
, Egress
, Data Transfer
, Transfer Out
.
Traffic costs can be optimized by bringing the resources closer to the users unless you intentionally wants to benefit from lower provisioning cost or you are bound to certain compliance regulations.
Traffic
.Each valid correct classification of the Meter is worth 1 point and correct placement in the design is worth 1 point.
In this task, we try to identify Provisioning
costs, which are costs that occurs independently from actual usage, transferring any data or storing anything. It is the cost, that Azure charge you for providing the services including deploying and allocating resources to make the service available for you to use. The costs varies greatly from your configuration. For instance, if you buy the premium or higher SKU of a resource, Azure will charge you more than it does if you go for the standard or lower SKU. Meters typically caries names likes D4s v4
, D8s v4
, Standard Fixed Cost
, and so on.
Provisioning costs can be reduced by leveraging the elastic scaling ability of Azure like using serverless compute (Azure Function), virtual machine scale sets and other auto scaling mechanism. It is crucial to understand, that you are no longer in an on-premise environment where you are encouraged to reserve some buffer when ordering new hardware as the process can take up to months. In the cloud deploying a virtual machine can be done in a few minutes to even seconds. Another saving potential is the dynamic upscaling. You can take a lower SKU and scale to higher SKU whenever needing. However, this does not apply to all resources. There are resources, where will not be charged for Provisioning
-costs like Azure Functions, Event Grid, and so. Basically serverless and SaaS.
It is also worth mentioning, that the Azure Advisor provides recommendation to reduce this cost category.
Provisioning
. Please keep in mind that a resource might have multiple Provionsing
-costsEach valid correct classification of the Meter is worth 1 point and correct placement in the design is worth 1 point.
For better understanding, let’s assume Facebook is Azure service, that you could deploy to create your very own Facebook service and everything your user does will be charge. An action like uploading a picture would involve the following costs:
Provisioning
-costs.Traffic
-costs.Storage
-costs.Operation
-costs).As for the cost saving aspect, Operation
-costs are charged for the actual usage. Just to be clear. The pricing model of Azure does not charge for any possible operations! Some are considered key indicators for usage and therefore charged. Remaining parts are included or already covered by Traffic
, Provisioning
or Storage
-charge. Usually, for PaaS, serverless and especially SaaS you have no/less Povisioning
-cost but Operation
-costs instead. Whereas, you have Provisioning
-costs for IaaS but lower/no Operation
costs. And basically this is the key for cost saving. If you have spikes and inconsistencies in workload during a period of time, you benefit from Azure resources with Operation
-costs. If your workload is consistently high, you are more likely to benefit from Azure resources with Provisioning
-costs. Some resources also allows you to switch the SKU so that you pay Provisioning
-costs instead of Operation
-costs and vicecera.
And in this last task, we will identify the Operation
costs, that occurs when ever you perform a operation against a resource.
Operation
. Please keep in mind that a resource might have multiple Operation
-costsEach valid correct classification of the Meter is worth 1 point and correct placement in the design is worth 1 point.
Trage dich ein um keine Aktionen von uns zu verpassen.
Wir senden 1-2 E-Mails pro Quartal.