SlideShare ist ein Scribd-Unternehmen logo
1 von 25
AWS Cost Management: 
Tracking, Allocating, 
and Optimizing Your Spend 
Atlanta AWS Meetup 
Aaron C. Newman 
Founder, CloudCheckr 
Aaron.Newman@CloudCheckr.com
Agenda: 
• Overview of Costs in AWS 
• Going “Reserved” 
• Going “Spot” 
• Optimizing Resources 
• CloudCheckr 
• Conclusion, Resource, and Questions
Overview of AWS Costs
State of Cloud Computing Cost 
• 10 years ago 
– The datacenter was a (mostly) fixed cost 
– High cost for even the most basic data center 
– You paid for your peak capacity 
• Co-location/ISPs as an alternative 
– Still buying your own equipment/building for peak capacity 
– High margins were the norm 
• About 2010 Public Cloud Turns the Corner 
– Technology matures 
– Becomes the de facto for getting a startup off the ground 
– Amazon starts compressing the high margin IT business 
Over 20 price reductions in Amazon AWS by 2013 
Prices continue to drop. But what is the reality of those 20 price reductions? 
EC2 Linux Small Instance (On-Demand Per Hour): 
Aug 2006 = $0.10, Nov 2009 = $0.085, May 2013 = $0.06 
Extrapolate that to 2015 = somewhere between $0.035 and $0.05
Cost is a product of usage 
• In old data center, cost was fixed 
– Once you bought the equipment, little could be done to reduce 
your cost. No advantage to ever scale down. 
• The public cloud is heavily weighted to variable costs 
– If you can use less, you spend less 
• Optimizing Resource Utilization in the Cloud matter 
– Computational engines – run as close to 100% as possible 
– Interactive components – need a cushion for peak usage 
• Auto scaling - important tool for optimizing cloud usage 
– Scale down as much as scaling up
AWS Costs 
(Bytes of Data Transferred) * Price 
+ 
(Size of Compute Resource) * 
(Price of Compute Resource) * (Number of Hours) 
+ 
(Storage Used) * Price * (Time Stored) 
+ 
(Transactions Processed) * Price
Architecting Applications 
• In the past, architecture was typically a large, multi-threaded 
executable talking to a single database running 
on the biggest boxes you could afford. Sat idle a lot. 
• Moving old apps into the cloud 
– Can you resize your resources different times of the day? 
– Use load balancers or Multi AZ capabilities to resize 
• Important to design your apps to scale horizontally 
• Design you application into components 
– That can be added or removed dynamically
Going “Reserved”
What is Reserved? 
• Pay up front, get a lower variable cost 
• ROI – as high as 500% over 3 years, 60% savings in cost 
• Types of Reserved Resources Available 
• EC2 Instance 
• RDS DB Instance 
• ElastiCache Node 
• RedShift 
• DynamoDB 
• CloudFront 
• Types 
• Utilization – light, medium, heavy 
• Utilization <> Resource Utilization 
• Commitments – 1 or 3 year
Calculating ROI on Reserved Instances
Warnings using Reserved Instances 
• Need to be able to predict what you’ll use 
• If you design application to scale horizontally this becomes easier 
• Heavy Reserved Instances – even if you don’t use it you’re charge 
• Match reserved instances carefully! 
• OS Type, Availability Zone, Size (VPC vs. Classic, Tenancy only matter for 
guaranteed availability) 
• AWS console does not show you if an instance is properly mapped 
• Determine your highest ROI – Instances, Database, Nodes? 
• Consolidated Billing 
• Reserved Pricing is applied across AWS accounts 
• AWS Console does not show you how your reserved instances are applied
Going “Spot”
What is Spot Pricing 
• Bidding for unused instances 
• Supply and demand dictates current price 
• Place your max bid, your instance shuts down if max bid exceeded by others 
• Spot is almost always cheaper 
• But you need to consider < 99% availability 
• Spot prices spike frequently 
• Slightly slower to spin up 
• Wait for spot request to be fulfilled before instance can start 
• More complex to manage 
• Using EBS/Instance store
What Does Spot Pricing Look Like 
Example spot pricing: 
• US East, Linux, M1 Small (1 ECU): 0.007 - 0.010 
• SA, Linux, M1 Small (1 ECU): 0.011 
• On demand: US East = 0.06, SA = 0.08 
• US East, Linux, M1 Extra Large (8 ECU): 0.055 - 0.64 
• SA, Linux, M1 Extra Large (8 ECU): 0.084 
• On-demand: US East = 0.48, SA = 0.64 
• US East, Linux, M3 Double Extra Large (26 ECU) 0.115 
• SA, Linux, M3 Double Extra Large (26 ECU) 0.185 
• On-demand: US East = 1.00, SA = 1.36 
Spot Pricing is typically 10-20% of On-Demand 
But can easily spike HIGHER than On-Demand
Spot Strategies 
• Most people don’t understand spot pricing, afraid to use it 
• As more people understand and use it, pricing will be driven up 
• Very tempting but dangerous to run exclusively on Spot 
• From GigaOm: “A sudden spike in the price of “m2.2xlarge” servers (normally 
$.44/hour) drove the price briefly up to $999/hour, causing a site-wise outage.” 
• If you follow this strategy, use a variety of instance sizes, Availability Zones, and 
even regions to minimize the risk 
• Hybrid Reserved/Spot strategies 
• Run as many spot instances as possible 
• But maintain a base level of Reserved Instances 
• Switch to On-Demand if Bid Price Exceeds On-Demand Price 
• Switch to a different availability zone or region 
• This is a manually intensive strategy
Optimizing Resources
Overview 
• Keep track of what you are using 
• Find and eliminate idle instances 
• Find and reduce under-utilized resources 
• Unused EBS drives, ELB, multiple snapshots of same EBS drive 
• Horizontally scale 
• Find smallest instance type that can handle your transactions 
• Find your bottle necks (network, disk I/O, CPU util, memory util) 
• Turning off resources when they aren’t used 
• Turn off over the weekend, overnight 
• Use only what you need 
• E.g. don’t check multiple copies of buckets in S3
Optimizing Instance Types 
• Picking the optimal Instance Type: 
• Comparing ECU (EC2 Compute Units) 
• M1 Small (1 ECU) On-Demand in US East = $0.06 ($0.06 per ECU) 
• M3 Double Extra Large (26 ECU) On-Demand in US East = $1.00 ($0.0385 per 
ECU) 
• Comparing the cost of Memory 
• M1 Small (1.7 GiB memory) On-Demand in US East = $0.06 ($0.035 per GiB) 
• M3 Double Extra Large (30 GiB memory) On-Demand in US East = $1.00 
($0.033 per GiB) 
• But you need to compare Resource Type, Pricing Type (on-demand/ 
spot/reserved), Region, AZ, etc… for your circumstance
S3, Glacier, and RRS 
• S3 Pricing: > $0.10 cents per gigabyte (starts at 9.5c in US East) 
• Reduced Redundancy Storage 
• AWS doesn’t store as many copies of your S3 objects 
• Typically about 20% cheaper (US East $0.095 reduced to $0.076) 
• Ideal if you are storing terabytes or petabytes of songs, movies, documents that 
can be recovered 
• How much of your S3 storage can you convert to RRS? 
• Glacier Pricing – about 1 cent per gigabyte 
• Pricing difference from S3 decreases as the price goes up 
• Takes 3-5 hours to retrieve files, and cost to retrieve
4 Strategies To Optimize 
• Keep a close handle on what you are running in the 
cloud 
• Measure what you are spending 
• Calculate Return On Investment 
• Minimize what you don’t need
CloudCheckr
It’s Not About the Price 
• Cloud Computing is not about the cost 
– It’s about accelerating business, moving faster 
• IaaS is following in SaaS footstep 
– SalesForce.com pioneered the movement 
– Hard to imagined a third-party controlling your entire customer list (one of your 
most valuable assets) 
– They proved it was secure, prudent, and effective 
• Still see some of the slower moving Corporate types claiming 
“production work loads can’t be run on the cloud” 
– While their competitors leveraging the cloud eat their lunch
Resources 
Further reading: 
• “How AWS Pricing Works” 
– http://media.amazonwebservices.com/AWS_Pricing_Overview.pdf 
• AWS Service Pricing Overview 
– http://aws.amazon.com/pricing/ 
• CloudCheckr Whitepaper Cost Series 
– http://www.cloudcheckr.com/whitepapers 
• AWS Simple Monthly Calculator 
– http://calculator.s3.amazonaws.com/calc5.html
Questions? 
Questions on: 
• Cloud Computing 
• Resource Utilization 
• Optimizing Your Costs 
• CloudCheckr
Thank You for Attending 
Get your FREEMIUM account to 
check your public cloud 
at www.cloudcheckr.com 
Aaron Newman is the Founder 
of CloudCheckr (www.cloudcheckr.com) 
Please contact me with additional questions at: 
aaron.newman@cloudcheckr.com

