I'm using AWS beanstalk to host a php/symphony application. I would like to properly configure apache regarding the machine size, currently t2.small, ie. 1 core, 2 GB RAM, which is pretty small.
apachectl -V gives me this :
Server version: Apache/2.4.16 (Amazon)
Server built: Aug 13 2015 23:52:13
Server's Module Magic Number: 20120211:47
Server loaded: APR 1.5.0, APR-UTIL 1.4.1
Compiled using: APR 1.5.0, APR-UTIL 1.4.1
Architecture: 64-bit
Server MPM: prefork
threaded: no
forked: yes (variable process count)
From this doc, I need to at least configure the MaxRequestWorkers in MPM/prefork, in relation to the available RAM.
What's the proper way to configure this in beanstalk ? I guess it's through .ebextensions ? How ?