More Related Content Similar to Cloud Economics (20) More from Amazon Web Services (20) Cloud Economics1. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Cloud Economics: The Financial Case for Cloud
Migration on AWS
Brian Chong
Senior Solutions Architect
2. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agenda
Total Cost of Ownership2
Addressing TCO in AWS3
Cost Optimization4
The AWS Difference1
Cost-Conscious Design5
What next?6
3. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
The AWS Difference
4. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What sets AWS apart?
Building and managing cloud since 2006Experience
165+ services to support any cloud workloadService Breadth & Depth
22 regions, 69 availability zones, 187 edge locationsGlobal Footprint
75 proactive price reductions to date (as of 07/2019)Pricing Philosophy
10,000’s of partners; 4,800+ Marketplace productsSolution
5. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Why choose AWS?
Equipment
Resources and
Administration
Contracts Cost
Traditional Infrastructure
No Up Front Expense
Pay for What You Use
Improve Time to
Market & Agility
Scale Up and
Down
Self-Service
Infrastructure
AWS Cloud
6. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Total Cost of Ownership
7. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What is TCO?
Comparative Total Cost of Ownership Analysis
(acquisition and operating costs)
for running an infrastructure environment
end-to-end on-premises vs. AWS.
8. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
TCO for On-premises v AWS
≠
Traditional Data Centre
& Co-Location
Comparing TCO isn’t easy
9. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Typical TCO Considerations
Diagram doesn’t include every cost item. E.g. software costs can include database, management, middle tier software costs. Facilities cost can include
costs associated with upgrades, maintenance, building security, taxes etc. IT labor costs can include security admin and application admin costs.
Business Value:
Cost of delays
Risk premium
Competitive abilities
Governance
Etc.
Server Admin, Virtualization Admin,
Storage Admin, Network Admin, Support TeamIT Labor Costs4
Facilities Cost
Hardware – Storage
Disks, SAN/FC Switches
Software - Backup
Space Power Cooling
Storage Costs2
Project planning, Advisors, Legal, Contractors,
Managed Services, Training, Cost of capitalExtras5
Hardware – Server, Rack
Chassis PDUs, ToR
Switches (+Maintenance)
Software - OS,
Virtualization Licenses
(+Maintenance)
Server Costs1
Facilities Cost
Space Power Cooling
Network Hardware – LAN
Switches, Load Balancer
Bandwidth costs
Software – Network
Monitoring
Network Costs3
Facilities Cost
Space Power Cooling
10. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What’s included in a typical TCO?
Economic Criteria Category
Infrastructure Comparison
Capacity Planning Benefits
Financial Benefits of Innovation
Cost Avoidance
Workforce Productivity
Accelerated Time To Value/Market
Cost to Achieve (Migration, Service, Training)
Legacy Constraints
Included Partially Included Not Included
11. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
On-premises capacity planning
Used IT
Capacity
Idle
Capacity
0%
10%
20%
30%
40%
50%
60%
70%
80%
90%
100%
On-Premises IT
Compute capacity
Studies by Gartner, McKinsey and the
Uptime Institute have stated that typical
data centers are on average
less than 50% utilized
www.uptimeinstitute.org
anthesisgroup.com/wp-content/uploads/2014/08/Data-Center-Issue-Paper-final826.pdf
www.nytimes.com/2012/09/23/technology/data-centers-waste-vast-amounts-of-energy-belying-industry-image.html
A typical on-premises compute
environment is massively underutilized
12. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Why is on-premises so under-utilised?
Part-time
Peak
Fluctuating/“Spiky”
Peak
Cyclical
Peak
Part of this can be explained by buying for
“peak load” requirements with inflexible infrastructure
13. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Initial
Fixed
Capacity
Utilisation
Time
Why is on-premises built for peak?
Unused Capacity = Wasted $
Downtime,
Lost Customers,
Lost Revenue
(Impossible to measure)
More Wasted $
Increased
Capacity,
again
New purchase
after “Don’t
Let it happen
again”
Yet More Wasted $
14. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Initial
Fixed
Capacity
Utilisation
Time
Why is on-premises built for peak?
Unused Capacity = Wasted $
Downtime,
Lost Customers,
Lost Revenue
(Impossible to measure)
More Wasted $
Increased
Capacity,
again
New purchase
after “Don’t
Let it happen
again”
Yet More Wasted $
15. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Initial questions to consider when exploring TCO
Capacity
Planning
1 How do you plan for capacity?
How many servers have you added in the past year? Anticipating next year?
Can you switch your hardware on and off and only pay for what is used?
Utilization
2
What is your average server utilization?
How much do you overprovision for peak load?
Operations
3 Will you run out of data center space some time in the future?
What was your last year power utility bill for the Data Center(s)?
Have you budgeted for both average and peak power requirements?
Optimization
4
Are you on AWS today?
Are you cost-optimized (Auto Scaling, RIs, Spot, Instances turn on/off)?
16. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Addressing TCO in AWS
17. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
How do customers lower their TCO with AWS?
Source: IDC Whitepaper, sponsored by Amazon, “The Business Value of Amazon Web Services Accelerates Over Time.” December 2013
“Customers will have spent 63.4% more on average on-prem or in co-location”
Remove over
provisioning and
move to a “pay for
what you use”
model
1
Economies of scale
allow AWS to
continually lower
costs
2
Pricing model
choice to support
variable & stable
workloads
3
Save more money
as you grow
bigger
4
18. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Traditional approaches to capacity management
Build to peak load Build to average load
19. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Lower over-provisioning via elasticity
Auto Scaling allows you to:
• React dynamically to
changes in load
• Schedule regular workloads
• Optimise your instance
usage
• Reduce over-provisioning
• Complimentary service!
20. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Economies of Scale
Reduced
Prices
More
Customers
More AWS
Usage
More
Kit
Economies
of Scale
Lower
Costs
Infrastructure Innovation
Solution
Global Footprint
New Features & Services
We pass the savings along to our
customers in the form of low
prices and continuous reductions
(75 reductions to-date)
Continually lowering prices
for customers is in our DNA
21. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon EC2 Pricing Models
On-demand Reserved Spot
22. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
When to use Reserved Instances?
23. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon EC2 Reserved Instances
Commitment level
1 year
3 year
* Dependent on specific AWS service, size/type, and region
AWS services offering RIs
Amazon EC2
Amazon RDS
Amazon DynamoDB
Amazon Redshift
Amazon ElastiCache
24. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon EC2 Spot Instances
Allow you to bid on spare Amazon EC2 computing capacity
for up to 90% off the normal On-Demand price.
Applications that
have flexible start
and end times
Applications that
are only feasible at
very low compute
prices
Users with urgent
computing needs
for large amounts
of additional
capacity
25. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
With Spot, the rules are simple
Markets where the price of
compute changes based on
supply and demand
You’ll never pay more than your
bid. When the market exceeds
your bid you get 2 minutes to
wrap up your work
26. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Volume Tiered Pricing Discounts
0.024 GB/month 0.023 GB/month 0.022 GB/month
First 50 TB
per month
Next 450 TB
per month
Over 500 TB
per month
27. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Cost Optimization
28. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Modelling Cost Optimization
Instance
Right-Sizing
Improved
Elasticity
Storage
Optimization
Optimized
Lift and Shift
Measure
Monitor and
Improve
Serverless
Architecture
Managed
Services
Replatformed,
AWS Optimized
Economic Case Improves through Optimization
On-
Premises
Lift &
Shift
Traditional TCO Comparisons
29. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Five Pillars of Cost Optimization
Right-Sizing Your
Instances
Increase
Elasticity
Measuring &
Monitoring
Pick the Right
Pricing Model
Match Usage to
Storage Class
30. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Right-sizing instances
Selecting the cheapest instance available while
meeting performance requirements
Look at CPU, RAM, storage, and network
utilisation to identify potential instances that
can be downsized
Leveraging Amazon CloudWatch metrics and
setting up custom RAM metrics
Rule of thumb: Right size, then reserve. (But if you’re in a pinch, reserve first.)
31. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Right-sizing & elasticity to reduce cost
More smaller instances vs. fewer larger instances
29 m5.large @ $0.111 /hr
$2,349.87 / mo*
59 t2.medium @ $0.052/hr
$2,239.64 / mo*
*Assumes Linux instances in the EU (London) Region at 730 hours per month
32. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Workload Scheduling
100.0
71.4
35.7
29.8
0
20
40
60
80
100
24 x 7 24 x 5 12 x 5 10 x 5
% Running Time
Up to 70%
savings for non-
production
workloads
33. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Instance Scheduler
• AWS-provided solution
• Custom start & stop schedules
• Works with EC2 & RDS instances
• Deploy using CloudFormation
• Selectively tag instances to schedule
• Multiple schedules per instance
• 5-minute granularity
https://aws.amazon.com/answers/infrastructure-
management/instance-scheduler/
34. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Match usage to storage classes
Amazon S3
Designed to store and access any type of data
over the Internet
Amazon Elastic File System
Simple, scalable file storage for use with
Amazon EC2 instances in the AWS Cloud
Amazon Elastic Block Storage
Block-level storage that serves as a virtual
hard drive for your Amazon EC2 instance
Amazon Glacier
Low-cost and highly durable storage
service for long-term backup and archive
of any type of data
AWS Storage Gateway
Seamlessly links your on-premises
environment to Amazon cloud storage
Amazon CloudFront
Amazon CloudFront is a global content
delivery network (CDN) service
35. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Serverless Architecture
No Server
Management
Flexible
Scaling
High
Availability
No Idle
Capacity
36. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon CloudWatch
Monitor AWS Resources Monitor Custom MetricsSet Alarms
View Graphs and
Statistics
Monitor and React to
Resource Changes
37. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Metrics & Targets
% Instances turned off daily
% of Instances right-sized
% Always-on resources covered by RIs
% RI utilization
Set up metrics to define success and track progress
What KPI makes sense for this workload?
38. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Trusted Advisor
39. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Cost Explorer
40. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Cost Conscious Design
41. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Cost Conscious Design
https://calculator.s3.amazonaws.com/index.html
Example: Should I use Amazon S3 or Amazon DynamoDB?
AWS Simple
Monthly
Calculator
42. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon S3 or Amazon DynamoDB
Request rate
(Writes/sec)
Object size
(Bytes)
Total size
(GB/month)
Objects per month
300 2,048 1,483 777,600,000
43. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon S3 or Amazon DynamoDB
Request rate
(Writes/sec)
Object size
(Bytes)
Total size
(GB/month)
Objects per
month
300 2,048 1,483 777,600,000
44. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon S3 or Amazon DynamoDB
“…but what happens if I change the object size to 32 KB?”
Request rate
(Writes/sec)
Object size
(Bytes)
Total size
(GB/month)
Objects per month
300 32,768 23,730 777,600,000
45. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon S3 or Amazon DynamoDB
Request rate
(Writes/sec)
Object size
(Bytes)
Total size
(GB/month)
Objects per
month
300 32,768 23,730 777,600,000
46. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon S3 or Amazon DynamoDB
Request rate
(Writes/sec)
Object size
(Bytes)
Total size
(GB/month)
Objects per month
Scenario 1 300 2,048 1,483 777,600,000
Scenario 2 300 32,768 23,730 777,600,000
use
use
47. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What Next?
48. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What benefits do I get by moving to AWS?
Trade capital expense
for variable expense
Benefit from massive
economies of scale
Stop guessing capacity
Increase speed and agility,
reduce time-to-market
Focus money on product
development, not data centers
Go global in minutes
49. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
And for existing customers: a call to action!
How many
instances
could I
right-size?
What
benefits
could I get
from using
reserved
instances?
How many
instances
are
configured
for auto-
scaling?
How many
of my
instances
need to be
running
24x7?
50. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Useful Resources
AWS Pricing
§ https://aws.amazon.com/pricing/
Online TCO Calculator:
§ https://awstcocalculator.com
AWS Cloud Economics Centre:
§ https://aws.amazon.com/economics/