Weitere ähnliche Inhalte

Was ist angesagt?

Big data and Analytics on AWS
Big data and Analytics on AWSBig data and Analytics on AWS
Big data and Analytics on AWS2nd Watch
 
Mastering Access Control Policies (SEC302) | AWS re:Invent 2013
Mastering Access Control Policies (SEC302) | AWS re:Invent 2013Mastering Access Control Policies (SEC302) | AWS re:Invent 2013
Mastering Access Control Policies (SEC302) | AWS re:Invent 2013Amazon Web Services
 
Stream Processing in SmartNews #jawsdays
Stream Processing in SmartNews #jawsdaysStream Processing in SmartNews #jawsdays
Stream Processing in SmartNews #jawsdaysSmartNews, Inc.
 
STG204 Using the AWS Storage Gateway - AWS re:Invent 2012
STG204 Using the AWS Storage Gateway - AWS re:Invent 2012STG204 Using the AWS Storage Gateway - AWS re:Invent 2012
STG204 Using the AWS Storage Gateway - AWS re:Invent 2012Amazon Web Services
 
Running Lean and Mean: Designing Cost-efficient Architectures on AWS (ARC313)...
Running Lean and Mean: Designing Cost-efficient Architectures on AWS (ARC313)...Running Lean and Mean: Designing Cost-efficient Architectures on AWS (ARC313)...
Running Lean and Mean: Designing Cost-efficient Architectures on AWS (ARC313)...Amazon Web Services
 
