Chapter 18. Deploy JBoss Enterprise Application Platform 6 on Amazon EC2

18.1. Introduction

18.1.1. About Amazon EC2

Amazon Elastic Compute Cloud (Amazon EC2) is a service operated by amazon.com that provides customers with a customizable virtual computing environment. An Amazon Machine Image (AMI) can be booted using the service to create a virtual machine or instance. Users can install whatever software they require on an instance and are charged according to the capacity used. Amazon EC2 is designed to be flexible and allow users to quickly scale their deployed applications.
You can read more about it at the Amazon EC2 website, http://aws.amazon.com/ec2/.

18.1.2. About Amazon Machine Instances (AMIs)

An Amazon Machine Image (AMI) is a template for a EC2 virtual machine instance. Users create EC2 instances by selecting an appropriate AMI to create the instance from. The primary component of an AMI is a read-only filesystem that contains an installed operating system as well as other software. Each AMI has different software installed for different use cases. Amazon EC2 includes many AMIs to choose from provided by both amazon.com and third parties. Users can also create their own custom AMIs.

18.1.3. About JBoss Cloud Access

JBoss Cloud Access is a Red Hat subscription feature that provides support for JBoss Enterprise Application Platform 6 on Red Hat certified cloud infrastructure providers such as Amazon EC2. JBoss Cloud Access allows you to move your subscriptions between traditional servers and public cloud-based resources in a simple and cost-effective manner.
You can find out more details about it at http://www.redhat.com/solutions/cloud/access/jboss/.

18.1.4. JBoss Cloud Access Features

Membership in the JBoss Cloud Access program provides access to supported private Amazon Machine Images (AMIs) created by Red Hat.
The Red Hat AMIs have the following software pre-installed and fully supported by Red hat:
  • Red Hat Enterprise Linux 6
  • JBoss Enterprise Application Platform 6
  • The JBoss Operations Network (JON) 3 agent
  • Product updates with RPMs using Red Hat Update Infrastructure.
Each of the Red Hat AMIs are only a starting point, requiring further configuration to the requirements of your application.

Important

JBoss Cloud Access does not currently provide support for the full-ha profile, in either standalone instances or a managed domain.

18.1.5. Supported Amazon EC2 Instance Types

JBoss Cloud Access supports the following Amazon EC2 instance types. Refer to the Amazon EC2 User Guide for more details about each instance type, http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/instance-types.html.

Table 18.1. Supported Amazon EC2 Instance Types

Instance Type Description
Standard Instance
Standard Instances are general purpose environments with a balanced memory-to-CPU ratio.
High Memory Instance
High Memory Instances have more memory allocated to them than Standard Instances. High Memory Instances are suited for high throughput applications such as databases or memory caching applications.
High CPU Instance
High CPU Instances have more CPU resources allocated than memory and are suited for relatively low throughput but CPU intensive applications.

Important

The instance type Micro (t1.micro) is not suitable for deployment of JBoss Enterprise Application Platform.

18.1.6. Supported Red Hat AMIs

The supported Red Hat AMIs can be identified by their AMI Name.
The JBoss Enterprise Application Platform 6 AMIs are named using the following syntax:
 RHEL-osversion-JBEAP-6.0.0-arch-creationdate 
osversion is the version number of Red Hat Enterprise Linux installed in the AMI. Example 6.2.
arch is the architecture of the AMI. This will be x86_64 or i386.
creationdate is the date that the AMI was created in the format of YYYYMMDD. Example 20120501.
Example AMI name: RHEL-6.2-JBEAP-6.0.0-x86_64-20120501.