Amazon 5.0 User's Guide Page 1

Browse online or download User's Guide for TVs & monitors Amazon 5.0. Amazon 5.0 User guide User Manual

  • Download
  • Add to my manuals
  • Print

Summary of Contents

Page 1 - Getting Started on Amazon EC2

Aleksandar Kostadinov John DoyleJBoss Enterprise ApplicationPlatform 5Getting Started on Amazon EC2for JBoss Enterprise Application Platform 5 and JBo

Page 2 - Edition 5.2.0

Red Hat also hosts a large number of electronic mailing lists for discussion of Red Hat software andtechnology. You can find a list of publicly availa

Page 3

Chapter 1. IntroductionJBoss Cloud Access is a Red Hat subscription feature which allows you to easily move your JBossinstances between traditional on

Page 4 - Table of Contents

Chapter 2. Overview2.1. What is provided?Membership in the JBoss Cloud Access program enables you to access private Amazon MachineImages (AMIs) create

Page 5

Chapter 3. Identify a suitable Red Hat AMI3.1. Supported instance typesJBoss Cloud Access supports a subset of the instance types available on Amazon

Page 6

When searching for the required AMI, you can search with a general criterion ("JBEAP", for example), ora specific one ("RHEL-6.2-JBEAP-

Page 7

Chapter 4. Launching a standalone JBoss Enterprise WebServer instanceIn this example a sample web application is deployed on Apache Tomcat 6 server. A

Page 8 - 1.2. Pull-quote Conventions

ImportantIn JBoss Enterprise Web Server deployed on EC2, the contents of the User Data field aretreated as a script.If the first line is "#!"

Page 9 - 2.1. Do You Need Help?

Chapter 5. Launching a standalone JBoss EnterpriseApplication Platform instanceIn this example a sample web application is deployed to a standalone JB

Page 10 - 2.2. Give us Feedback

If the sample application has been deployed, as per the example, continue testing according to the stepsbelow. However if your own application has bee

Page 11 - Chapter 1. Introduction

Chapter 6. Launching clustered JBoss Enterprise ApplicationPlatform instancesIn this example clustered JBoss Enterprise Application Platform instances

Page 12 - Chapter 2. Overview

JBoss Enterprise Application Platform 5 Getting Started on AmazonEC2for JBoss Enterprise Application Platform 5 and JBoss Enterprise WebServer 5Editio

Page 13 - 3.2. Finding the Red Hat AMIs

WarningThe above settings are sufficient for this example scenario but for a production environment it ishighly recommended that you consider the fail

Page 14

echo 1 > /proc/sys/net/ipv4/ip_forwardecho 0 > /proc/sys/net/ipv4/conf/all/rp_filterecho 0 > /proc/sys/net/ipv4/conf/eth0/rp_filteriptables -

Page 15 - Server instance

7. Disable the Amazon EC2 cloud source/destination checking for this instance so it can act as arouter.a. Right-click on the running EWS instance an

Page 16 - Important

it's required to set up the S3 bucket.6.5.4. S3 bucket setup1. Open the S3 tab in the AWS console.2. Click on "Create Bucket".3. Cho

Page 17 - Application Platform instance

2. Choose desired number of instances (this will be the cluster size).3. Choose VPC and instance type.4. Go to Security Group and allow all traffic

Page 18

MOD_CLUSTER_PROXY_LIST=10.0.0.4:7654## clustering setupJBOSS_JGROUPS_S3_PING_SECRET_ACCESS_KEY=<your secret key>JBOSS_JGROUPS_S3_PING_ACCESS_KEY

Page 19 - Platform instances

name="ServerPeer">jboss.m essaging:service=ServerPeer</depends> <depends>jboss.messaging:service=PostOffice</depends&

Page 20

3. Connect to the JBoss Enterprise Web Server instance:ssh -L7654:localhost:7654 <elastic IP of EWS>4. Open http://localhost:7654/mod_cluster-

Page 21

Chapter 7. Establish monitoring with JBoss OperationsNetwork (JON)With your business application deployed to a correctly-configured AMI instance, the

Page 22 - 6.5.3. IAM setup

corporate VPN gateway is acting in NAT mode, the JON server does not have direct visibility of agents.Port forwarding needs to be configured so that,

Page 23 - 6.5.4. S3 bucket setup

Legal NoticeCopyright © 2012 Red Hat, Inc.This document is licensed by Red Hat under the Creative Commons Attribution-ShareAlike 3.0 UnportedLicense.

Page 24

(available at http://docs.redhat.com/docs/en-US/JBoss_Operations_Network/index.html) for instructionson how to change the agent's IP address.If t

Page 25

User Script ParametersDeploying and configuring JBoss Enterprise Application Platform using the User Data field provides forflexibility and ease of ma

Page 26 - Down-scaling a cluster

used for registration, after thatagent may communicate withother servers in the JON cluster.JON_SERVER_PORT Port used by the agent tocommunicate with

Page 27

TroubleshootingEC2 does not provide any method out of the box to indicate an instance has started correctly andservices are running properly. Use of a

Page 28 - Network (JON)

Revision HistoryRevision 5.2.0-100.4 00 2013- 10-30 Rüdiger LandmannRebuild with publican 4.0.0Revision 5.2.0-100 Wed 23 Jan 2013 Russell DickensonInc

Page 29 - 7.4. Routing in EC2

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 30

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 32 - A.2. Custom Script

Preface1. Document ConventionsThis manual uses several conventions to highlight certain words and phrases and draw attention tospecific pieces of info

Page 33 - Troubleshooting

Character Map from the main menu bar. Next, choose Search → Find… from theCharacter Map menu bar, type the name of the character in the Search field a

Page 34 - Revision History

package org.jboss.book.jca.ex1;im port javax.nam ing.InitialContext;public class ExClient{ public static void m ain(String args[]) throws Exc

Comments to this Manuals

No comments