Scaling on AWS for the First 10 Million Users (ARC206) | AWS re:Invent 2013
Scaling on AWS for the First 10 Million Users (ARC206) | AWS re:Invent 2013Scaling on AWS for the First 10 Million Users (ARC206) | AWS re:Invent 2013
Scaling on AWS for the First 10 Million Users (ARC206) | AWS re:Invent 2013Amazon Web Services
 
AWS APAC Webinar Week - Launching Your First Big Data Project on AWS
AWS APAC Webinar Week - Launching Your First Big Data Project on AWSAWS APAC Webinar Week - Launching Your First Big Data Project on AWS
AWS APAC Webinar Week - Launching Your First Big Data Project on AWSAmazon Web Services
 
Aws meetup managed_nat
Aws meetup managed_natAws meetup managed_nat
Aws meetup managed_natAdam Book
 
AWS re:Invent 2016: Scaling Up to Your First 10 Million Users (ARC201)
AWS re:Invent 2016: Scaling Up to Your First 10 Million Users (ARC201)AWS re:Invent 2016: Scaling Up to Your First 10 Million Users (ARC201)
AWS re:Invent 2016: Scaling Up to Your First 10 Million Users (ARC201)Amazon Web Services
 
BDA402 Deep Dive: Log analytics with Amazon Elasticsearch Service
BDA402 Deep Dive: Log analytics with Amazon Elasticsearch ServiceBDA402 Deep Dive: Log analytics with Amazon Elasticsearch Service
BDA402 Deep Dive: Log analytics with Amazon Elasticsearch ServiceAmazon Web Services
 
This One Weird API Request Will Save You Thousands
This One Weird API Request Will Save You ThousandsThis One Weird API Request Will Save You Thousands
This One Weird API Request Will Save You ThousandsAmazon Web Services
 
Day 3 - Maintaining Performance & Availability While Lowering Costs with AWS
Day 3 - Maintaining Performance & Availability While Lowering Costs with AWSDay 3 - Maintaining Performance & Availability While Lowering Costs with AWS
Day 3 - Maintaining Performance & Availability While Lowering Costs with AWSAmazon Web Services
 
ENT311 Maximize Scale and Agility: Automatically Leveraging Best Practices an...
ENT311 Maximize Scale and Agility: Automatically Leveraging Best Practices an...ENT311 Maximize Scale and Agility: Automatically Leveraging Best Practices an...
ENT311 Maximize Scale and Agility: Automatically Leveraging Best Practices an...Amazon Web Services
 
AWS APAC Webinar Week - Understanding AWS Storage Options
AWS APAC Webinar Week - Understanding AWS Storage OptionsAWS APAC Webinar Week - Understanding AWS Storage Options
AWS APAC Webinar Week - Understanding AWS Storage OptionsAmazon Web Services
 
Backup to the Cloud
Backup to the CloudBackup to the Cloud
Backup to the Cloud2nd Watch
 
Using Amazon CloudWatch Events, AWS Lambda and Spark Streaming to Process E...
Using Amazon CloudWatch Events,  AWS Lambda and Spark Streaming  to Process E...Using Amazon CloudWatch Events,  AWS Lambda and Spark Streaming  to Process E...
Using Amazon CloudWatch Events, AWS Lambda and Spark Streaming to Process E...Julien SIMON
 
Ralph Rebske: AWS Pricing and Billing
Ralph Rebske: AWS Pricing and BillingRalph Rebske: AWS Pricing and Billing
Ralph Rebske: AWS Pricing and BillingSymposia Media
 
