Explanation.
This also works on elastic beanstalk.