17
AWS: Pricing and Billing AWS User Group Treffen 01/11 Ralph Rebske

Ralph Rebske: AWS Pricing and Billing

Embed Size (px)

Citation preview

Page 1: Ralph Rebske: AWS Pricing and Billing

AWS: Pricing and BillingAWS User Group Treffen 01/11

Ralph Rebske

Page 2: Ralph Rebske: AWS Pricing and Billing

Agenda

• Pricing and Billing: Basics• Instance Types, Regions• Traffic• S3 Storage• EBS• Calculations• Billing• Best Practices

Page 3: Ralph Rebske: AWS Pricing and Billing

Pricing & Billing: Basics

• Metrics– Hourly Based (Instances)– Volume Based (Transfer)– Volume and Time Based (Storage)– Count Based (Requests, IO‐Rates, IP‐Remaps)

Page 4: Ralph Rebske: AWS Pricing and Billing

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

Page 5: Ralph Rebske: AWS Pricing and Billing

Regions

• Various Regions– US

• US East (Virginia)• US West (California)

– EU West (Ireland)– AP (Singapore)

Page 6: Ralph Rebske: AWS Pricing and Billing

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

Page 7: Ralph Rebske: AWS Pricing and Billing

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)

Page 8: Ralph Rebske: AWS Pricing and Billing

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.

Page 9: Ralph Rebske: AWS Pricing and Billing

Calculate

• Use the AWS Simple Monthly Calculator in order to „guess“ costs

• Compare Results of Calculator to MonthlyStatement

Page 10: Ralph Rebske: AWS Pricing and Billing

Billing

Page 11: Ralph Rebske: AWS Pricing and Billing

Consolidated Billing (1)

Page 12: Ralph Rebske: AWS Pricing and Billing

Consolidated Billing (2)

Page 13: Ralph Rebske: AWS Pricing and Billing

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

Page 14: Ralph Rebske: AWS Pricing and Billing

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

Page 15: Ralph Rebske: AWS Pricing and Billing

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

Page 16: Ralph Rebske: AWS Pricing and Billing

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

Page 17: Ralph Rebske: AWS Pricing and Billing

Thank you!