(SEC301) Encryption and Key Management in AWS | AWS re:Invent 2014
(SEC301) Encryption and Key Management in AWS | AWS re:Invent 2014(SEC301) Encryption and Key Management in AWS | AWS re:Invent 2014
(SEC301) Encryption and Key Management in AWS | AWS re:Invent 2014Amazon Web Services
 

Was ist angesagt? (20)

SEC301 Security @ (Cloud) Scale
SEC301 Security @ (Cloud) ScaleSEC301 Security @ (Cloud) Scale
SEC301 Security @ (Cloud) Scale
 
Big data and Analytics on AWS
Big data and Analytics on AWSBig data and Analytics on AWS
Big data and Analytics on AWS
 
Mastering Access Control Policies (SEC302) | AWS re:Invent 2013
Mastering Access Control Policies (SEC302) | AWS re:Invent 2013Mastering Access Control Policies (SEC302) | AWS re:Invent 2013
Mastering Access Control Policies (SEC302) | AWS re:Invent 2013
 
Stream Processing in SmartNews #jawsdays
Stream Processing in SmartNews #jawsdaysStream Processing in SmartNews #jawsdays
Stream Processing in SmartNews #jawsdays
 
STG204 Using the AWS Storage Gateway - AWS re:Invent 2012
STG204 Using the AWS Storage Gateway - AWS re:Invent 2012STG204 Using the AWS Storage Gateway - AWS re:Invent 2012
STG204 Using the AWS Storage Gateway - AWS re:Invent 2012
 
Running Lean and Mean: Designing Cost-efficient Architectures on AWS (ARC313)...
Running Lean and Mean: Designing Cost-efficient Architectures on AWS (ARC313)...Running Lean and Mean: Designing Cost-efficient Architectures on AWS (ARC313)...
Running Lean and Mean: Designing Cost-efficient Architectures on AWS (ARC313)...
 
Scaling on AWS for the First 10 Million Users (ARC206) | AWS re:Invent 2013
Scaling on AWS for the First 10 Million Users (ARC206) | AWS re:Invent 2013Scaling on AWS for the First 10 Million Users (ARC206) | AWS re:Invent 2013
Scaling on AWS for the First 10 Million Users (ARC206) | AWS re:Invent 2013
 
AWS APAC Webinar Week - Launching Your First Big Data Project on AWS
AWS APAC Webinar Week - Launching Your First Big Data Project on AWSAWS APAC Webinar Week - Launching Your First Big Data Project on AWS
AWS APAC Webinar Week - Launching Your First Big Data Project on AWS
 
Aws meetup managed_nat
Aws meetup managed_natAws meetup managed_nat
Aws meetup managed_nat
 
AWS re:Invent 2016: Scaling Up to Your First 10 Million Users (ARC201)
AWS re:Invent 2016: Scaling Up to Your First 10 Million Users (ARC201)AWS re:Invent 2016: Scaling Up to Your First 10 Million Users (ARC201)
AWS re:Invent 2016: Scaling Up to Your First 10 Million Users (ARC201)
 
BDA402 Deep Dive: Log analytics with Amazon Elasticsearch Service
BDA402 Deep Dive: Log analytics with Amazon Elasticsearch ServiceBDA402 Deep Dive: Log analytics with Amazon Elasticsearch Service
BDA402 Deep Dive: Log analytics with Amazon Elasticsearch Service
 
Introduction to Amazon EC2
Introduction to Amazon EC2Introduction to Amazon EC2
Introduction to Amazon EC2
 
This One Weird API Request Will Save You Thousands
This One Weird API Request Will Save You ThousandsThis One Weird API Request Will Save You Thousands
This One Weird API Request Will Save You Thousands
 
Day 3 - Maintaining Performance & Availability While Lowering Costs with AWS
Day 3 - Maintaining Performance & Availability While Lowering Costs with AWSDay 3 - Maintaining Performance & Availability While Lowering Costs with AWS
Day 3 - Maintaining Performance & Availability While Lowering Costs with AWS
 
ENT311 Maximize Scale and Agility: Automatically Leveraging Best Practices an...
ENT311 Maximize Scale and Agility: Automatically Leveraging Best Practices an...ENT311 Maximize Scale and Agility: Automatically Leveraging Best Practices an...
ENT311 Maximize Scale and Agility: Automatically Leveraging Best Practices an...
 
AWS APAC Webinar Week - Understanding AWS Storage Options
AWS APAC Webinar Week - Understanding AWS Storage OptionsAWS APAC Webinar Week - Understanding AWS Storage Options
AWS APAC Webinar Week - Understanding AWS Storage Options
 
Backup to the Cloud
Backup to the CloudBackup to the Cloud
Backup to the Cloud
 
