Tuesday, April 18, 2017

amazon ec2 - Can i run multiple web apps on a single EC2 instance

I need to lower my AWS costs and looking for ways to reduce my AWS usage. I currently have a single java/tomcat webapp which I run multiple EC2 instances of with different configurations. I have siteone.com and sitetwo.com each with their own EC2 instances under the same ElasticBeanstalk environment. These instances are load balanced, (I am thinking of removing Load Balancing for cost), and they both require SSL and connections to an RDS instance. They are both currently in the same VPC. To reduce my costs I need to reduce my instances. How can I go about running multiple tomcat web apps on a single EC2 instance. I am the sole dev on this and could use some direction. thanks!

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...