Upload
symposia-media
View
1.153
Download
0
Embed Size (px)
Citation preview
AWS: Pricing and BillingAWS User Group Treffen 01/11
Ralph Rebske
Agenda
• Pricing and Billing: Basics• Instance Types, Regions• Traffic• S3 Storage• EBS• Calculations• Billing• Best Practices
Pricing & Billing: Basics
• Metrics– Hourly Based (Instances)– Volume Based (Transfer)– Volume and Time Based (Storage)– Count Based (Requests, IO‐Rates, IP‐Remaps)
Instance Types
• Various Instance Types (S3‐/EBS‐backed)– Standard: Small (32), Large, Extra Large– Micro: 32/64– High‐Memory: Extra Large, Double XL, QXL– High‐CPU: Medium (32), Extra Large– Cluster Compute: Quadruple Extra Large– Cluster GPU: Quadruple Extra Large
• Three Ways to Run an Instance– On‐Demand– Reserved (1 year / 3 years)– Spot
Regions
• Various Regions– US
• US East (Virginia)• US West (California)
– EU West (Ireland)– AP (Singapore)
Traffic EC2
• Within an Availability Zone: $0.00(Free) when using private IP addresses,$0.01 otherwise
• Regional Data Transfer: $0.01• In and Out of EC2: $0.08 … $0.19/GB
S3
• Storage ($0.055…0.154 per GB/month)• Reduced Redundancy Storage($0.037 … 0.103 per GB/month)
• Transfer– In ($0.100 per GB)– Out ($0.080…0.190) per GB
• Requests– PUT, COPY, POST, LIST: ($0.01/0.011 per 1.000 req)– GET ($0.01/0.011 per 10.000 req)
Elastic Block Storage
• Metrics EBS– GB/month of provisioned storage ($0.10/0.11)– Millions of I/O requests ($0.10/0.11 per 1 mil.)
• Metrics EBS S3 (Snapshots)– GB/month of data stored ($0.15/0.18)– PUT requests (saving) ($0.01/0.012) per 1.000 req.– GET requests (loading) ($0.01/0.012) per 10.000 req.
Calculate
• Use the AWS Simple Monthly Calculator in order to „guess“ costs
• Compare Results of Calculator to MonthlyStatement
Billing
Consolidated Billing (1)
Consolidated Billing (2)
Consolidated Billing (3)
• Advantages– Simplifies per Client Billing– Common use of Reserved Instances– Accounts are combinedMore likely to qualifyfor volume discounts
– Fewer Restrictions (IP‐Addresses)
• Disadvantages– Sharing of resources gets more complicated
Best Practices
• AWS Monthly Calculator• Choosing the right Instance Type
– 32/64 Bit (Upgrade / Downgrade)– On‐Demand / Reserved / Spot
• Choosing the right Location• Choosing the right Storage (S3/EBS)• Periodic Review
Reserved‐ vs. On‐Demand‐Instances
On‐Demand‐Instance Reserved Instance, 1yr Reserved Instance, 3yr
Price, US$
Hours used
Sample: High‐CPU Instance, Medium ( EU‐Region, On‐Demand: $0.19/h, Reserved: $0.08, 1yr: $455, 3yr: $700
Thougts on Instance‐Types
• Make sure your application scales• Benchmark Phoronix
m1.small: $0.085 per hour per EC2 Compute Unitm1.large: $0.085 per hour per EC2 Compute Unitm1.xlarge: $0.085 per hour per EC2 Compute Unitm2.xlarge: $0.076 per hour per EC2 Compute Unitm2.2xlarge: $0.076 per hour per EC2 Compute Unitm2.4xlarge: $0.076 per hour per EC2 Compute Unitc1.medium: $0.034 per hour per EC2 Compute Unitc1.xlarge: $0.034 per hour per EC2 Compute Unit
• Watch your Activity Report
Thank you!