Chapter 24. Deploy JBoss EAP 6 on Amazon EC2
24.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/.
24.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.
24.1.3. About JBoss Cloud Access
JBoss Cloud Access is a Red Hat subscription feature that provides support for JBoss EAP 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/en/technologies/cloud-computing/cloud-access.
24.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 EAP 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.
JBoss Cloud Access does not currently provide support for the full-ha profile, in either standalone instances or a managed domain.
24.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 24.1. Supported Amazon EC2 Instance Types
|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.
The instance type
Micro (t1.micro)is not suitable for deployment of JBoss EAP 6.
24.1.6. Supported Red Hat AMIs
The supported Red Hat AMIs can be identified by their AMI Name.
The JBoss EAP 6 AMIs are named using the following syntax:
version is the version number of JBoss EAP installed in the AMI. Example
osversion is the version number of Red Hat Enterprise Linux installed in the AMI. Example
arch is the architecture of the AMI. This will be
creationdate is the date that the AMI was created in the format of YYYYMMDD. Example
Example AMI name: