ELASTIC BEANSTALK
  PaaS based on Amazons Cloud

         Wolfgang Schell
         blog.jetztgrad.net
     twitter.com/jetztgradnet
ELASTIC BEANSTALK

     Basic Recipe:
1. Upload your .WAR file
        2. Enjoy
FEATURES
         PaaS
  Automatic scaling
   Load balancing
   Sticky Sessions
    Management
   Version control
Log file rotation to S3
WHAT'S INSIDE

    Apache (Frontend)
   Tomcat (AppServer)
HostManager (Management)

  based on Amazons IaaS
HOW IT WORKS




Image from http://aws.typepad.com/aws/2011/01/aws-beanstalk-concepts.html
ACCESS
AWS Web Console
Command Line Tools
   SDK and API
  Eclipse Plugin
SUPPORTED LANGUAGES
  AND FRAMEWORKS
    Everything that can be run
     as a Java web application:

   Java (Spring), Groovy (Grails),
     (J)Ruby (Rails), PHP, Jython
STORAGE AND DATABASE
      OPTIONS
          S3 (BLOB Store)
         EBS (Block Store)
        SimpleDB (NoSQL)
   RDS (Hosted MySQL, Oracle*)
     BYODB (Bring your own
      database, e.g. on EC2)

   * soon
FLEXIBILITY

         Use services of underlying IaaS
             Pay for what you use
                Custom AMIs*
* http://blog.jetztgrad.net/2011/02/how-to-customize-an-amazon-elastic-beanstalk-instance/
SERVICES (1)
     SQS (Messaging)
   SNS (Notification)
       SES (Emails)
RDS, Simple DB (Database)
     S3, EBS (Storage)
SERVICES (2)
    Route53 (DNS)
AutoScaling (Management)
CloudWatch (Monitoring)
   CloudFront (CDN)
 DevPay, FPS (Payment)
   (many more, see AWS homepage)
PRICING (1)
                Pay for what you use:
EC2 instance, Load Balancer, Block Store, Bandwidth, ...

               Complex pricing based
            on service type, region, usage*

          Free usage tier for new customers
              * http://calculator.s3.amazonaws.com/calc5.html
PRICING (2)
Example:
   Service        Unit     base price   per month
Micro Instance      1       $0.02/hr     $14.40
Load Balancer       1      $0.025/hr     $18.00
LB Bandwidth     15 GB    $0.008/GB       $0.12
 EBS volume       8 GB     $0.10/GB       $0.80
 S3 Storage       1 GB    $0.14/1GB       $0.15
                          $0.10/GB in
  Bandwidth      15 GB                    $3.75
                         $0.15/GB out
                                        $37.22
PRICING (3)
Instance Pricing (selection)
         Micro             613 MB, 1 Core, 32 or 64 $0.02/hr
         Small               1.7 GB, 1 bit
                                       Core, 32bit   $0.085/hr
         Large              7.5 GB, 4 Cores, 64bit   $0.34/hr
      Extra Large            15 GB, 8 Cores, 64bit   $0.68/hr
    HM Extra Large         17.1 GB, 6.5 Cores, 64bit $0.50/hr
 HM Double Extra Large     34.2 GB, 13 Cores, 64bit $1.00/hr
HM Quadruple Extra Large   68.4 GB, 26 Cores, 64bit $2.00/hr
   High-CPU Medium          1.7 GB, 5 Cores, 32bit   $0.17/hr
 High-CPU Extra Large        7GB, 20 Cores, 64bit    $0.68/hr
ALTERNATIVES
 Google AppEngine (Java, Python)

CloudFoundry (Java, Ruby, Node.js)

  CloudBees RUN@cloud (Java)

         Heroku (Ruby)

        Azure (.NET, Java)
COMPARISON
                GAE VS. BEANSTALK
                                      GAE   Beanstalk
        Flexibility                    -      ++
         Services                     +       ++
     Management                       +       ++
       Limitations                    --      ++
   Version control                    ++       +
          Pricing                     ++       o*
* Free usage tier for new customers
ELASTIC BEANSTALK
      Thank you!

    Questions?
LINKS (ELASTIC BEANSTALK)

                  http://aws.amazon.com/documentation/elasticbeanstalk/
  Userguide

                  http://aws.typepad.com/aws/2011/01/introducing-elastic-beanstalk.html
 Introduction

                  http://www.slideshare.net/AmazonWebServices/aws-elastic-beanstalk
 Presentation

                  http://aws.amazon.com/free/
Free Usage Tier

 Related blog     http://blog.jetztgrad.net/category/beanstalk/
    (mine)
LINKS (PAAS)

Elastic Beanstalk   http://aws.amazon.com/elasticbeanstalk/


CloudFoundry        http://cloudfoundry.com/


  CloudBees         http://www.cloudbees.com/run.cb


    Heroku          http://www.heroku.com/


     Azure          http://www.microsoft.com/windowsazure/
