Amazon.com Pricing

download Amazon.com Pricing

of 36

Transcript of Amazon.com Pricing

  • 8/14/2019 Amazon.com Pricing

    1/36

    Amazon Web Services:Building Highly Scalable Web Applications

    Institutional Web Management Workshop

    July 2007

    Jeff Barr

    Senior Web Services Evangelist

    [email protected]

  • 8/14/2019 Amazon.com Pricing

    2/36

    Today

    Introduction

    Amazon Web Services overview

    Amazon EC2

    Amazon S3

    Amazon SQS

    Application Architecture

    Questions

  • 8/14/2019 Amazon.com Pricing

    3/36

    Who am I?

    Software development background

    5 Years with Amazon:

    Senior Developer

    Web Services Evangelist

    Senior Web Services Evangelist

    Veteran of several startups

    Microsoft .Net TeamVisix Software co-founder

  • 8/14/2019 Amazon.com Pricing

    4/36

    Amazon?

    Consumers (Buy)

    Associates, Sellers & Merchants (Sell)

    Developers (Innovate)

  • 8/14/2019 Amazon.com Pricing

    5/36

    Issues Facing Developers

    70% of Web Development Effort is Muck:

    Data Centers

    Bandwidth / Power / Cooling

    OperationsStaffing

    Scaling is Difficult and Expensive:

    Large Up-Front Investment

    Invest Ahead of Demand

    Load is Unpredictable

  • 8/14/2019 Amazon.com Pricing

    6/36

    Dream or Nightmare?

    Slashdot/Digg/TechCrunch Effect

    Rapid, unexpected customer demand/growth

  • 8/14/2019 Amazon.com Pricing

    7/36

    Seasonal Spikes

  • 8/14/2019 Amazon.com Pricing

    8/36

    More Seasonal Spikes

    Every year, we take the busiest minute of the

    busiest hour of the busiest day and build

    capacity on that, we built our systems to

    (handle that load) and we went above andbeyond that. *

    -- Scott Gulbransen

    Intuit Spokesman

    * http://news.com.com/2100-1038_3-6177341.html

    http://news.com.com/2100-1038_3-6177341.htmlhttp://news.com.com/2100-1038_3-6177341.html
  • 8/14/2019 Amazon.com Pricing

    9/36

    Solution: Web-Scale Computing

    Scale capacity on demand

    Turn fixed costs into variable costs

    Always available

    Rock-solid reliability

    Simple APIs and conceptual models

    Cost-effective

    Reduced time to market

    Focus on product & core competencies

  • 8/14/2019 Amazon.com Pricing

    10/36

    10

    Amazon Web Services Are...

    A set of APIs and business models which give

    developer-level access to Amazons infrastructure

    and content:

    Data As A ServiceAmazon E-Commerce Service

    Amazon Historical Pricing

    Search As A ServiceAlexa Web Information Service

    Alexa Top Sites

    Alexa Site Thumbnail

    Alexa Web Search Platform

    Infrastructure As A ServiceAmazon Simple Queue Service

    Amazon Simple Storage Service

    Amazon Elastic Compute Cloud

    People As A ServiceAmazon Mechanical Turk

  • 8/14/2019 Amazon.com Pricing

    11/36

    The Commercial Side

    Standard licensing terms

    Commercially usable

    Aggressive pricing

    Monthly credit card billingSelf-serve model:

    Sign up as developer

    Choose services

    Agree to service licensesEnter payment info

    Start coding

  • 8/14/2019 Amazon.com Pricing

    12/36

    Web Services Billing

  • 8/14/2019 Amazon.com Pricing

    13/36

    Infrastructure Services

    Compute

    Store Message

    Elastic ComputeCloud

    Simple StorageService

    Simple QueueService

  • 8/14/2019 Amazon.com Pricing

    14/36

    Amazon Simple Storage Service

    S3

  • 8/14/2019 Amazon.com Pricing

    15/36

    Amazon Simple Storage ServiceAmazon Simple Storage Service

    $.15 perGB per

    monthstorage

    Object-Based

    Storage 1 B 5 GB / object Fast, Reliable,Scalable Redundant,Dispersed 99.99% Availability

    Goal Private or Public Per-object URLs &

    ACLs

    $.10 - $.18per GB data

    transfer

    $.01 for 1000to 10000requests

  • 8/14/2019 Amazon.com Pricing

    16/36

    Amazon S3 Concepts

    Objects:Opaque data to be stored (1 byte 5 Gigabytes)Authentication and access controls

    Buckets:

    Object container any number of objects100 buckets per account / buckets are owned

    Keys:Unique object identifier within bucketUp to 1024 bytes long

    Flat object storage model

    Standards-Based Interfaces:REST and SOAPURL-Addressability every object has a URL

  • 8/14/2019 Amazon.com Pricing

    17/36

    S3 SOAP/Query APIService:

    ListAllMyBuckets

    Buckets:CreateBucket

    DeleteBucket

    ListBucket

    GetBucketAccessControlPolicy

    SetBucketAccessControlPolicy

    GetBucketLoggingStatus

    SetBucketLoggingStatus

    Objects:PutObject

    PutObjectInlineGetObject

    GetObjectExtended

    DeleteObject

    GetObjectAccessControlPolicy

    SetObjectAccessControlPolicy

  • 8/14/2019 Amazon.com Pricing

    18/36

  • 8/14/2019 Amazon.com Pricing

    19/36

  • 8/14/2019 Amazon.com Pricing

    20/36

    Amazon Simple Queue Service

    SQS

  • 8/14/2019 Amazon.com Pricing

    21/36

    Amazon Simple Queue ServiceAmazon Simple Queue Service

    $.10 per1000

    messages

    Scalable Queuing Elastic Capacity Reliable, Simple,Secure

    Inter-process messaging,

    data buffering, architecturecomponent

    $.10 - $.18

    per GB datatransfer

  • 8/14/2019 Amazon.com Pricing

    22/36

    Amazon SQS Concepts

    Queues:Named message containerPersistent

    Messages:Up to 256KB of data per messagePeek / Lock access model

    Scalable:Unlimited number of queues per accountUnlimited number of messages per queue

  • 8/14/2019 Amazon.com Pricing

    23/36

    Amazon SQS At Work

  • 8/14/2019 Amazon.com Pricing

    24/36

    SQS SOAP/Query APIQueues:

    ListQueuesDeleteQueue

    SetVisibilityTimeout

    GetVisibilityTimeout

    Messages:

    SendMessageReceiveMessage

    DeleteMessage

    PeekMessage

    Security:AddGrant

    ListGrants

    RemoveGrant

  • 8/14/2019 Amazon.com Pricing

    25/36

    Amazon Elastic Compute Cloud

    EC2

  • 8/14/2019 Amazon.com Pricing

    26/36

    Amazon Elastic Compute CloudAmazon Elastic Compute Cloud

    $.10 perserver

    hour

    Virtual ComputeCloud Elastic Capacity 1.7 GHz x86

    1.7 GB RAM 160 GB Disk 250 MB/SecondNetwork

    Network SecurityModel

    Time or Traffic-based Scaling,Load testing, Simulation and

    Analysis, Rendering, Software as

    $.10 - $.18per GB data

    transfer

  • 8/14/2019 Amazon.com Pricing

    27/36

    Amazon EC2 Concepts

    Amazon Machine Image (AMI):Bootable root diskPre-defined or user-builtCatalog of user-built AMIsOS: Fedora, Centos, Gentoo, Debian,Ubuntu, Windows Server

    App Stack: LAMP, mpiBLAST, Hadoop

    Instance:Running copy of an AMILaunch in less than 2 minutesStart/stop programmatically

    Network Security Model:Explicit access controlSecurity groups

    Inter-service bandwidth is free

  • 8/14/2019 Amazon.com Pricing

    28/36

  • 8/14/2019 Amazon.com Pricing

    29/36

    Amazon EC2 At Work

    StartupsCruxy Media transcoding

    GigaVox Media Podcast Management

    Fortune 500 clients:

    High-Impact, S hort-Term Projects

    Development Host

    Science / Research:

    Hadoop / MapReduce

    mpiBLAST

    Load-Management and Load Balancing Tools:

    Pound

    Weogeo

    Rightscale

  • 8/14/2019 Amazon.com Pricing

    30/36

    EC2 SOAP/Query API

    Images:RegisterImage

    DescribeImages

    DeregisterImage

    Instances:RunInstances

    DescribeInstances

    TerminateInstances

    GetConsoleOutput

    RebootInstances

    Keypairs:

    CreateKeyPairDescribeKeyPairs

    DeleteKeyPair

    Image Attributes:ModifyImageAttribute

    DescribeImageAttribute

    ResetImageAttribute

    Security Groups:CreateSecurityGroup

    DescribeSecurityGroups

    DeleteSecurityGroup

    AuthorizeSecurityGroupIngress

    RevokeSecurityGroupIngress

  • 8/14/2019 Amazon.com Pricing

    31/36

  • 8/14/2019 Amazon.com Pricing

    32/36

    Sample Web-Scale Architecture

    GigaVox Media

  • 8/14/2019 Amazon.com Pricing

    33/36

    Web-Scale Architecture

  • 8/14/2019 Amazon.com Pricing

    34/36

    GigaVox Economics

    Implemented Amazon S3, Amazon EC2 and

    Amazon SQS in November 2006

    Created an infinitely scalable

    infrastructurefor less than $100 - buildingthe same infrastructure themselves would

    have cost thousands of dollars

    Reduced staffing requirements - far lessresponsibility for 24x7 operations

  • 8/14/2019 Amazon.com Pricing

    35/36

    Q & A

  • 8/14/2019 Amazon.com Pricing

    36/36

    Thank You!

    PointersPortal

    http://aws.amazon.com

    Blog

    http://aws.typepad.com

    EC2

    http://aws.amazon.com/ec2

    S3

    http://aws.amazon.com/s3

    Resource Center

    http://aws.amazon.com/resources

    Forums

    http://aws amazon com/forums

    Jeff BarrSenior Web Services Evangelist

    [email protected]

    http://aws.amazon.com/http://aws.typepad.com/http://aws.amazon.com/ec2http://aws.amazon.com/s3http://aws.amazon.com/resourceshttp://aws.amazon.com/forumsmailto:[email protected]:[email protected]://aws.amazon.com/forumshttp://aws.amazon.com/resourceshttp://aws.amazon.com/s3http://aws.amazon.com/ec2http://aws.typepad.com/http://aws.typepad.com/http://aws.amazon.com/