Change AWS Elastic Beanstalk Passenger Spawn Mode
After a tonne of googling I wasn't able to find an easy way to change Passenger's spawn mode setting in the default Ruby 1.9.3 Elastic Beanstalk (EB) image.
So I wrote this: https://gist.github.com/timclipsham/5917769
Since EB is using the standalone version of passenger, the script simply manipulates the /etc/init.d/passenger
file (which starts/stops the passenger process) and appends --spawn-mode conservative
to the start
command.
Read more about how to customise your AWS EC2 instance created by EB if you're curious.
Written by Tim Clipsham
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#