SlideShare ist ein Scribd-Unternehmen logo
1 von 33
NYC Cloud Computing Group
AWS Economics:
Learn how to efficiently optimize your
resource utilization and control your costs
Aaron C. Newman
CEO/Founder, CloudCheckr
Aaron.Newman@CloudCheckr.com
Agenda:
• Overview of Costs in AWS
• Going “Reserved”
• Going “Spot”
• Optimizing Resources
• Economic Denial of Sustainability
• 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
Cloud 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
• S3 Reserved Storage (for GovCloud)
• Types
• Utilization – light, medium, heavy
• Commitments – 1 or 3 year
Calculating ROI on Reserved Instances
Picking Type of 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 tools do 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 Tools do 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
This morning 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
• 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 – about 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 up to 4 hours to retrieve files, and cost to retrieve
S3, Glacier, and RRS
• S3 Pricing – about 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 up to 4 hours to retrieve files, and cost to retrieve
Economic Denial of
Sustainability Attacks
EDoS Attacks
• Variation of Distributed Denial of Service Attack
– Goal is not to overload and crash an application
– Instead to cause the server hosting costs to overwhelm
the victim’s budget
“the infrastructure allows scaling of service
beyond the economic means of the vendor
to pay their cloud-based service bills”
-http://rationalsecurity.typepad.com
Worst Case Scenario – AWS CloudFront
• http://www.reviewmylife.co.uk/blog/2011/05/19/a
mazon-cloudfront-and-s3-maximum-cost/
• Author calculated maximum possible charge
– Used default limit of 1000 requests per second and
1000 megabits per second
– At the end of 30 days a maximum of 324TB of data
could have been downloaded (theoretically)
– $42,000 per month for a single edge location
– CloudFront has 30 edge locations
Stories and Lessons Learned
• Anecdotal user experience
– Personal website hacked by file sharers
– Received bill for $10,000
• Note: AWS only charges for data out
– All data transfer in is at $0.000 per GB
– Mitigates costs – if you don’t respond to requests, doesn’t cost
you anything
• Use pre-paid credit cards or credit card with appropriate
credit limit
– Not sure if this limits your liability legally
Solutions?
• Amazon limits/caps have been “in the works”
since 2006
– Each year Amazon talks about intention of releasing
the feature
• May 2012 – Amazon announces Billing Alerts
– http://aws.amazon.com/about-aws/whats-
new/2012/05/10/announcing-aws-billing-alerts/
– Helps alert you when this starts happening to you
– Could still be a costly few hours
Misconfigured Security Settings
• Scanning Amazon S3 to identify publicly
accessible buckets
– http://cloudcheckr.com/2012/05/aws-s3-buckets-
bucket-finder/
• Open source tool – Bucket Finder
– script launches a dictionary attack on the names of
S3 buckets and interrogates the bucket for a list of
public and private files
– Searching out EDoS
Resources, Conclusion,
and Questions
5 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
• Protect yourself from EDoS
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?

(STG406) Using S3 to Build and Scale an Unlimited Storage Service
(STG406) Using S3 to Build and Scale an Unlimited Storage Service(STG406) Using S3 to Build and Scale an Unlimited Storage Service
(STG406) Using S3 to Build and Scale an Unlimited Storage ServiceAmazon Web Services
 
(STG203) Simplified Storage Management & Backup Using S3 & Glacier
(STG203) Simplified Storage Management & Backup Using S3 & Glacier(STG203) Simplified Storage Management & Backup Using S3 & Glacier
(STG203) Simplified Storage Management & Backup Using S3 & GlacierAmazon Web Services
 
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
 
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
 
Stream Processing in SmartNews #jawsdays
Stream Processing in SmartNews #jawsdaysStream Processing in SmartNews #jawsdays
Stream Processing in SmartNews #jawsdaysSmartNews, Inc.
 
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
 
Big data and Analytics on AWS
Big data and Analytics on AWSBig data and Analytics on AWS
Big data and Analytics on AWS2nd Watch
 
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 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
 
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
 
Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency
Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum EfficiencyDeploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency
Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum EfficiencyAmazon 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
 
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
 
(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
 
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
 
Backup to the Cloud
Backup to the CloudBackup to the Cloud
Backup to the Cloud2nd Watch
 

Was ist angesagt? (20)

(STG406) Using S3 to Build and Scale an Unlimited Storage Service
(STG406) Using S3 to Build and Scale an Unlimited Storage Service(STG406) Using S3 to Build and Scale an Unlimited Storage Service
(STG406) Using S3 to Build and Scale an Unlimited Storage Service
 
(STG203) Simplified Storage Management & Backup Using S3 & Glacier
(STG203) Simplified Storage Management & Backup Using S3 & Glacier(STG203) Simplified Storage Management & Backup Using S3 & Glacier
(STG203) Simplified Storage Management & Backup Using S3 & Glacier
 
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
 
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
 
Stream Processing in SmartNews #jawsdays
Stream Processing in SmartNews #jawsdaysStream Processing in SmartNews #jawsdays
Stream Processing in SmartNews #jawsdays
 
SEC301 Security @ (Cloud) Scale
SEC301 Security @ (Cloud) ScaleSEC301 Security @ (Cloud) Scale
SEC301 Security @ (Cloud) Scale
 
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)...
 
