Show Table of Contents
Appendix A. Configuring the JBoss Enterprise SOA Platform for Cloud Computing
A.1. Amazon Elastic Compute Cloud (EC2)
Amazon Elastic Compute Cloud (EC2) is a service provided by http://aws.amazon.com/ec2/. You can rent virtual machines on which you run your own software. It is a highly-scalable service and allows you to create virtual machines in realtime to meet specific processing needs.
A.2. Configure the JBoss Enterprise SOA Platform to be Used on an EC2 Cloud
WarningBecause this process requires you to shut down your server's firewall leading to a potential security risk, this configuration task MUST be performed inside a VPC subnet, with a firewall on the external interface. Red Hat will NOT support it otherwise.
Procedure A.1. Task
- Create the nodes on EC2. They should belong to a security group that does not have restrictions.
- Within AWS also create an instance that will be used as a database.
- Create a new S3 bucket on AWS.
- Download the JBoss Enterprise SOA Platform EC2 patch from the Customer Portal.
- Unzip the patch and open it from the location you saved it in.
ant.This creates a new configuration called cluster-ec2, based on the
- Make any desired changes to the new configuration (such as modifying it to use MySQL instead of the default database.)
- Shut down the firewall (iptables) on all nodes.
- Run the newly-created configuration, passing the following parameters: jboss.jgroups.s3_ping.access_key, jboss.jgroups.s3_ping.secret_access_key and jboss.jgroups.s3_ping.bucket. (You can obtain these from the AWS console)
A.3. Troubleshooting an EC2 Configuration
- Ensure that the patch's version number matches that of the JBoss Enterprise SOA Platform distribution.
- If, after starting a large number of nodes, you still see that the cluster has only one member, it is probably a problem related to your firewall.
- Make sure you are not connected to an internal VPN while you are starting the JBoss Enterprise SOA Platform.