Using Amazon CloudWatch Events, AWS Lambda and Spark Streaming to Process E...
Using Amazon CloudWatch Events,  AWS Lambda and Spark Streaming  to Process E...Using Amazon CloudWatch Events,  AWS Lambda and Spark Streaming  to Process E...
Using Amazon CloudWatch Events, AWS Lambda and Spark Streaming to Process E...
 
Ralph Rebske: AWS Pricing and Billing
Ralph Rebske: AWS Pricing and BillingRalph Rebske: AWS Pricing and Billing
Ralph Rebske: AWS Pricing and Billing
 
(SEC301) Encryption and Key Management in AWS | AWS re:Invent 2014
(SEC301) Encryption and Key Management in AWS | AWS re:Invent 2014(SEC301) Encryption and Key Management in AWS | AWS re:Invent 2014
(SEC301) Encryption and Key Management in AWS | AWS re:Invent 2014
 

Ähnlich wie AWS Meet-up Atlanta: AWS Economics

AWS Summit Berlin 2013 - Optimizing your AWS applications and usage to reduce...
AWS Summit Berlin 2013 - Optimizing your AWS applications and usage to reduce...AWS Summit Berlin 2013 - Optimizing your AWS applications and usage to reduce...
AWS Summit Berlin 2013 - Optimizing your AWS applications and usage to reduce...AWS Germany
 
AWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCO
AWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCOAWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCO
AWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCOAmazon Web Services
 
Optimizing Costs and Efficiency of AWS Services
Optimizing Costs and Efficiency of AWS Services Optimizing Costs and Efficiency of AWS Services
Optimizing Costs and Efficiency of AWS Services Amazon Web Services
 
Cost optimization at scale toronto v3
Cost optimization at scale toronto v3Cost optimization at scale toronto v3
Cost optimization at scale toronto v3Amazon Web Services
 
AWS Summit 2013 | Auckland - Optimizing Your AWS Applications and Usage to Re...
AWS Summit 2013 | Auckland - Optimizing Your AWS Applications and Usage to Re...AWS Summit 2013 | Auckland - Optimizing Your AWS Applications and Usage to Re...
AWS Summit 2013 | Auckland - Optimizing Your AWS Applications and Usage to Re...Amazon Web Services
 
Optimizing Your AWS Apps & Usage to Reduce Costs - IP Expo
Optimizing Your AWS Apps & Usage to Reduce Costs - IP ExpoOptimizing Your AWS Apps & Usage to Reduce Costs - IP Expo
Optimizing Your AWS Apps & Usage to Reduce Costs - IP ExpoAmazon Web Services
 
AWS Cost Optimization Strategy
AWS Cost Optimization StrategyAWS Cost Optimization Strategy
AWS Cost Optimization StrategyRobert Sell
 
Running Lean Architectures: How to Optimize for Cost Efficiency
Running Lean Architectures: How to Optimize for Cost Efficiency Running Lean Architectures: How to Optimize for Cost Efficiency
Running Lean Architectures: How to Optimize for Cost Efficiency Amazon Web Services
 
Advanced Topics - Session 3 - Optimizing AWS Applications
Advanced Topics - Session 3 - Optimizing AWS ApplicationsAdvanced Topics - Session 3 - Optimizing AWS Applications
Advanced Topics - Session 3 - Optimizing AWS ApplicationsAmazon Web Services
 
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일Amazon Web Services Korea
 
Cost Optimization on AWS - Pop-up Loft Tel Aviv
Cost Optimization on AWS - Pop-up Loft Tel AvivCost Optimization on AWS - Pop-up Loft Tel Aviv
Cost Optimization on AWS - Pop-up Loft Tel AvivAmazon Web Services
 
Optimizing Your AWS Applications and Usage to Reduce Costs
Optimizing Your AWS Applications and Usage to Reduce CostsOptimizing Your AWS Applications and Usage to Reduce Costs
Optimizing Your AWS Applications and Usage to Reduce CostsAmazon Web Services
 
(ARC302) Running Lean Architectures: Optimizing for Cost Efficiency
(ARC302) Running Lean Architectures: Optimizing for Cost Efficiency(ARC302) Running Lean Architectures: Optimizing for Cost Efficiency
(ARC302) Running Lean Architectures: Optimizing for Cost EfficiencyAmazon Web Services
 
Aws atlanta march_2015
Aws atlanta march_2015Aws atlanta march_2015
Aws atlanta march_2015Adam Book
 
AWS Summit Sydney 2014 | Moving to the Cloud. What does it Mean to your Business
AWS Summit Sydney 2014 | Moving to the Cloud. What does it Mean to your BusinessAWS Summit Sydney 2014 | Moving to the Cloud. What does it Mean to your Business
AWS Summit Sydney 2014 | Moving to the Cloud. What does it Mean to your BusinessAmazon Web Services
 
