Extract helper out
[snap/#1680] [AWS Support] Add ElasticBeanstalk support