1. The Costs of Cloud Computing
Joe Drumgoole
http://twitter.com/jdrumgoole
http://twitter.com/jdrumgoole 1
2. Real World Example : PutPlace
• Launched in 2008
• Fully hosted in Amazon AWS
• Ported from Dedicated Hosting
• Full Break down of all Costs
• This is real data – Warts and All
• This is an IaaS Example
http://twitter.com/jdrumgoole 2
4. Core Services
• S3 : Storage
– Blob Storage
– Read and write up to 5GB files
– Rest API/SOAP API
– POSIX semantics via EBS
• EC2 : Compute
– Virtual Instances
– Several Sizes
– Local storage is volatile
– Reserved Instances
http://twitter.com/jdrumgoole 4
5. Core Costs
• Resources
– Running Compute instances
– Stored Data
• Bandwidth
– Data in and out of Amazon
– Data between different Amazon regions
• Transactions
– Reads and Writes to S3
http://twitter.com/jdrumgoole 5
6. Compute Costs 2008 (USD)
Size Memory
(GB)
CPU Disk
(GB)
Per
Hour
Per
Month
(30)
Per Year
(365)
Small 1.72 1 160 0.085 61.20 744.60
Large 7.5 4 850 0.34 244.80 2978.40
xLarge 15 8 1690 0.68 489.60 5956.80
http://twitter.com/jdrumgoole 6
7. Compute Costs 2010 (USD)
Size Memory
(GB)
CPU Disk
(GB)
Per
Hour
Per
Month
(30)
Per Year
(365)
Micro 0.6 1 160 0.02 14.40 172.80
Small 1.72 1 160 0.085 61.20 744.60
Large 7.5 4 850 0.34 244.80 2978.40
xLarge 15 8 1690 0.68 489.60 5956.80
http://twitter.com/jdrumgoole 7
8. Storage Costs
$0.15 per GB Month in 2008
$0.14 per GB Month in 2010
$0.055 per GB for 5PB or more
http://twitter.com/jdrumgoole 8
16. Dedicated Hosting Costs
• Co-Located Servers
– $16,000 (including local disk + B/W)
• But:
– Long lead times for additional servers
– 1 year leases
– No durable storage
http://twitter.com/jdrumgoole 16
17. What would I do Today
• Same architecture
• Use a POSIX distributed file system on nodes
• Start will less redundancy
• Work will more smaller instances
• Look at Google App Engine for Web Pages/API
• Use MySQL rather than Postgres
• Worry less about scaling
http://twitter.com/jdrumgoole 17
18. What you should learn
• The mantra
– Compute
– Storage
– Bandwidth
– Transactions
• Know your costs, check your bills
• Code errors will now cost real money
http://twitter.com/jdrumgoole 18