Running multiple environments on one AWS EC2 instance (Elastic Beanstalk)

Posted by Abbas on Stack Overflow See other posts from Stack Overflow or by Abbas
Published on 2012-10-03T17:34:40Z Indexed on 2012/10/03 21:38 UTC
Read the original article Hit count: 255

I am very new to the Amazon AWS services. I was wondering if there is a way to run an instance of EC2 (say, Amazon Linux AMI) and then connect two environments to this instance.

Particularly, I'd like to run a PHP and a Tomcat environment on a single EC2 instance.

The problem is, every time I create a new environment in Elastic Beanstalk, it seems to create a new EC2 instance as well. Am I missing something here?

I'd appreciate any hint on this.

© Stack Overflow or respective owner

Related posts about amazon-ec2

Related posts about elastic-beanstalk