Describe cost management in Azure Flashcards

1
Q

Cost Affecting Factors

A

Base Cost:
-Resource Types – All Azure services (resources) have resource-specific pricing models. -Typically consisting of one or more metrics.
-Services – Azure specific offers (Enterprise, Web Direct, CSP, etc.) have different cost and billing components like prepaids, billing cycles, - discounts, etc.
-Location – running Azure services vary between Azure regions
-Bandwidth – network traffic when uploading (inbound/ingress) data to Azure or downloading (outbound/egress) from Azure

Savings:
-Reserved Instances
-Hybrid Benefits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Azure Reservations

A

Purchase Azure services for 1 or 3 years in advance with a significant discounts:

Reserved instances – Azure Virtual Machines
Reserved capacity – Azure Storage, SQL Database vCores, Databricks DBUs, Cosmos DB RUs
Software plans – Red Hat, Red Hat OpenShift, SUSE Linux, etc.
Reservations are made for 1 or 3 years

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Azure Spot VMs

A

Purchase unused Virtual Machine capacity for significant discount:

How it works:
-Significant dicount for Azure VMs
-Capacity can be taken away at any time
-Customer can set maximum price after discount to keep or evict the machine

-Best for interruptable workloads (batch processing, dev/test environments, large compute workloads, non-critical tasks, etc.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Azure Dedicated Host

A

Azure Dedicated Host provides physical servers that host one or more Azure virtual machines.

-Your server is dedicated to your organization and workloads—capacity isn’t shared with other customers.

-This host-level isolation helps address compliance requirements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Azure Hybrid Use Benefits

A

Use existing licenses in the Azure:

Windows Server
-Azure VM

RedHat:
-Azure VM

SUSE Linux:
-Azure VM

SQL Server:
-Azure SQL Database
-Azure SQL Managed Instance
-Azure SQL Server on VM
-Azure Data Factory SQL Server Integration Services

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Azure Cost Tools

A

Pricing calculator – estimate the cost of Azure services:
-Select service
-Adjust parameters (usage)
-View the price

Total Cost of Ownership (TCO) calculator – estimate and compare the cost of running workloads in datacenter versus Azure:
-Define your workloads
-Adjust assumptions
-View the report

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Azure Cost Management

A

-A centralized service for reporting usage and billing of Azure environment
-Self-service cost exploration capabilities
-Budgets & alerts
-Cost recommendations
-Automated exports

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Minimizing Costs in Azure

A

1-Azure Pricing Calculator to choose the low-cost region
-Good latency
-All required services are available
-Data sovereignty/compliance requirements

2-Hybrid use benefit and Azure Reservations
3-Azure Cost Management monitoring, budgets, alerts and recommendations
4-Understand service lifecycle and automate environments
5-Use autoscaling features to your advantage
6-Azure Monitor to find and scale down underutilized resources
7-Use tags & policies for effective governance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Service Level Agreement (SLA)

A

-Service Level Agreement (SLA) is a formal agreement between a service provider and a customer.

-SLA is a promise of a service’s availability (uptime & connectivity). Availability is a measure of time that a service remains operational.

-Each Service has its own SLA
-Ranges from 99% to 99.999%
-Free services typically don’t have an SLA
-Broken SLA means service credit return (discount)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

SLAs Formulas

A

Logical AND - adding dependency
Availability of S1 AND S2 = Availability(S1) * Availability(S2)

Scenario - Azure website with SQL backend db
-Availability = Availability(web) app * Availability(sql)
-Availability = 99.95% * 99.95%
-Availability = 0.9995 * 0.9995
-Availability = 0.99900025
-Availability ~ 99.9%

Logical OR - adding redundancy
Availability of S1 OR S2 = 100% - ( Unvailability(S1) * Unvailability(S2) )

Scenario - Two redundant web apps behind a load balancer
-Availability(both-web) = 100% - ( Unvailability(web1) * Unvailability(web2) )
-Availability(both-web) = 100% - ( 0.05% * 0.05% )
-Availability(both-web) = 1 – ( 0.0005 * 0.0005 )
-Availability(both-web) = 1 – 0.00000025
-Availability(both-web) = 0.99999975
-Availability(both-web) ~ 99.9999%

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

SLAs Key Items

A

-Formal agreement between Microsoft & the customer
-Calculated as a percentage of service availability (uptime & connetivity) (a promise)
-Breaking the SLA provides a discount from the final monthly bill (Service Credit)
-Higher tier services offer better SLAs
-Free services typically have no SLA (0% SLA)
-Preview services have no SLA
-Composite SLA is a combined SLA of all application components

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Service Lifecycle

A

-Every service in Azure follows its own service lifecycle
-Public preview is a ‘beta’ stage of the service available to general public use
-Features can also be in preview stages
-Designed for testing, not production solutions
-General availability is a ‘production’ release of the serviceService Lifecycle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Public Preview Key Info

A

-No SLA
-Some services have no support coverage
-Limited region availability
-Limited functionality
-Pricing changes
-Direction changes
-Azure Portal Previews (https://preview.portal.azure.com)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Azure Resource Tags

A

-Tags are simple Name (key) - Value pairs
-Designed to help with organization of Azure resources
-Used for resource governance, security, operations management, cost management, automation, etc.

Typical tagging strategies:
-Functional – mark by function ( ex: environment = production )
-Classification – mark by policies used ( ex: classification = restricted )
-Finance/Accounting – mark for billing purposes ( ex: department = finance )
-Partnership – mark by association of users/groups ( ex: owner = adam )

-Applicable for resources, resource groups and subscriptions
-NOT inherited by default

How well did you know this?
1
Not at all
2
3
4
5
Perfectly