AWS Summit Auckland 2014 | Moving to the Cloud. What does it Mean to your Bus...
AWS Summit Auckland 2014 | Moving to the Cloud. What does it Mean to your Bus...AWS Summit Auckland 2014 | Moving to the Cloud. What does it Mean to your Bus...
AWS Summit Auckland 2014 | Moving to the Cloud. What does it Mean to your Bus...Amazon Web Services
 
Scaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million UsersScaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million UsersAmazon Web Services
 
AWS Cost Optimization
AWS Cost OptimizationAWS Cost Optimization
AWS Cost OptimizationMiles Ward
 
Cloud Economics, from Genesis to Scale
Cloud Economics, from Genesis to ScaleCloud Economics, from Genesis to Scale
Cloud Economics, from Genesis to ScaleAmazon Web Services
 

Ähnlich wie AWS Meet-up Atlanta: AWS Economics (20)

AWS Summit Berlin 2013 - Optimizing your AWS applications and usage to reduce...
AWS Summit Berlin 2013 - Optimizing your AWS applications and usage to reduce...AWS Summit Berlin 2013 - Optimizing your AWS applications and usage to reduce...
AWS Summit Berlin 2013 - Optimizing your AWS applications and usage to reduce...
 
Cost Optimisation on AWS
Cost Optimisation on AWSCost Optimisation on AWS
Cost Optimisation on AWS
 
AWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCO
AWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCOAWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCO
AWS Summit Tel Aviv - Enterprise Track - Cost Optimization & TCO
 
Optimizing Costs and Efficiency of AWS Services
Optimizing Costs and Efficiency of AWS Services Optimizing Costs and Efficiency of AWS Services
Optimizing Costs and Efficiency of AWS Services
 
Cost optimization at scale toronto v3
Cost optimization at scale toronto v3Cost optimization at scale toronto v3
Cost optimization at scale toronto v3
 
AWS Summit 2013 | Auckland - Optimizing Your AWS Applications and Usage to Re...
AWS Summit 2013 | Auckland - Optimizing Your AWS Applications and Usage to Re...AWS Summit 2013 | Auckland - Optimizing Your AWS Applications and Usage to Re...
AWS Summit 2013 | Auckland - Optimizing Your AWS Applications and Usage to Re...
 
Optimizing Your AWS Apps & Usage to Reduce Costs - IP Expo
Optimizing Your AWS Apps & Usage to Reduce Costs - IP ExpoOptimizing Your AWS Apps & Usage to Reduce Costs - IP Expo
Optimizing Your AWS Apps & Usage to Reduce Costs - IP Expo
 
AWS Cost Optimization Strategy
AWS Cost Optimization StrategyAWS Cost Optimization Strategy
AWS Cost Optimization Strategy
 
Running Lean Architectures: How to Optimize for Cost Efficiency
Running Lean Architectures: How to Optimize for Cost Efficiency Running Lean Architectures: How to Optimize for Cost Efficiency
Running Lean Architectures: How to Optimize for Cost Efficiency
 
Advanced Topics - Session 3 - Optimizing AWS Applications
Advanced Topics - Session 3 - Optimizing AWS ApplicationsAdvanced Topics - Session 3 - Optimizing AWS Applications
Advanced Topics - Session 3 - Optimizing AWS Applications
 
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
AWS re:Invent re:Cap - 비용 최적화 - 모범사례와 아키텍처 설계 심화편 - 이원일
 
Cost Optimization on AWS - Pop-up Loft Tel Aviv
Cost Optimization on AWS - Pop-up Loft Tel AvivCost Optimization on AWS - Pop-up Loft Tel Aviv
Cost Optimization on AWS - Pop-up Loft Tel Aviv
 
Optimizing Your AWS Applications and Usage to Reduce Costs
Optimizing Your AWS Applications and Usage to Reduce CostsOptimizing Your AWS Applications and Usage to Reduce Costs
Optimizing Your AWS Applications and Usage to Reduce Costs
 
(ARC302) Running Lean Architectures: Optimizing for Cost Efficiency
(ARC302) Running Lean Architectures: Optimizing for Cost Efficiency(ARC302) Running Lean Architectures: Optimizing for Cost Efficiency
(ARC302) Running Lean Architectures: Optimizing for Cost Efficiency
 
Aws atlanta march_2015
Aws atlanta march_2015Aws atlanta march_2015
Aws atlanta march_2015
 
