User guide
Chapter 6. Launching clustered JBoss Enterprise Application
Platform instances
In this example clustered JBoss Enterprise Application Platform instances are deployed with a simple
JMS sender and receiver application.
To support the application, a JBoss Enterprise Web Server instance is deployed as a proxy and a
Relational Database Service instance is deployed to provide the required MySQL DBMS.
6.1. Launch clustered Enterprise Application Platform
Procedure 6.1. Launch clust ered EAP
1. Create a Relational Database Service instance.
2. Create a Virtual Private Cloud (VPC).
3. Launch a JBoss Enterprise Web Server instance to serve as a mod_cluster proxy and a NAT
instance for the VPC.
4. Configure VPC routing tables for the JBoss Enterprise Application Platform (EAP) nodes.
5. Launch JBoss Enterprise Application Platform nodes.
6. Verify the JBoss Enterprise Application Platform cluster.
Detailed instructions on each of these steps are contained in the following sections.
6.2. Create a Relational Database Service database instance
Relational Database Service (RDS) is a convenient service provided by Amazon to easily deploy and
manage an RDBMS with failover, back-up and restore capabilities. Currently several versions of Oracle
and MySQL database servers are available. T his example uses the MySQL database server but JBoss
Enterprise Application Platform also supports Oracle Database.
1. Go to the RDS tab in the AWS console.
2. Subscribe to the service if needed.
3. Click on "Launch DB instance".
4. Click on MySQL
a. Select a version (for example 5.5.12).
b. Select small instance.
c. Ensure Multi-AZ Deployment and Auto upgrade are off.
d. Set Storage to 5GB.
e. Choose the database administrator's username and password.
f. On the next screen choose a database name to be created with the instance.
g. On the next screen you can disable back-up and maintenance.
h. Confirm your settings.
The database should initialize and be ready for use after a few minutes.
JBoss Enterprise Application Platform 5 Getting Started on Amazon EC2
16