Elastic Beanstalk

Book description

While it's always been possible to run Java applications on Amazon EC2, Amazon's Elastic Beanstalk makes the process easier—especially if you understand how it works beneath the surface. This concise, hands-on book not only walks you through Beanstalk for deploying and managing web applications in the cloud, you'll also learn how to use this AWS tool in other phases of development.

Ideal if you're a developer familiar with Java applications or AWS, Elastic Beanstalk provides step-by-step instructions and numerous code samples for building cloud applications on Beanstalk that can handle lots of traffic. Learn how to use Beanstalk with the Eclipse IDE, Hudson for continuous integration, and several AWS tools for load balancing, auto scaling, storage, and other services.

  • Learn how Beanstalk provides an entry into Infrastructure as a Service (IaaS)
  • Design your Java web application for the cloud—and for Beanstalk
  • Get an overview of AWS services that power Beanstalk, and learn how to use them independently
  • Use Beanstalk to set up your development, testing, production, and staging environments
  • Learn advanced hacking techniques for customizing Beanstalk

Publisher resources

View/Submit Errata

Table of contents

  1. Preface
    1. Audience
    2. Conventions Used in This Book
    3. Using Code Examples
    4. Safari® Books Online
    5. How to Contact Us
    6. Acknowledgments
  2. 1. Up and Running with Elastic Beanstalk
    1. What Is Elastic Beanstalk?
    2. Which Apps Run on Elastic Beanstalk?
    3. Sign Up
    4. Candidates for Running on Elastic Beanstalk
    5. Hystqio, Our Pick
      1. The Hystqio Code
        1. Creating the hash for the short URLs
        2. SimpleDB as a database
      2. Building Hystqio
    6. Deploy Hystqio to Elastic Beanstalk
    7. Conclusion
  3. 2. Elastic Beanstalk Explained
    1. Elastic Beanstalk and AWS
    2. Regions and Availability Zones
    3. Working with AWS Services
      1. Command-Line Tools
      2. The AWS Console
    4. Elastic Compute Cloud (EC2)
      1. Instances
      2. AMIs
      3. Elastic Block Store
      4. Security Groups
      5. Elastic Load Balancers
      6. Key Pairs
      7. Other AWS Services
    5. Auto Scaling
    6. CloudWatch
    7. Database
    8. Simple Notification Service
    9. S3
    10. Identity and Access Management
    11. Hystqio on Elastic Beanstalk
    12. Conclusion
  4. 3. Working with Elastic Beanstalk
    1. Different Environments with Elastic Beanstalk
    2. Interacting with Elastic Beanstalk
    3. Developing with Eclipse
      1. Setting Up Your Environment
        1. Scala
        2. Configure your environment
      2. Deploying Your Application
    4. Continuous Integration with Hudson
      1. Launch an EC2 Instance
      2. Install Hudson
      3. Install Hudson Plugins
      4. A Java App to Deploy a WAR to Beanstalk
      5. Create a Hudson Job
      6. Create an Image
    5. Setting Up Production
      1. Server (EC2 Instances)
      2. Elastic Load Balancer
      3. Auto Scaling
      4. Container
      5. Configurations
    6. Staging New Versions
      1. Launching the Environment
      2. Looking for Limits
        1. The Environment
      3. Updating the Production Environment
    7. Conclusion
  5. 4. Hacking Elastic Beanstalk
    1. The Instance
      1. Logging
      2. Sun JDK
      3. Nginx
    2. The Infrastructure
    3. Conclusion
  6. About the Authors
  7. Colophon
  8. Copyright

Product information

  • Title: Elastic Beanstalk
  • Author(s): Jurg van Vliet, Dara Dowd, Flavia Paganelli, Steven van Wel
  • Release date: July 2011
  • Publisher(s): O'Reilly Media, Inc.
  • ISBN: 9781449306649