Big data and Analytics on AWS
Big data and Analytics on AWSBig data and Analytics on AWS
Big data and Analytics on AWS
 
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 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
 
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
 
Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency
Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum EfficiencyDeploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency
Deploying a Disaster Recovery Site on AWS: Minimal Cost with Maximum Efficiency
 
Introduction to Amazon EC2
Introduction to Amazon EC2Introduction to Amazon EC2
Introduction to Amazon EC2
 
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
 
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
 
(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
 
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...
 
Backup to the Cloud
Backup to the CloudBackup to the Cloud
Backup to the Cloud
 

Ähnlich wie Optimizing AWS Economics

Aws atlanta march_2015
Aws atlanta march_2015Aws atlanta march_2015
Aws atlanta march_2015Adam Book
 
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
 
Ralph Rebske: AWS Pricing and Billing
Ralph Rebske: AWS Pricing and BillingRalph Rebske: AWS Pricing and Billing
Ralph Rebske: AWS Pricing and BillingSymposia Media
 
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
 
AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)
AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)
AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)Amazon Web Services
 
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
 
cse40822-amazon.pptx
cse40822-amazon.pptxcse40822-amazon.pptx
cse40822-amazon.pptxprathamgunj
 
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 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
 
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
 
Deep Dive: Scaling Up to Your First 10 Million Users
Deep Dive: Scaling Up to Your First 10 Million UsersDeep Dive: Scaling Up to Your First 10 Million Users
Deep Dive: Scaling Up to Your First 10 Million UsersAmazon Web Services
 
(BDT307) Zero Infrastructure, Real-Time Data Collection, and Analytics
(BDT307) Zero Infrastructure, Real-Time Data Collection, and Analytics(BDT307) Zero Infrastructure, Real-Time Data Collection, and Analytics
(BDT307) Zero Infrastructure, Real-Time Data Collection, and AnalyticsAmazon Web Services
 
Amazon Web Services - Relational Database Service Meetup
Amazon Web Services - Relational Database Service MeetupAmazon Web Services - Relational Database Service Meetup
Amazon Web Services - Relational Database Service Meetupcyrilkhairallah
 
(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
 
T1 – Architecting highly available applications on aws
T1 – Architecting highly available applications on awsT1 – Architecting highly available applications on aws
T1 – Architecting highly available applications on awsAmazon Web Services
 
AWS Cost Optimization Strategy
AWS Cost Optimization StrategyAWS Cost Optimization Strategy
AWS Cost Optimization StrategyRobert Sell
 
Improve your TCO and Optimise your Cloud Spend
Improve your TCO and Optimise your Cloud SpendImprove your TCO and Optimise your Cloud Spend
Improve your TCO and Optimise your Cloud SpendAmazon Web Services
 
AWS Summit London 2014 | Optimising TCO for the AWS Cloud (100)
AWS Summit London 2014 | Optimising TCO for the AWS Cloud (100)AWS Summit London 2014 | Optimising TCO for the AWS Cloud (100)
AWS Summit London 2014 | Optimising TCO for the AWS Cloud (100)Amazon Web Services
 

Ähnlich wie Optimizing AWS Economics (20)

Aws atlanta march_2015
Aws atlanta march_2015Aws atlanta march_2015
Aws atlanta march_2015
 
Cost Optimisation on AWS
Cost Optimisation on AWSCost Optimisation on AWS
Cost Optimisation on AWS
 
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
 
Ralph Rebske: AWS Pricing and Billing
Ralph Rebske: AWS Pricing and BillingRalph Rebske: AWS Pricing and Billing
Ralph Rebske: AWS Pricing and Billing
 
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 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
 
AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)
AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)
AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)
 
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
 
cse40822-amazon.pptx
cse40822-amazon.pptxcse40822-amazon.pptx
cse40822-amazon.pptx
 
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 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
 
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
 
Deep Dive: Scaling Up to Your First 10 Million Users
Deep Dive: Scaling Up to Your First 10 Million UsersDeep Dive: Scaling Up to Your First 10 Million Users
Deep Dive: Scaling Up to Your First 10 Million Users
 
