Category Archives: autoscaling

AWS Cloud Formations Configuring a webserver to connect to an ELB front ending an app server?

I found this great tutorial from Amazon on using cloud formation to provision an elb in front of a web server with auto scaling. What I want to do is extend this to also create a second elb with an app server behind it. I can figure out that part, but once I do I then want to configure the web server (I guess in httpd.conf to establish the connection from the web server to the app elb. does anyone have guidance on how to do this?

AWS Cloud Formations Configuring a webserver to connect to an ELB front ending an app server?

I found this great tutorial from Amazon on using cloud formation to provision an elb in front of a web server with auto scaling. What I want to do is extend this to also create a second elb with an app server behind it. I can figure out that part, but once I do I then want to configure the web server (I guess in httpd.conf to establish the connection from the web server to the app elb. does anyone have guidance on how to do this?

Share war across tomcats on multiple machines

I have a deployment environment consisting of a tomcat deployed on a VM and accessed via a load balancer. At specific loads extra vms will be spawned, their tomcats fired and added to the load balancer. (doing this using aws auto scale) But due to this if i have to change a single jsp i am forced to go and make the change on each active vm. Is there any way that i can keep my war file/webapps on a single machine and tomcats on all the vms access the same ? So then my change will have to be done at a single place.

Same problem in simple terms: can tomcats on multiple machines share a war file on single machine.