Jboss clustering in Amazon EC2

amazon ec2amazon-web-servicesclusterjboss

I am working to put an application that would require scalability on Amazon EC2 but this is new to me. I started reading on jboss clustering and how to create new nodes with multi-casting.

While reading about Amazon EC2 and its Auto Scaling feature, I am little confused and not able to figure out whether there is a need for handling Jboss clustering for hosting an application on EC2, as EC2's load balancer takes care of creating an extra instance and managing the requests as configured.

Any help and pointers in this area would be useful.

Best Answer

You can use CloudWatch (metrics and monitoring aws service) to automatically trigger the start of a new jboss application server. Once the load begins to decrease you can use the same metrics to scale down your application server group. The instance you decide to use for the auto scaling feature needs to boot and start the service with no manual intervention.

Hope that helps.