Multiple applications (e.g. war files) on a single instance of Beanstalk

To be conservative in terms of resources (and costs), I would like to place more than one war file (representing different applications) on one instance of beanstalk EC2.

I would like you to have a appl application to map myapp.elasticbeanstalk.com/applA using warA and binding B to myapp.elasticbeanstalk.com/applB using warB

But the console allows you to load one and only war for any instance.

1) So, I understand that this is not possible with the current interface. I'm right?

2) Although is it possible to do this using "non-standard" methods: load warA through the interface and copy / update warB to / tomcat6 / webapps via ssh, ftp, etc.

3) C (2) I am concerned that B will be lost every time the BT health check decides to end the instance (e.g. consecutive failed checks) and restart the new one. Then I would have to make warB part of my customized AMI used by applA, and create a new version of this AMI every time I update warB

Please help me

considers

Didier

+3
source share
4 answers

You're right! You cannot (yet) have several battles in beanstalk.

The answer to the Amazon Forum is here https://forums.aws.amazon.com/thread.jspa?messageID=219284

+3
source

, , , .

WAR Elastic Beanstalk ( ).

zip WAR . , , ROOT.war, Tomcat.

zip :

MyApplication.zip

├──..ebextensions

├── foo.war

├── bar.war

└── ROOT.war

Elastic Beanstalk .

.ebextensions , , . . Beanstalk.

+1

All Articles