SlideShare ist ein Scribd-Unternehmen logo
1 von 43
Head in the Cloud
Understanding and Scaling the Cloud
            for Startups
        Managing Technology Teams Workshop


Andy Parsons | @andyparsons | andyparsons@gmail.com
Today We Will Cover
    What is “The Cloud?”
    How Does It Work?
    How Well Does It Work?
    What Your Dev Team Should Know
    How Much Does It Cost?
    Which Provider To Use? *
    If Time: Hands On Demo
What Is “The Cloud?”
“Cloud Computing is the delivery of
   computing as a service rather than a
   product, whereby shared resources,
 software, and information are provided to
computers and other devices as a utility (like
    the electricity grid) over a network.”


     (http://csrc.nist.gov/publications/nistpubs/800-145/SP800-145.pdf)
Impact to Startups

    Changed Economics
    Democratizes Entrepreneurship
    Changed VC landscape:
     Then: raise $$ to build something
     Now: build something to raise $$
Essential Aspects and Some Jargon
   Self Service On-Demand
     Provisioning without humans
     No ownership of servers
   Pooled Resources
     Multi-tenant
     Location independence
     Processing, Memory, Storage, Bandwidth, Services
   Rapid Elasticity - provision and destroy
   Measured & Metered Service
     Usage transparency
     Cost transparency * (kinda)
Service Models

    SaaS = Software As A Service
     this is Google Apps. Enough said.
    PaaS = Platform As A Service
     Drop code, watch magic
    IaaS = Infrastructure As A Service
     Building blocks only
Deployment Models
   Private Cloud
     Tenants are a single customer
     Owned or rented
     On premises or off
   Public Cloud
     Off premises
     Available to anyone
   Hybrid Cloud
     2 or more cloud infrastructure providers bound together
     OR, hybrid multi-tenant and dedicated resources
PaaS vs IaaS

                       IaaS      PaaS
  Application Code     You        You
  Runtime Platform     You      Provided
      Security         You      Provided
     Databases         You      Provided
      Servers        Provided   Provided
   Virtualization    Provided   Provided
     Hardware        Provided   Provided
      Storage        Provided   Provided
    Networking       Provided   Provided
Where is the Cloud Essential?
            Some examples:
    Web servers: scaling up and down to meet
    demand
    Offline data crunching
     Recommendation engines
     Social Graph applications
     Giant search indexing
AWS Components
   EC2 - computing
   EBS - fast-ish storage
   S3 - storage capacity
   ElastiCache
   ELB - load balancing
   CloudFront - Content Delivery Network on top of S3
   Route53 - DNS
   SNS - notification service
   SES - email services
   SQS - queueing
   Elastic MapReduce - Hadoop
   Databases
      Simple DB
      RDS
      DynamoDB
   CloudFormation - templated stacks
Cloud Timeline
         First                General
         Hypervisor:          use                                      Google
                                                   Dot com                                         FedRAMP,
         Runs on              Internet                                 docs and                               Multi-cloud,
                                                   bubble                            Microsoft     US Gov
         IBM 360              becomes                                  EC2                                    commoditization,
                                                   bursts                            Azure         Cloud
                              common                                   launch                                 market growth




  1961    1965     1969         1990     1995      2000      2002      2006       2008 2009 2010     2012

John                                                                          IBM and       Oracle
                   Intel                 AZN                AWS
McCarthy -                                                                    Google        and other
                   founded,              founded            launches
Cloud                                                                         introduce     clouds,
                   ARPANet
Computing                                                                     their IaaS    popularity
                   created
Concept                                                                                     of PaaS
How Does It Work?
Virtualization
    Hides physical details of hardware
    Lots of VMs run on a single physical
    machine
    VM’s are relocatable
Virtualization
    Software or “Full” Virtualization: software-only, can
    virtualize any hardware and unmodified OS

    Hardware-Assisted: Special capabilities built into
    processors to assist with running virtual hosts

    Paravirtualization

     uses a special “hypervisor” to expose an API to
     virtual OS

     Parallels, VMWare
Massive Scale
    Affordability comes from economies of
    scale
    Fault tolerance and soft failing of hardware
    Automated failover
    Providers have developed proprietary
    monitoring, networking, and in some cases
    virtualization
How Well Does It Work?
Really Well! Until Things Break.

    Failure of some kind is assured
    Performance Drops
    Instance Failures
    Network Outages
    EBS RAID bottlenecks
One day this email came in...
Hello,

One of your instances in the us-east-1 region is on hardware that requires network
related maintenance. Your other instances that are not listed here will not be affected.

i-3fcdb156

For the above instance, we recommend migrating to a replacement instance to avoid
any downtime. Your replacement instance would not be subject to this maintenance.

If you leave your instance running, you will lose network connectivity for up to two
hours. The maintenance will occur during a 12-hour window starting at 12:00am
PST on Monday, February 15, 2010. After the maintenance is complete, network
connectivity will be restored to your instance.

As always, we recommend keeping current backups of data stored on your instance.

Sincerely,

The Amazon EC2 Team
~ April 21, 2011 ~
~ April 21, 2011 ~
   MASSIVE AWS Service outage
   Some data loss (< 0.1%)
   Revealed details about how EBS worked at
   the time
   Catastrophic for some
   Triggered by a router upgrade!
   Replication stampede
Disk I/O: The Thorn in Your Side

    Unpredictable
    No guarantees
    Bane of Databases
    And disk-bound operations like app startup
    Monitor closely
    Build Around This (coming up)
EBS Filesystem Tests
                                     Seq. Reads   Seq. Writes     Random        Random          R/W Mix:       RW Mix:
     Filesystem         # of Disks
                                       (MB/s)       (MB/s)      Reads (MB/s)   Writes (MB/s)   Reads (MB/s)   Writes (MB/s)


        EXT3,
                            3           74.7         102.1          1.3            20.4            21.3           25.1
      64K stripe


  EXT3, 128K stripe,
                            3                                       1.6            11.3
 2MB readahead buffer


        XFS,
                            3           20.7         107.2          1.7            40.2            13.6           12.5
      64k stripe


        XFS,
                            3          102.2         106.2          1.5            87.8            41.1           24.6
     128K stripe


        XFS,
                            4          115.8         135.4          2.0            76.4            41.0           24.6
      64K stripe


        XFS,
                            4          104.8         103.1          1.8            70.8            49.3           30.3
     128K stripe


   XFS, 128K stripe,
                            4          105.0         102.8          2.0            70.1            55.1           31.5
  deadline scheduler
How Will Things Improve?

    Price drops
    SSD (already in AWS DynamoDB)
    Improvements in virtualization
    Ever more interesting PaaS offerings
    Convergence of IaaS and PaaS
What Your Dev Team
Should Know
We Don’t Need a Sys Admin!
   You probably do, actually. But not yet.
   Ops -> DevOps -> NoOps
   (Adrian Cockroft, NetFlix)
   But your SA or DevOps can do more than
   ever before.




                       David Fletcher http://cloudtweaks.com
Architecting for the Cloud

    No SPFs




    No SLAs
     Don’t depend on SLA
Architecting for the Cloud

    Figure out how things will fail. Design for
    failure.
    No fire drills. Deal with Friday failures on
    Monday.
    Make provisioning new parts trivial
    Failover
    Database Replication
Architecting for the Cloud
    Exact hardware location is decided by the
    provider
    Design to Distribute
    Stateless wherever possible
    Loosely coupled, redundant systems
    Redundant data storage
    Understand Your Dependencies!
Tools: Monitoring/Cost Management
    Ylastic
    RightScale
    Cloudability
    CloudVertical
    SensibleCloud
    Raveld
    Cloud Cruiser
How Much Does It Cost?
But wait a sec...

                       Cloud                       Hardware



              100%                                                                                      Considers cost
                                                                                                               of:
Utilization




                                                                                                        ✓Computing,
                                                                                                        ✓Storage,
              80%
                                                                                                        ✓Bandwidth,
                                                                                                        ✓Staff

              60%

                 $0K      $150K                $300K                $450K                $600K
                        Cumulative Cost Over 3 Years

                          (http://www.hightechinthehub.com/2011/09/dirty-little-secret-of-the-cloud/)
But wait a sec...

      YEAR                       PHYSICAL                                        CLOUD

       1                              $240,000                                    $196,000


       2                                $62,000                                   $196,000


       3                                $62,000                                   $196,000


     TOTAL                           $364,000                                    $588,000


           (http://www.hightechinthehub.com/2011/09/dirty-little-secret-of-the-cloud/)
Elasticity is the key

      YEAR     PHYSICAL    CLOUD

       1        $240,000    $80,000


       2         $62,000    $100,000


       3         $62,000    $120,000


     TOTAL      $364,000   $400,000

      Now we are managing costs
Price Comparisons
   The Devil is in the Details
   Billing is a Means of Differentiation
   What are you paying for?
    “Compute Units” + RAM
    Bandwidth
    Storage
    Virtualization (efficient use of metal)
Price Comparisons
              Example: Instance Types

            AWS      Rackspace Joyent   Softlayer

   Cores      1          1        1        1


   RAM      1.7 GB     1 GB      1 GB     1 GB


   Disk     160 GB     40 GB    30 GB    25 GB


  $/month    $58        $44      $62      $50


               But what’s a “core?”
EC2 Reserved Pricing
                          3-Year Run Cost:
                     35 small, 10 large instances
                    Own Hardware         On-Demand        1-Year Reserved 3-Year Reserved

      Usage                             $157,680             $75,411             $48,123
     Hardware         $20,129
   Network gear        $4,026
  Hardware Maint.     $28,986
  Datacenter Cost    $131,382
   Remote Hands        $1,014
   Data Transfer      $10,071              $6138              $6138               $6138
    TOTAL            $195,608           $163,818             $81,550             $54,263
         (http://mikekhristo.com/ec2-ondemand-vs-reserved-instance-savings-calculator/)
Keys to Controlling Costs
    Correlate Cloud sizing with application needs
    Keep things running at close to 100% utilization
    Fact: for always-on infrastructure cloud is more
    expensive than hardware
    Good metrics to consider:
     CCOGS Cloud cost of goods sold = Cloud Costs/
     Revenue
     % Utilization: Actual Utilization/Total Capacity
     HOLY GRAIL: Cloud Costs/Active User
Which Provider to Use?



                David Fletcher http://cloudtweaks.com
Guess What? It depends.
How Do Providers Distinguish Themselves?

     Affinity for a language or stack
     Pricing models
     Performance
     Add-on computing services (DNS, Load
     Balancing ...)
     Managed Services (backup, humans ...)
     SLAs
Hands On
(If there’s time)
Thanks!
Andy Parsons | @andyparsons | andyparsons@gmail.com

Weitere ähnliche Inhalte

Was ist angesagt?

vBrownBag OpenStack Networking Talk
vBrownBag OpenStack Networking TalkvBrownBag OpenStack Networking Talk
vBrownBag OpenStack Networking Talkmestery
 
Session 58 :: Cloud computing, virtualisation and the future Speaker: Ake Edlund
Session 58 :: Cloud computing, virtualisation and the future Speaker: Ake EdlundSession 58 :: Cloud computing, virtualisation and the future Speaker: Ake Edlund
Session 58 :: Cloud computing, virtualisation and the future Speaker: Ake EdlundISSGC Summer School
 
Joyent Cloud Data Sheet
Joyent Cloud Data SheetJoyent Cloud Data Sheet
Joyent Cloud Data SheetScott Herson
 
Virtualization: where it came from and where it's going
Virtualization: where it came from and where it's goingVirtualization: where it came from and where it's going
Virtualization: where it came from and where it's goingKyle Smith
 
Triangle OpenStack Meetup
Triangle OpenStack MeetupTriangle OpenStack Meetup
Triangle OpenStack Meetupmestery
 
CCitDG Presenation
CCitDG PresenationCCitDG Presenation
CCitDG PresenationDatabarracks
 
Mon1420 build clouds-oliviermaes-citrix
Mon1420 build clouds-oliviermaes-citrixMon1420 build clouds-oliviermaes-citrix
Mon1420 build clouds-oliviermaes-citrixeurocloud
 
Automating Security for the Cloud - Make it Easy, Make it Safe
Automating Security for the Cloud - Make it Easy, Make it SafeAutomating Security for the Cloud - Make it Easy, Make it Safe
Automating Security for the Cloud - Make it Easy, Make it SafeCloudPassage
 
Moving Windows Server Apps to the cloud in 3 Easy Steps
Moving Windows Server Apps to the cloud in 3 Easy StepsMoving Windows Server Apps to the cloud in 3 Easy Steps
Moving Windows Server Apps to the cloud in 3 Easy StepsAppZero
 
Presentation introduction to cloud computing and technical issues
Presentation   introduction to cloud computing and technical issuesPresentation   introduction to cloud computing and technical issues
Presentation introduction to cloud computing and technical issuesxKinAnx
 
How Enterprises are using the AWS Cloud, Dan Powers, VP, AWS
How Enterprises are using the AWS Cloud, Dan Powers, VP, AWS How Enterprises are using the AWS Cloud, Dan Powers, VP, AWS
How Enterprises are using the AWS Cloud, Dan Powers, VP, AWS Amazon Web Services
 
Hanu cloud computing expertise
Hanu cloud computing expertiseHanu cloud computing expertise
Hanu cloud computing expertiseHanu Software
 
Overview of VMware & VMware Education from IBM
Overview of VMware & VMware Education from IBMOverview of VMware & VMware Education from IBM
Overview of VMware & VMware Education from IBMctc TrainCanada
 
Delivering Secure OpenStack IaaS for SaaS Products - OpenStack 2012.pptx
Delivering Secure OpenStack IaaS for SaaS Products - OpenStack 2012.pptxDelivering Secure OpenStack IaaS for SaaS Products - OpenStack 2012.pptx
Delivering Secure OpenStack IaaS for SaaS Products - OpenStack 2012.pptxOpenStack Foundation
 

Was ist angesagt? (19)

vBrownBag OpenStack Networking Talk
vBrownBag OpenStack Networking TalkvBrownBag OpenStack Networking Talk
vBrownBag OpenStack Networking Talk
 
Session 58 :: Cloud computing, virtualisation and the future Speaker: Ake Edlund
Session 58 :: Cloud computing, virtualisation and the future Speaker: Ake EdlundSession 58 :: Cloud computing, virtualisation and the future Speaker: Ake Edlund
Session 58 :: Cloud computing, virtualisation and the future Speaker: Ake Edlund
 
Building a Hybrid Cloud
Building a Hybrid CloudBuilding a Hybrid Cloud
Building a Hybrid Cloud
 
Joyent Cloud Data Sheet
Joyent Cloud Data SheetJoyent Cloud Data Sheet
Joyent Cloud Data Sheet
 
Virtualization: where it came from and where it's going
Virtualization: where it came from and where it's goingVirtualization: where it came from and where it's going
Virtualization: where it came from and where it's going
 
Eucalyptus 3 Product Overview
Eucalyptus 3 Product OverviewEucalyptus 3 Product Overview
Eucalyptus 3 Product Overview
 
Triangle OpenStack Meetup
Triangle OpenStack MeetupTriangle OpenStack Meetup
Triangle OpenStack Meetup
 
CCitDG Presenation
CCitDG PresenationCCitDG Presenation
CCitDG Presenation
 
Mon1420 build clouds-oliviermaes-citrix
Mon1420 build clouds-oliviermaes-citrixMon1420 build clouds-oliviermaes-citrix
Mon1420 build clouds-oliviermaes-citrix
 
Shalini xs10
Shalini xs10Shalini xs10
Shalini xs10
 
Automating Security for the Cloud - Make it Easy, Make it Safe
Automating Security for the Cloud - Make it Easy, Make it SafeAutomating Security for the Cloud - Make it Easy, Make it Safe
Automating Security for the Cloud - Make it Easy, Make it Safe
 
Moving Windows Server Apps to the cloud in 3 Easy Steps
Moving Windows Server Apps to the cloud in 3 Easy StepsMoving Windows Server Apps to the cloud in 3 Easy Steps
Moving Windows Server Apps to the cloud in 3 Easy Steps
 
Eucalyptus 3 Product Overview
Eucalyptus 3 Product OverviewEucalyptus 3 Product Overview
Eucalyptus 3 Product Overview
 
Presentation introduction to cloud computing and technical issues
Presentation   introduction to cloud computing and technical issuesPresentation   introduction to cloud computing and technical issues
Presentation introduction to cloud computing and technical issues
 
How Enterprises are using the AWS Cloud, Dan Powers, VP, AWS
How Enterprises are using the AWS Cloud, Dan Powers, VP, AWS How Enterprises are using the AWS Cloud, Dan Powers, VP, AWS
How Enterprises are using the AWS Cloud, Dan Powers, VP, AWS
 
Hanu cloud computing expertise
Hanu cloud computing expertiseHanu cloud computing expertise
Hanu cloud computing expertise
 
Cloud Foundry et le Cloud vu par VMware
Cloud Foundry et le Cloud vu par VMwareCloud Foundry et le Cloud vu par VMware
Cloud Foundry et le Cloud vu par VMware
 
Overview of VMware & VMware Education from IBM
Overview of VMware & VMware Education from IBMOverview of VMware & VMware Education from IBM
Overview of VMware & VMware Education from IBM
 
Delivering Secure OpenStack IaaS for SaaS Products - OpenStack 2012.pptx
Delivering Secure OpenStack IaaS for SaaS Products - OpenStack 2012.pptxDelivering Secure OpenStack IaaS for SaaS Products - OpenStack 2012.pptx
Delivering Secure OpenStack IaaS for SaaS Products - OpenStack 2012.pptx
 

Ähnlich wie Ga cloud scaling 3 30-2012

Amazon Ec2 Application Design
Amazon Ec2 Application DesignAmazon Ec2 Application Design
Amazon Ec2 Application Designguestd0b61e
 
O'Reilly Webcast: Architecting Applications For The Cloud
O'Reilly Webcast: Architecting Applications For The CloudO'Reilly Webcast: Architecting Applications For The Cloud
O'Reilly Webcast: Architecting Applications For The CloudO'Reilly Media
 
Virtualization Techniques & Cloud Compting
Virtualization Techniques & Cloud ComptingVirtualization Techniques & Cloud Compting
Virtualization Techniques & Cloud ComptingAhmed Mekkawy
 
Netflix keynote-adrian-qcon
Netflix keynote-adrian-qconNetflix keynote-adrian-qcon
Netflix keynote-adrian-qconYiwei Ma
 
Overview of Cloud Computing
Overview of Cloud ComputingOverview of Cloud Computing
Overview of Cloud ComputingJim Kaskade
 
OpenStack Boston User Group, OpenStack overview
OpenStack Boston User Group, OpenStack overviewOpenStack Boston User Group, OpenStack overview
OpenStack Boston User Group, OpenStack overviewOpen Stack
 
Keynote: Your Future With Cloud Computing - Dr. Werner Vogels - AWS Summit 2...
Keynote: Your Future With Cloud Computing - Dr. Werner Vogels  - AWS Summit 2...Keynote: Your Future With Cloud Computing - Dr. Werner Vogels  - AWS Summit 2...
Keynote: Your Future With Cloud Computing - Dr. Werner Vogels - AWS Summit 2...Amazon Web Services
 
Sdc2010 scality cloud storage vs object storage for distribution
Sdc2010 scality cloud storage vs object storage for distributionSdc2010 scality cloud storage vs object storage for distribution
Sdc2010 scality cloud storage vs object storage for distributionJerome Lecat
 
Cloud computing with AWS
Cloud computing with AWS Cloud computing with AWS
Cloud computing with AWS ikanow
 
EMEA OpenStack Day, July 13th 2011 in London - Jim Curry intro
EMEA OpenStack Day, July 13th 2011 in London - Jim Curry introEMEA OpenStack Day, July 13th 2011 in London - Jim Curry intro
EMEA OpenStack Day, July 13th 2011 in London - Jim Curry introOpen Stack
 
Usman Shakeel - Cloud Rendering at Scale :: AWS Rendering Seminar
Usman Shakeel - Cloud Rendering at Scale :: AWS Rendering SeminarUsman Shakeel - Cloud Rendering at Scale :: AWS Rendering Seminar
Usman Shakeel - Cloud Rendering at Scale :: AWS Rendering SeminarAmazon Web Services Korea
 
The Hybrid Windows Azure Application
The Hybrid Windows Azure ApplicationThe Hybrid Windows Azure Application
The Hybrid Windows Azure ApplicationMichael Collier
 
Cloud State of the Union for Java Developers
Cloud State of the Union for Java DevelopersCloud State of the Union for Java Developers
Cloud State of the Union for Java DevelopersBurr Sutter
 
Introduction to Clouds (Cloud Camp Columbus)
Introduction to Clouds (Cloud Camp Columbus)Introduction to Clouds (Cloud Camp Columbus)
Introduction to Clouds (Cloud Camp Columbus)John Willis
 
Azure Containers & Serverless Technology Options (After-Tech-Summit-2018 Edit...
Azure Containers & Serverless Technology Options (After-Tech-Summit-2018 Edit...Azure Containers & Serverless Technology Options (After-Tech-Summit-2018 Edit...
Azure Containers & Serverless Technology Options (After-Tech-Summit-2018 Edit...Yoichi Kawasaki
 
NWCloud Cloud Track - Best Practices for Architecting in the Cloud
NWCloud Cloud Track - Best Practices for Architecting in the CloudNWCloud Cloud Track - Best Practices for Architecting in the Cloud
NWCloud Cloud Track - Best Practices for Architecting in the Cloudnwcloud
 

Ähnlich wie Ga cloud scaling 3 30-2012 (20)

Amazon Ec2 Application Design
Amazon Ec2 Application DesignAmazon Ec2 Application Design
Amazon Ec2 Application Design
 
OpenCms Days 2012 - OpenCms on open clouds
OpenCms Days 2012 - OpenCms on open cloudsOpenCms Days 2012 - OpenCms on open clouds
OpenCms Days 2012 - OpenCms on open clouds
 
O'Reilly Webcast: Architecting Applications For The Cloud
O'Reilly Webcast: Architecting Applications For The CloudO'Reilly Webcast: Architecting Applications For The Cloud
O'Reilly Webcast: Architecting Applications For The Cloud
 
Virtualization Techniques & Cloud Compting
Virtualization Techniques & Cloud ComptingVirtualization Techniques & Cloud Compting
Virtualization Techniques & Cloud Compting
 
Netflix keynote-adrian-qcon
Netflix keynote-adrian-qconNetflix keynote-adrian-qcon
Netflix keynote-adrian-qcon
 
Overview of Cloud Computing
Overview of Cloud ComputingOverview of Cloud Computing
Overview of Cloud Computing
 
Netflix and Open Source
Netflix and Open SourceNetflix and Open Source
Netflix and Open Source
 
OpenStack Boston User Group, OpenStack overview
OpenStack Boston User Group, OpenStack overviewOpenStack Boston User Group, OpenStack overview
OpenStack Boston User Group, OpenStack overview
 
Windows Azure
Windows AzureWindows Azure
Windows Azure
 
Keynote: Your Future With Cloud Computing - Dr. Werner Vogels - AWS Summit 2...
Keynote: Your Future With Cloud Computing - Dr. Werner Vogels  - AWS Summit 2...Keynote: Your Future With Cloud Computing - Dr. Werner Vogels  - AWS Summit 2...
Keynote: Your Future With Cloud Computing - Dr. Werner Vogels - AWS Summit 2...
 
Sdc2010 scality cloud storage vs object storage for distribution
Sdc2010 scality cloud storage vs object storage for distributionSdc2010 scality cloud storage vs object storage for distribution
Sdc2010 scality cloud storage vs object storage for distribution
 
Cloud computing with AWS
Cloud computing with AWS Cloud computing with AWS
Cloud computing with AWS
 
EMEA OpenStack Day, July 13th 2011 in London - Jim Curry intro
EMEA OpenStack Day, July 13th 2011 in London - Jim Curry introEMEA OpenStack Day, July 13th 2011 in London - Jim Curry intro
EMEA OpenStack Day, July 13th 2011 in London - Jim Curry intro
 
Usman Shakeel - Cloud Rendering at Scale :: AWS Rendering Seminar
Usman Shakeel - Cloud Rendering at Scale :: AWS Rendering SeminarUsman Shakeel - Cloud Rendering at Scale :: AWS Rendering Seminar
Usman Shakeel - Cloud Rendering at Scale :: AWS Rendering Seminar
 
The Hybrid Windows Azure Application
The Hybrid Windows Azure ApplicationThe Hybrid Windows Azure Application
The Hybrid Windows Azure Application
 
Cloud State of the Union for Java Developers
Cloud State of the Union for Java DevelopersCloud State of the Union for Java Developers
Cloud State of the Union for Java Developers
 
Jeff barr Seattle_interactive_2011_q4
Jeff barr Seattle_interactive_2011_q4Jeff barr Seattle_interactive_2011_q4
Jeff barr Seattle_interactive_2011_q4
 
Introduction to Clouds (Cloud Camp Columbus)
Introduction to Clouds (Cloud Camp Columbus)Introduction to Clouds (Cloud Camp Columbus)
Introduction to Clouds (Cloud Camp Columbus)
 
Azure Containers & Serverless Technology Options (After-Tech-Summit-2018 Edit...
Azure Containers & Serverless Technology Options (After-Tech-Summit-2018 Edit...Azure Containers & Serverless Technology Options (After-Tech-Summit-2018 Edit...
Azure Containers & Serverless Technology Options (After-Tech-Summit-2018 Edit...
 
NWCloud Cloud Track - Best Practices for Architecting in the Cloud
NWCloud Cloud Track - Best Practices for Architecting in the CloudNWCloud Cloud Track - Best Practices for Architecting in the Cloud
NWCloud Cloud Track - Best Practices for Architecting in the Cloud
 

Kürzlich hochgeladen

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
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
 
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
 
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
 
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
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
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
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
[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
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
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
 

Kürzlich hochgeladen (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
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
 
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
 
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...
 
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
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
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
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.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
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 

Ga cloud scaling 3 30-2012

  • 1. Head in the Cloud Understanding and Scaling the Cloud for Startups Managing Technology Teams Workshop Andy Parsons | @andyparsons | andyparsons@gmail.com
  • 2. Today We Will Cover What is “The Cloud?” How Does It Work? How Well Does It Work? What Your Dev Team Should Know How Much Does It Cost? Which Provider To Use? * If Time: Hands On Demo
  • 3. What Is “The Cloud?”
  • 4. “Cloud Computing is the delivery of computing as a service rather than a product, whereby shared resources, software, and information are provided to computers and other devices as a utility (like the electricity grid) over a network.” (http://csrc.nist.gov/publications/nistpubs/800-145/SP800-145.pdf)
  • 5. Impact to Startups Changed Economics Democratizes Entrepreneurship Changed VC landscape: Then: raise $$ to build something Now: build something to raise $$
  • 6. Essential Aspects and Some Jargon Self Service On-Demand Provisioning without humans No ownership of servers Pooled Resources Multi-tenant Location independence Processing, Memory, Storage, Bandwidth, Services Rapid Elasticity - provision and destroy Measured & Metered Service Usage transparency Cost transparency * (kinda)
  • 7. Service Models SaaS = Software As A Service this is Google Apps. Enough said. PaaS = Platform As A Service Drop code, watch magic IaaS = Infrastructure As A Service Building blocks only
  • 8. Deployment Models Private Cloud Tenants are a single customer Owned or rented On premises or off Public Cloud Off premises Available to anyone Hybrid Cloud 2 or more cloud infrastructure providers bound together OR, hybrid multi-tenant and dedicated resources
  • 9. PaaS vs IaaS IaaS PaaS Application Code You You Runtime Platform You Provided Security You Provided Databases You Provided Servers Provided Provided Virtualization Provided Provided Hardware Provided Provided Storage Provided Provided Networking Provided Provided
  • 10. Where is the Cloud Essential? Some examples: Web servers: scaling up and down to meet demand Offline data crunching Recommendation engines Social Graph applications Giant search indexing
  • 11. AWS Components EC2 - computing EBS - fast-ish storage S3 - storage capacity ElastiCache ELB - load balancing CloudFront - Content Delivery Network on top of S3 Route53 - DNS SNS - notification service SES - email services SQS - queueing Elastic MapReduce - Hadoop Databases Simple DB RDS DynamoDB CloudFormation - templated stacks
  • 12. Cloud Timeline First General Hypervisor: use Google Dot com FedRAMP, Runs on Internet docs and Multi-cloud, bubble Microsoft US Gov IBM 360 becomes EC2 commoditization, bursts Azure Cloud common launch market growth 1961 1965 1969 1990 1995 2000 2002 2006 2008 2009 2010 2012 John IBM and Oracle Intel AZN AWS McCarthy - Google and other founded, founded launches Cloud introduce clouds, ARPANet Computing their IaaS popularity created Concept of PaaS
  • 13. How Does It Work?
  • 14. Virtualization Hides physical details of hardware Lots of VMs run on a single physical machine VM’s are relocatable
  • 15. Virtualization Software or “Full” Virtualization: software-only, can virtualize any hardware and unmodified OS Hardware-Assisted: Special capabilities built into processors to assist with running virtual hosts Paravirtualization uses a special “hypervisor” to expose an API to virtual OS Parallels, VMWare
  • 16. Massive Scale Affordability comes from economies of scale Fault tolerance and soft failing of hardware Automated failover Providers have developed proprietary monitoring, networking, and in some cases virtualization
  • 17. How Well Does It Work?
  • 18. Really Well! Until Things Break. Failure of some kind is assured Performance Drops Instance Failures Network Outages EBS RAID bottlenecks
  • 19. One day this email came in... Hello, One of your instances in the us-east-1 region is on hardware that requires network related maintenance. Your other instances that are not listed here will not be affected. i-3fcdb156 For the above instance, we recommend migrating to a replacement instance to avoid any downtime. Your replacement instance would not be subject to this maintenance. If you leave your instance running, you will lose network connectivity for up to two hours. The maintenance will occur during a 12-hour window starting at 12:00am PST on Monday, February 15, 2010. After the maintenance is complete, network connectivity will be restored to your instance. As always, we recommend keeping current backups of data stored on your instance. Sincerely, The Amazon EC2 Team
  • 20. ~ April 21, 2011 ~
  • 21. ~ April 21, 2011 ~ MASSIVE AWS Service outage Some data loss (< 0.1%) Revealed details about how EBS worked at the time Catastrophic for some Triggered by a router upgrade! Replication stampede
  • 22. Disk I/O: The Thorn in Your Side Unpredictable No guarantees Bane of Databases And disk-bound operations like app startup Monitor closely Build Around This (coming up)
  • 23. EBS Filesystem Tests Seq. Reads Seq. Writes Random Random R/W Mix: RW Mix: Filesystem # of Disks (MB/s) (MB/s) Reads (MB/s) Writes (MB/s) Reads (MB/s) Writes (MB/s) EXT3, 3 74.7 102.1 1.3 20.4 21.3 25.1 64K stripe EXT3, 128K stripe, 3 1.6 11.3 2MB readahead buffer XFS, 3 20.7 107.2 1.7 40.2 13.6 12.5 64k stripe XFS, 3 102.2 106.2 1.5 87.8 41.1 24.6 128K stripe XFS, 4 115.8 135.4 2.0 76.4 41.0 24.6 64K stripe XFS, 4 104.8 103.1 1.8 70.8 49.3 30.3 128K stripe XFS, 128K stripe, 4 105.0 102.8 2.0 70.1 55.1 31.5 deadline scheduler
  • 24. How Will Things Improve? Price drops SSD (already in AWS DynamoDB) Improvements in virtualization Ever more interesting PaaS offerings Convergence of IaaS and PaaS
  • 25. What Your Dev Team Should Know
  • 26. We Don’t Need a Sys Admin! You probably do, actually. But not yet. Ops -> DevOps -> NoOps (Adrian Cockroft, NetFlix) But your SA or DevOps can do more than ever before. David Fletcher http://cloudtweaks.com
  • 27. Architecting for the Cloud No SPFs No SLAs Don’t depend on SLA
  • 28. Architecting for the Cloud Figure out how things will fail. Design for failure. No fire drills. Deal with Friday failures on Monday. Make provisioning new parts trivial Failover Database Replication
  • 29. Architecting for the Cloud Exact hardware location is decided by the provider Design to Distribute Stateless wherever possible Loosely coupled, redundant systems Redundant data storage Understand Your Dependencies!
  • 30. Tools: Monitoring/Cost Management Ylastic RightScale Cloudability CloudVertical SensibleCloud Raveld Cloud Cruiser
  • 31. How Much Does It Cost?
  • 32. But wait a sec... Cloud Hardware 100% Considers cost of: Utilization ✓Computing, ✓Storage, 80% ✓Bandwidth, ✓Staff 60% $0K $150K $300K $450K $600K Cumulative Cost Over 3 Years (http://www.hightechinthehub.com/2011/09/dirty-little-secret-of-the-cloud/)
  • 33. But wait a sec... YEAR PHYSICAL CLOUD 1 $240,000 $196,000 2 $62,000 $196,000 3 $62,000 $196,000 TOTAL $364,000 $588,000 (http://www.hightechinthehub.com/2011/09/dirty-little-secret-of-the-cloud/)
  • 34. Elasticity is the key YEAR PHYSICAL CLOUD 1 $240,000 $80,000 2 $62,000 $100,000 3 $62,000 $120,000 TOTAL $364,000 $400,000 Now we are managing costs
  • 35. Price Comparisons The Devil is in the Details Billing is a Means of Differentiation What are you paying for? “Compute Units” + RAM Bandwidth Storage Virtualization (efficient use of metal)
  • 36. Price Comparisons Example: Instance Types AWS Rackspace Joyent Softlayer Cores 1 1 1 1 RAM 1.7 GB 1 GB 1 GB 1 GB Disk 160 GB 40 GB 30 GB 25 GB $/month $58 $44 $62 $50 But what’s a “core?”
  • 37. EC2 Reserved Pricing 3-Year Run Cost: 35 small, 10 large instances Own Hardware On-Demand 1-Year Reserved 3-Year Reserved Usage $157,680 $75,411 $48,123 Hardware $20,129 Network gear $4,026 Hardware Maint. $28,986 Datacenter Cost $131,382 Remote Hands $1,014 Data Transfer $10,071 $6138 $6138 $6138 TOTAL $195,608 $163,818 $81,550 $54,263 (http://mikekhristo.com/ec2-ondemand-vs-reserved-instance-savings-calculator/)
  • 38. Keys to Controlling Costs Correlate Cloud sizing with application needs Keep things running at close to 100% utilization Fact: for always-on infrastructure cloud is more expensive than hardware Good metrics to consider: CCOGS Cloud cost of goods sold = Cloud Costs/ Revenue % Utilization: Actual Utilization/Total Capacity HOLY GRAIL: Cloud Costs/Active User
  • 39. Which Provider to Use? David Fletcher http://cloudtweaks.com
  • 40. Guess What? It depends.
  • 41. How Do Providers Distinguish Themselves? Affinity for a language or stack Pricing models Performance Add-on computing services (DNS, Load Balancing ...) Managed Services (backup, humans ...) SLAs
  • 43. Thanks! Andy Parsons | @andyparsons | andyparsons@gmail.com

Hinweis der Redaktion

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. Move an engineer from one company to another, both using EngineYard, he will get it immediately.\nWith AWS, not so much\n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. anecdote: App on Heroku. on heroku and ec2. sys admin setup on ec2. same region.\n
  29. \n
  30. \n
  31. \n
  32. \n
  33. \n
  34. \n
  35. \n
  36. \n
  37. \n
  38. \n
  39. \n
  40. \n
  41. \n
  42. \n