AWS Summit Sydney 2014 | Moving to the Cloud. What does it Mean to your Business
AWS Summit Sydney 2014 | Moving to the Cloud. What does it Mean to your BusinessAWS Summit Sydney 2014 | Moving to the Cloud. What does it Mean to your Business
AWS Summit Sydney 2014 | Moving to the Cloud. What does it Mean to your Business
 
AWS Summit Auckland 2014 | Moving to the Cloud. What does it Mean to your Bus...
AWS Summit Auckland 2014 | Moving to the Cloud. What does it Mean to your Bus...AWS Summit Auckland 2014 | Moving to the Cloud. What does it Mean to your Bus...
AWS Summit Auckland 2014 | Moving to the Cloud. What does it Mean to your Bus...
 
Scaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million UsersScaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million Users
 
AWS Cost Optimization
AWS Cost OptimizationAWS Cost Optimization
AWS Cost Optimization
 
Cloud Economics, from Genesis to Scale
Cloud Economics, from Genesis to ScaleCloud Economics, from Genesis to Scale
Cloud Economics, from Genesis to Scale
 

Kürzlich hochgeladen

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 

Kürzlich hochgeladen (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

AWS Meet-up Atlanta: AWS Economics

  • 1. AWS Cost Management: Tracking, Allocating, and Optimizing Your Spend Atlanta AWS Meetup Aaron C. Newman Founder, CloudCheckr Aaron.Newman@CloudCheckr.com
  • 2. Agenda: • Overview of Costs in AWS • Going “Reserved” • Going “Spot” • Optimizing Resources • CloudCheckr • Conclusion, Resource, and Questions
  • 4. State of Cloud Computing Cost • 10 years ago – The datacenter was a (mostly) fixed cost – High cost for even the most basic data center – You paid for your peak capacity • Co-location/ISPs as an alternative – Still buying your own equipment/building for peak capacity – High margins were the norm • About 2010 Public Cloud Turns the Corner – Technology matures – Becomes the de facto for getting a startup off the ground – Amazon starts compressing the high margin IT business Over 20 price reductions in Amazon AWS by 2013 Prices continue to drop. But what is the reality of those 20 price reductions? EC2 Linux Small Instance (On-Demand Per Hour): Aug 2006 = $0.10, Nov 2009 = $0.085, May 2013 = $0.06 Extrapolate that to 2015 = somewhere between $0.035 and $0.05
  • 5. Cost is a product of usage • In old data center, cost was fixed – Once you bought the equipment, little could be done to reduce your cost. No advantage to ever scale down. • The public cloud is heavily weighted to variable costs – If you can use less, you spend less • Optimizing Resource Utilization in the Cloud matter – Computational engines – run as close to 100% as possible – Interactive components – need a cushion for peak usage • Auto scaling - important tool for optimizing cloud usage – Scale down as much as scaling up
  • 6. AWS Costs (Bytes of Data Transferred) * Price + (Size of Compute Resource) * (Price of Compute Resource) * (Number of Hours) + (Storage Used) * Price * (Time Stored) + (Transactions Processed) * Price
  • 7. Architecting Applications • In the past, architecture was typically a large, multi-threaded executable talking to a single database running on the biggest boxes you could afford. Sat idle a lot. • Moving old apps into the cloud – Can you resize your resources different times of the day? – Use load balancers or Multi AZ capabilities to resize • Important to design your apps to scale horizontally • Design you application into components – That can be added or removed dynamically
  • 9. What is Reserved? • Pay up front, get a lower variable cost • ROI – as high as 500% over 3 years, 60% savings in cost • Types of Reserved Resources Available • EC2 Instance • RDS DB Instance • ElastiCache Node • RedShift • DynamoDB • CloudFront • Types • Utilization – light, medium, heavy • Utilization <> Resource Utilization • Commitments – 1 or 3 year
  • 10. Calculating ROI on Reserved Instances
  • 11. Warnings using Reserved Instances • Need to be able to predict what you’ll use • If you design application to scale horizontally this becomes easier • Heavy Reserved Instances – even if you don’t use it you’re charge • Match reserved instances carefully! • OS Type, Availability Zone, Size (VPC vs. Classic, Tenancy only matter for guaranteed availability) • AWS console does not show you if an instance is properly mapped • Determine your highest ROI – Instances, Database, Nodes? • Consolidated Billing • Reserved Pricing is applied across AWS accounts • AWS Console does not show you how your reserved instances are applied
  • 13. What is Spot Pricing • Bidding for unused instances • Supply and demand dictates current price • Place your max bid, your instance shuts down if max bid exceeded by others • Spot is almost always cheaper • But you need to consider < 99% availability • Spot prices spike frequently • Slightly slower to spin up • Wait for spot request to be fulfilled before instance can start • More complex to manage • Using EBS/Instance store
  • 14. What Does Spot Pricing Look Like Example spot pricing: • US East, Linux, M1 Small (1 ECU): 0.007 - 0.010 • SA, Linux, M1 Small (1 ECU): 0.011 • On demand: US East = 0.06, SA = 0.08 • US East, Linux, M1 Extra Large (8 ECU): 0.055 - 0.64 • SA, Linux, M1 Extra Large (8 ECU): 0.084 • On-demand: US East = 0.48, SA = 0.64 • US East, Linux, M3 Double Extra Large (26 ECU) 0.115 • SA, Linux, M3 Double Extra Large (26 ECU) 0.185 • On-demand: US East = 1.00, SA = 1.36 Spot Pricing is typically 10-20% of On-Demand But can easily spike HIGHER than On-Demand
  • 15. Spot Strategies • Most people don’t understand spot pricing, afraid to use it • As more people understand and use it, pricing will be driven up • Very tempting but dangerous to run exclusively on Spot • From GigaOm: “A sudden spike in the price of “m2.2xlarge” servers (normally $.44/hour) drove the price briefly up to $999/hour, causing a site-wise outage.” • If you follow this strategy, use a variety of instance sizes, Availability Zones, and even regions to minimize the risk • Hybrid Reserved/Spot strategies • Run as many spot instances as possible • But maintain a base level of Reserved Instances • Switch to On-Demand if Bid Price Exceeds On-Demand Price • Switch to a different availability zone or region • This is a manually intensive strategy
  • 17. Overview • Keep track of what you are using • Find and eliminate idle instances • Find and reduce under-utilized resources • Unused EBS drives, ELB, multiple snapshots of same EBS drive • Horizontally scale • Find smallest instance type that can handle your transactions • Find your bottle necks (network, disk I/O, CPU util, memory util) • Turning off resources when they aren’t used • Turn off over the weekend, overnight • Use only what you need • E.g. don’t check multiple copies of buckets in S3
  • 18. Optimizing Instance Types • Picking the optimal Instance Type: • Comparing ECU (EC2 Compute Units) • M1 Small (1 ECU) On-Demand in US East = $0.06 ($0.06 per ECU) • M3 Double Extra Large (26 ECU) On-Demand in US East = $1.00 ($0.0385 per ECU) • Comparing the cost of Memory • M1 Small (1.7 GiB memory) On-Demand in US East = $0.06 ($0.035 per GiB) • M3 Double Extra Large (30 GiB memory) On-Demand in US East = $1.00 ($0.033 per GiB) • But you need to compare Resource Type, Pricing Type (on-demand/ spot/reserved), Region, AZ, etc… for your circumstance
  • 19. S3, Glacier, and RRS • S3 Pricing: > $0.10 cents per gigabyte (starts at 9.5c in US East) • Reduced Redundancy Storage • AWS doesn’t store as many copies of your S3 objects • Typically about 20% cheaper (US East $0.095 reduced to $0.076) • Ideal if you are storing terabytes or petabytes of songs, movies, documents that can be recovered • How much of your S3 storage can you convert to RRS? • Glacier Pricing – about 1 cent per gigabyte • Pricing difference from S3 decreases as the price goes up • Takes 3-5 hours to retrieve files, and cost to retrieve
  • 20. 4 Strategies To Optimize • Keep a close handle on what you are running in the cloud • Measure what you are spending • Calculate Return On Investment • Minimize what you don’t need
  • 22. It’s Not About the Price • Cloud Computing is not about the cost – It’s about accelerating business, moving faster • IaaS is following in SaaS footstep – SalesForce.com pioneered the movement – Hard to imagined a third-party controlling your entire customer list (one of your most valuable assets) – They proved it was secure, prudent, and effective • Still see some of the slower moving Corporate types claiming “production work loads can’t be run on the cloud” – While their competitors leveraging the cloud eat their lunch
  • 23. Resources Further reading: • “How AWS Pricing Works” – http://media.amazonwebservices.com/AWS_Pricing_Overview.pdf • AWS Service Pricing Overview – http://aws.amazon.com/pricing/ • CloudCheckr Whitepaper Cost Series – http://www.cloudcheckr.com/whitepapers • AWS Simple Monthly Calculator – http://calculator.s3.amazonaws.com/calc5.html
  • 24. Questions? Questions on: • Cloud Computing • Resource Utilization • Optimizing Your Costs • CloudCheckr
  • 25. Thank You for Attending Get your FREEMIUM account to check your public cloud at www.cloudcheckr.com Aaron Newman is the Founder of CloudCheckr (www.cloudcheckr.com) Please contact me with additional questions at: aaron.newman@cloudcheckr.com