Cost factors
One machine has four prices, depending on what you promise
Pay as you go is the full price. A savings plan, a reservation or spot capacity cuts it.
Cost in Azure is not one number per resource. Take a single virtual machine. Pay as you go is the full price, with no commitment. A savings plan, where you commit to an hourly spend for one or three years, can bring it down to thirty-five percent of that. A reservation, a commitment to one kind of resource, to twenty-eight percent. And spot capacity, which Azure can take back at short notice, to as little as ten percent.
Cost factors · Going deeper
Seven factors that affect cost
Resource type, consumption, maintenance, geography, network traffic, subscription type, Marketplace.
Cost tools
One tool estimates before, the other reports after
The pricing calculator estimates a design. Cost Management shows actual spending and alerts on budgets.
Two cost tools are easy to confuse, and time separates them. Before you build, the pricing calculator: you choose services, sizes and regions, and it gives an estimate. Nothing is created. After you start spending, Cost Management shows what things actually cost, as the month goes on. You set a budget, and it warns you: here at eighty percent on day 20, and when the budget is reached on day 25. It warns. It does not stop the resources.
Cost tools · Going deeper
What Cost Management does
Cost analysis, budgets, three kinds of alert, and recommendations.
Check yourself
A team is at the point marked on the timeline and wants to know roughly what its design will cost each month. Which tool?
Tags
Tags total the cost along lines that resource groups cannot
A tag is a name and value on a resource. Grouped by "dept", these six resources cost sales 930 and hr 300.
Resource groups organise resources one way. Suppose finance wants cost by department. Here are six resources in three resource groups, and the shared group serves both departments. Give each resource a tag: a name, dept, and a value, sales or H R. Now Cost Management can total by the tag, across the groups: 930 for sales and 300 for H R. Tags do the same for environments, owners and projects.
Tags · Going deeper
What tags are for, and their limits
Tags describe; they do not restrict. Azure Policy can require them.
Azure Policy
A policy lets through what complies and refuses what does not
Azure Policy evaluates resources against rules: it can deny, audit or fix, and reports compliance.
Azure Policy is how you make rules about resources. You assign a policy to a scope. This one allows resources only in West Europe. A request for a new virtual machine in West Europe complies, and is created. A request for one in East U S does not, and is denied, whoever asked. A machine that was already in East U S before the policy is not deleted. It is kept and marked non-compliant, for you to deal with.
Azure Policy · Going deeper
Resource locks
A lock stops deletion or change for everyone, the owner included.
Check yourself
The resource group has the lock shown. An Owner of the subscription tries to delete the database. What happens?
Microsoft Purview
Purview maps the data itself, wherever it is kept
Microsoft Purview discovers, classifies and traces data across Azure, on-premises, other clouds and SaaS.
The last tool governs something different. Policy and locks are about resources. Purview is about the data inside them. Your data is spread over Azure, your own datacentre, other clouds and software services. Microsoft Purview scans all of those. It gives you a map of what data exists and where, a classification of what is sensitive, and lineage: where each piece came from and where it went.
Microsoft Purview · Going deeper · 1 of 2
Five governance tools, five questions
Who: RBAC. What may exist: Policy. Whether at all: locks. How labelled: tags. What data: Purview.
Microsoft Purview · Going deeper · 2 of 2
Clue words for cost and governance
Cost turns on before or after. Governance turns on who, what, or whether.
Check yourself
A company wants any new resource without a "CostCentre" tag to be refused. What goes at the gate?
Lesson complete
You finished “Cost, governance and compliance on Azure”
Answer the questions along the way to see your score here.