BEANSTALK CONSOLE (1)
BEANSTALK CONSOLE (2)
BEANSTALK CONSOLE (3)
BEANSTALK CONSOLE (4)
BEANSTALK CONSOLE (5)
BEANSTALK CONSOLE (6)

Introduction to Elastic Beanstalk

  • 1.
    ELASTIC BEANSTALK PaaS based on Amazons Cloud Wolfgang Schell blog.jetztgrad.net twitter.com/jetztgradnet
  • 2.
    ELASTIC BEANSTALK Basic Recipe: 1. Upload your .WAR file 2. Enjoy
  • 3.
    FEATURES PaaS Automatic scaling Load balancing Sticky Sessions Management Version control Log file rotation to S3
  • 4.
    WHAT'S INSIDE Apache (Frontend) Tomcat (AppServer) HostManager (Management) based on Amazons IaaS
  • 5.
    HOW IT WORKS Imagefrom http://aws.typepad.com/aws/2011/01/aws-beanstalk-concepts.html
  • 6.
    ACCESS AWS Web Console CommandLine Tools SDK and API Eclipse Plugin
  • 7.
    SUPPORTED LANGUAGES AND FRAMEWORKS Everything that can be run as a Java web application: Java (Spring), Groovy (Grails), (J)Ruby (Rails), PHP, Jython
  • 8.
    STORAGE AND DATABASE OPTIONS S3 (BLOB Store) EBS (Block Store) SimpleDB (NoSQL) RDS (Hosted MySQL, Oracle*) BYODB (Bring your own database, e.g. on EC2) * soon
  • 9.
    FLEXIBILITY Use services of underlying IaaS Pay for what you use Custom AMIs* * http://blog.jetztgrad.net/2011/02/how-to-customize-an-amazon-elastic-beanstalk-instance/
  • 10.
    SERVICES (1) SQS (Messaging) SNS (Notification) SES (Emails) RDS, Simple DB (Database) S3, EBS (Storage)
  • 11.
    SERVICES (2) Route53 (DNS) AutoScaling (Management) CloudWatch (Monitoring) CloudFront (CDN) DevPay, FPS (Payment) (many more, see AWS homepage)
  • 12.
    PRICING (1) Pay for what you use: EC2 instance, Load Balancer, Block Store, Bandwidth, ... Complex pricing based on service type, region, usage* Free usage tier for new customers * http://calculator.s3.amazonaws.com/calc5.html
  • 13.
    PRICING (2) Example: Service Unit base price per month Micro Instance 1 $0.02/hr $14.40 Load Balancer 1 $0.025/hr $18.00 LB Bandwidth 15 GB $0.008/GB $0.12 EBS volume 8 GB $0.10/GB $0.80 S3 Storage 1 GB $0.14/1GB $0.15 $0.10/GB in Bandwidth 15 GB $3.75 $0.15/GB out $37.22
  • 14.
    PRICING (3) Instance Pricing(selection) Micro 613 MB, 1 Core, 32 or 64 $0.02/hr Small 1.7 GB, 1 bit Core, 32bit $0.085/hr Large 7.5 GB, 4 Cores, 64bit $0.34/hr Extra Large 15 GB, 8 Cores, 64bit $0.68/hr HM Extra Large 17.1 GB, 6.5 Cores, 64bit $0.50/hr HM Double Extra Large 34.2 GB, 13 Cores, 64bit $1.00/hr HM Quadruple Extra Large 68.4 GB, 26 Cores, 64bit $2.00/hr High-CPU Medium 1.7 GB, 5 Cores, 32bit $0.17/hr High-CPU Extra Large 7GB, 20 Cores, 64bit $0.68/hr
  • 15.
    ALTERNATIVES Google AppEngine(Java, Python) CloudFoundry (Java, Ruby, Node.js) CloudBees RUN@cloud (Java) Heroku (Ruby) Azure (.NET, Java)
  • 16.
    COMPARISON GAE VS. BEANSTALK GAE Beanstalk Flexibility - ++ Services + ++ Management + ++ Limitations -- ++ Version control ++ + Pricing ++ o* * Free usage tier for new customers
  • 17.
    ELASTIC BEANSTALK Thank you! Questions?
  • 18.
    LINKS (ELASTIC BEANSTALK) http://aws.amazon.com/documentation/elasticbeanstalk/ Userguide http://aws.typepad.com/aws/2011/01/introducing-elastic-beanstalk.html Introduction http://www.slideshare.net/AmazonWebServices/aws-elastic-beanstalk Presentation http://aws.amazon.com/free/ Free Usage Tier Related blog http://blog.jetztgrad.net/category/beanstalk/ (mine)
  • 19.
    LINKS (PAAS) Elastic Beanstalk http://aws.amazon.com/elasticbeanstalk/ CloudFoundry http://cloudfoundry.com/ CloudBees http://www.cloudbees.com/run.cb Heroku http://www.heroku.com/ Azure http://www.microsoft.com/windowsazure/
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.