Skip to Content
Elastic Beanstalk
book

Elastic Beanstalk

by Jurg van Vliet, Dara Dowd, Flavia Paganelli, Steven van Wel
July 2011
Intermediate to advanced content levelIntermediate to advanced
84 pages
2h 1m
English
O'Reilly Media, Inc.
Content preview from Elastic Beanstalk

Chapter 4. Hacking Elastic Beanstalk

The purpose of this chapter is to explore where Elastic Beanstalk ends, and where we can begin to adjust the system ourselves. We’ll start by delving into the way the Elastic Beanstalk instances integrate with the Elastic Beanstalk Service. If we understand this, we can slowly start to customize the image that runs our application (and the instances that are launched from it); we’ll change the logging, replace the OpenJDK with the Sun JDK, and replace Apache with Nginx. An interesting way to change an infrastructure is to take things out, which is exactly what we’ll do in the end: we’ll make the Elastic Load Balancer bypass Apache or Nginx altogether.

So, we understand how Elastic Beanstalk works and have sort of mastered the fundamentals. It is time to go a little bit further. Why not get our hands dirty and change those fundamentals? Chapter 2 introduced the concepts underlying the AWS services Elastic Beanstalk uses. There is not time to get into the details of working with every one of those things. If you want more details on how to create an AMI, for example, we suggest you read Programming Amazon EC2.

Building on top of Elastic Beanstalk, we can do all sorts of interesting things. Perhaps you want to use Nginx instead of Apache. Or you are contemplating just ignoring Apache for the Tomcat traffic. You might be using some features on the Sun JDK that you are used to, and they are not implemented (yet) in the OpenJDK.

Well, the good news is, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

AWS Elastic Beanstalk Continuous Delivery with Flask Video Course

AWS Elastic Beanstalk Continuous Delivery with Flask Video Course

Alfredo Deza, Noah Gift
Spring Persistence: A Running Start

Spring Persistence: A Running Start

Paul Tepper Fisher, Solomon Duskis
Beginning Spring

Beginning Spring

Mert Caliskan, Kenan Sevindik, Rod Johnson, Jürgen Höller

Publisher Resources

ISBN: 9781449309558Errata Page