CH Ebook ReducingSpendAzure
CH Ebook ReducingSpendAzure
CH Ebook ReducingSpendAzure
In fact, organizations have frequently noticed public cloud bills that are
“ Infrequently
fact, organizations have
noticed public cloud
two to three times higher than expectations.1 This doesn’t mean that
moving to the public cloud is a mistake. The public cloud provides huge
benefits in agility, responsiveness, simplified operations, and improved
bills that are two to three times
”
innovation. The mistake is assuming that migrating to the public cloud
higher than expectations.
without implementing management, governance and automation will lead
to cost savings.
The first step to combating rising Microsoft Azure costs is to gain visibility
across your entire organization’s cloud spend. Once you’ve identified the
areas of high and/or rapidly growing costs, use these proven best prac-
tices for cost reduction and optimization to make sure you are getting the
most out of your cloud investment.
(1) Gartner, Innovation Insight for Dynamic Optimization Technology for Infrastructure
Resources and Cloud Services, Donna Scott and Milind Govekar, 29 February 2016
© 2 0 1 8 C L O U D H E A LT H ® T E C H N O L O G I E S I N C . 2
1 DELETE UNATTACHED
DISK STORAGE
PROTIP
Delete Disk Storage when it has been unattached for two
weeks, as it is unlikely the same storage will be utilized again.
© 2 0 1 8 C L O U D H E A LT H ® T E C H N O L O G I E S I N C . 3
2 DELETE AGED
SNAPSHOTS
One B2B SaaS company found that among its millions of snapshots, a large
percentage of them were more than two years old, making them good
candidates for deletion.
PROTIP
Set a standard in your organization for how many snapshots
should be retained per object. Remember that the majority of
the time, a recovery will occur from the most recent snapshot.
© 2 0 1 8 C L O U D H E A LT H ® T E C H N O L O G I E S I N C . 4
3 TERMINATE
ZOMBIE ASSETS
© 2 0 1 8 C L O U D H E A LT H ® T E C H N O L O G I E S I N C . 5
4 UPGRADE VMS TO THE
LATEST GENERATION
For example, using ARM, you can easily batch deploy new VMs from a
JSON template, rather than deploying them one at a time. You can tag
assets to more easily view them by line of business.
PROTIP
Migrating from Azure Classic to ARM is a win-win for most
customers. It not only provides performance advantages, but
also access to additional features and better manageability. The
process does not need to be a “big bang.” Since both Classic and
ARM assets can now be managed in the same console, you can
migrate workloads at your own pace.
© 2 0 1 8 C L O U D H E A LT H ® T E C H N O L O G I E S I N C . 6
5 RIGHTSIZE VIRTUAL
MACHINES
PROTIP
A good starting place for rightsizing is to look for VMs that have an Avg
CPU < 5% and Max CPU < 20% for 30 days. VMs that fit this criteria are
viable candidates for rightsizing or termination.
© 2 0 1 8 C L O U D H E A LT H ® T E C H N O L O G I E S I N C . 7
6 RIGHTSIZE
DISK STORAGE
can be as high as 3x, so it Microsoft offers two types of storage that VMs can leverage: a standard
behooves you to pick the right storage performance tier, which can be purchased in three different levels
storage for each workload.
” of redundancy, and a premium storage performance tier, which is offered
in three different sizes. The price difference between standard and premi-
um disks can be as high as 3x, so it behooves you to pick the right storage
for each workload.
PROTIP
Premium storage is billed based on the total disk size, regardless of
consumption. For example, if you attach an empty Premium P20 512GB
disk to a VM, you will be charged for the full 512GB per month,
regardless of use. Keep a close eye on utilization of Premium storage to
minimize wasted cost.
© 2 0 1 8 C L O U D H E A LT H ® T E C H N O L O G I E S I N C . 8
7 RIGHTSIZE
SQL DATABASES
It’s important to evaluate how well your SQL Databases are being utilized
in terms of the workloads you are running on them. The critical factors to
take into consideration are Database Transaction Units (DTU), Database
Microsoft recently announced Size, and Capacity.
the preview of a virtual core
(vCore) based purchasing
model, which lets you choose
SQL Databases are purchased through a DTU-based model, which is a
the choose the number of
blend of compute, memory, and IO resources. There are three service
vCores, the amount or memory,
and the amount and speed of tiers, Basic, Standard, and Premium. The Basic tier is used primarily for
storage. development and testing. The Standard tier is suitable for applications that
service more than one user at a time. The Premium tier is for applications
with a high-performance level and many simultaneous requests. Naturally,
there is a price difference within the three tiers, and the database sizes
within those tiers.
As a best practice, you should rightsize to the lowest cost SQL Database
that meets your performance requirements.
PROTIP
Commonly you will not need to rightsize Basic SQL Databases
because they are already offered at a low price and are
mainly used for development or testing.
© 2 0 1 8 C L O U D H E A LT H ® T E C H N O L O G I E S I N C . 9
8 STOP AND START
VMS ON A SCHEDULE
PROTIP
Set a target for weekly hours that non-production systems
should run. One large publishing company set that target at
less than 80 hours per week, which is saving them thousands
of dollars a month.
© 2 0 1 8 C L O U D H E A LT H ® T E C H N O L O G I E S I N C . 10
9 BUY RESERVED VIRTUAL
MACHINE INSTANCES
AND OPTIMIZE
PROTIP
One common misconception around RIs is that they cannot be modified.
Microsoft allows you to achieve a greater
cost savings (up to 82%) by leveraging This is not true! Microsoft allows customers to modify reservations in the
Reserved VM Instances combined with the following ways:
Azure Hybrid Benefit. The Azure Hybrid • Changing the Scope from Single Subscription to Shared, or vice versa.
Benefit covers the cost of the Windows OS
• Exchanging Reserved VM Instances across any region and series.
on up to two virtual machines per licence,
so you only have to pay for the base • Cancelling your Reserved VM Instances at any time for an adjusted
compute costs. refund.
It’s critical to not only purchase reservations but also continuously modify
them to get the most value. If a reservation is idle or underutilized,
modification means the Reserved VM Instance can cover on-demand
usage to a greater degree. This ensures that the reservations are operating
as efficiently as possible and that savings opportunities are being
maximized.
© 2 0 1 8 C L O U D H E A LT H ® T E C H N O L O G I E S I N C . 11
10 MOVE OBJECT DATA
TO LOWER-COST
TIERS
Microsoft offers several tiers of Storage at different price points and per-
formance levels.
The best practice is to move data between the tiers of storage depending
on its usage. There are two dials you can adjust when it comes to Azure
storage: redundancy (how many copies are stored across how many
locations), and access tier (how often data is accessed).
A best practice is that any objects residing in a Hot tier that are older than
30 days should be converted to a Cool tier. Depending on redundancy
levels, the Hot tier is based on the amount of content stored starting at
$0.0184 per GB per month, the Cool tier prices are a flat price of $0.01 per
GB per month, and the Archive tier is available at an even lower price of
$0.002 per GB per month.
PROTIP
A best practice is that any objects residing in a Hot tier that
are older than 30 days should be converted to a Cool tier.
© 2 0 1 8 C L O U D H E A LT H ® T E C H N O L O G I E S I N C . 12
CONCLUSION
It’s important to remember that these best practices are not meant to be
one-time activities, but ongoing processes. Because of the dynamic and
ever changing nature of the cloud, cost optimization activities should
ideally take place continuously.