(BDT307) Zero Infrastructure, Real-Time Data Collection, and Analytics
(BDT307) Zero Infrastructure, Real-Time Data Collection, and Analytics(BDT307) Zero Infrastructure, Real-Time Data Collection, and Analytics
(BDT307) Zero Infrastructure, Real-Time Data Collection, and Analytics
 
Amazon Web Services - Relational Database Service Meetup
Amazon Web Services - Relational Database Service MeetupAmazon Web Services - Relational Database Service Meetup
Amazon Web Services - Relational Database Service Meetup
 
(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
 
T1 – Architecting highly available applications on aws
T1 – Architecting highly available applications on awsT1 – Architecting highly available applications on aws
T1 – Architecting highly available applications on aws
 
AWS Cost Optimization Strategy
AWS Cost Optimization StrategyAWS Cost Optimization Strategy
AWS Cost Optimization Strategy
 
Improve your TCO and Optimise your Cloud Spend
Improve your TCO and Optimise your Cloud SpendImprove your TCO and Optimise your Cloud Spend
Improve your TCO and Optimise your Cloud Spend
 
AWS Summit London 2014 | Optimising TCO for the AWS Cloud (100)
AWS Summit London 2014 | Optimising TCO for the AWS Cloud (100)AWS Summit London 2014 | Optimising TCO for the AWS Cloud (100)
AWS Summit London 2014 | Optimising TCO for the AWS Cloud (100)
 

Kürzlich hochgeladen

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
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
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
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
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
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
 
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
 
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
 
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
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
[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
 

Kürzlich hochgeladen (20)

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
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...
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
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
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
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...
 
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
 
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
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
[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
 

Optimizing AWS Economics

  • 1. NYC Cloud Computing Group AWS Economics: Learn how to efficiently optimize your resource utilization and control your costs Aaron C. Newman CEO/Founder, CloudCheckr Aaron.Newman@CloudCheckr.com
  • 2. Agenda: • Overview of Costs in AWS • Going “Reserved” • Going “Spot” • Optimizing Resources • Economic Denial of Sustainability • 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. Cloud 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 • S3 Reserved Storage (for GovCloud) • Types • Utilization – light, medium, heavy • Commitments – 1 or 3 year
  • 10. Calculating ROI on Reserved Instances
  • 11. Picking Type of Reserved Instances
  • 12. 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 tools do 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 Tools do not show you how your reserved instances are applied
  • 14. 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
  • 15. What Does Spot Pricing Look Like This morning 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
  • 16. 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 • This is a manually intensive strategy
  • 18. 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
  • 19. 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
  • 20. S3, Glacier, and RRS • S3 Pricing – about 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 up to 4 hours to retrieve files, and cost to retrieve
  • 21. S3, Glacier, and RRS • S3 Pricing – about 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 up to 4 hours to retrieve files, and cost to retrieve
  • 23. EDoS Attacks • Variation of Distributed Denial of Service Attack – Goal is not to overload and crash an application – Instead to cause the server hosting costs to overwhelm the victim’s budget “the infrastructure allows scaling of service beyond the economic means of the vendor to pay their cloud-based service bills” -http://rationalsecurity.typepad.com
  • 24. Worst Case Scenario – AWS CloudFront • http://www.reviewmylife.co.uk/blog/2011/05/19/a mazon-cloudfront-and-s3-maximum-cost/ • Author calculated maximum possible charge – Used default limit of 1000 requests per second and 1000 megabits per second – At the end of 30 days a maximum of 324TB of data could have been downloaded (theoretically) – $42,000 per month for a single edge location – CloudFront has 30 edge locations
  • 25. Stories and Lessons Learned • Anecdotal user experience – Personal website hacked by file sharers – Received bill for $10,000 • Note: AWS only charges for data out – All data transfer in is at $0.000 per GB – Mitigates costs – if you don’t respond to requests, doesn’t cost you anything • Use pre-paid credit cards or credit card with appropriate credit limit – Not sure if this limits your liability legally
  • 26. Solutions? • Amazon limits/caps have been “in the works” since 2006 – Each year Amazon talks about intention of releasing the feature • May 2012 – Amazon announces Billing Alerts – http://aws.amazon.com/about-aws/whats- new/2012/05/10/announcing-aws-billing-alerts/ – Helps alert you when this starts happening to you – Could still be a costly few hours
  • 27. Misconfigured Security Settings • Scanning Amazon S3 to identify publicly accessible buckets – http://cloudcheckr.com/2012/05/aws-s3-buckets- bucket-finder/ • Open source tool – Bucket Finder – script launches a dictionary attack on the names of S3 buckets and interrogates the bucket for a list of public and private files – Searching out EDoS
  • 29. 5 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 • Protect yourself from EDoS
  • 30. 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
  • 31. 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
  • 32. Questions? Questions on: • Cloud Computing • Resource Utilization • Optimizing Your Costs • CloudCheckr
  • 33. 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