jbase 5 Install on Amazon AWS a Primer Revision 1.0 August 2012 1 jbase 5 Install on Amazon AWS
This document contains proprietary information that is protected by copyright. No part of this document may be reproduced, transmitted, or made available directly or indirectly to a third party without the express written agreement of jbase International Inc. Receipt of this material directly from jbase International Inc. constitutes its express permission to copy. Permission to use or copy this document expressly excludes modifying it for any purpose, or using it to create a derivative therefrom. jbase International Inc, makes no warranty of any kind with regard to the material contained in this manual, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. The information contained in this manual is subject to change without notice. jbase, jbasic, jed, jshell, jlp, jedi, jcl, jql, j1, j2 j3 j4 and jplus files and the jbase logo (dove) are registered trademarks of T-jBASE SA, a company of the TEMENOS Group, copyright 2012 T- jbase SA. Revision 1.0 August 2012 2 jbase 5 Install on Amazon AWS
jbase 5 Install on Amazon AWS a Primer This document assumes you have some understanding of Amazon AWS and Cloud computing in general. Amazon offers a free Kindle book on their website here. (Note that you can view Kindle books via a PC app, HTML5 Kindle app online, etc. not just the device of the same name). And of course you can use Wikipedia or a web search to familiarize yourself with Amazon AWS and the many products contained therein. For your convenience a glossary of terms is included. This document will focus on setting up jbase 5 using the free 1 year usage tier that is offered by Amazon. This tier account can be setup here: http://aws.amazon.com/. This document will focus on the Amazon EC2 (Elastic Computing Cloud) part of the platform. This is the central part that handles creating scalable virtual machines which you rent based on usage. Start the AWS management console and Select EC2 Change region in the top left Select Launch Instance (found below the region setting) AMI appears (Amazon Machine Image) You don t need to load the OS, it will simply copy a new base image for you. Revision 1.0 August 2012 3 jbase 5 Install on Amazon AWS
Choices range from RH 6.3 Windows Server 2008 (SuSe, and Ubuntu available but not supported by jbase) Instance Details - Select your desired image (64bit for jbase 5) and choose Micro type (for a free tier) or the memory size you actually need. For demo purposes the 613MB instance is fine. Revision 1.0 August 2012 4 jbase 5 Install on Amazon AWS
Choose the default on-demand (i.e. Launch Instances ) option. This is a fixed price. The Spot Instances allow you to be more creative with pricing. It fluctuates based on supply and demand. Basically you set the maximum you are willing to pay per hour. The instance (Virtual Machine) only runs when the spot price is at or below the price you set. This could be used for batch processing where completion time is not a concern. i.e. archival data processing etc. You can choose the exact kernel you wish if this is Linux. Also you could add your jbase 5 tar now or download it from the running instance (choose the latter for now). Add Meta tag. This is just a way to name the instance so it is more manageable. Create key pair Generate and download. A key pair allows you to securely connect to your instance. Only one key pair is needed for all your instances. Configure Firewall - Use the default security group. You should now see the review page. Revision 1.0 August 2012 5 jbase 5 Install on Amazon AWS
Select Launch and allow EC2 to setup your instance (note: instance is the term Amazon uses for a Virtual Machine). Close the now creating instances dialog and open Instances on the left side of the screen. Click refresh in the top right and you should now see your instance ready for use. Security Groups Firewall Configuration - default allows SSH Select the instance by using the checkbox Go to Instance Actions and choose Connect from the instance Actions dropdown box. Revision 1.0 August 2012 6 jbase 5 Install on Amazon AWS
Try connecting with the built-in java ssh client. You will need to enter the local path of your private key. Select root as the user. Use the password you set when generating the private key. Now let s assign an IP address to the instance. On the left side of the screen select Elastic IPs and choose to allocate a new one. At the top choose associate address dropdown and select your server by the Meta tag. Revision 1.0 August 2012 7 jbase 5 Install on Amazon AWS
Now you can login and install jbase 5. From here you can follow the jbase install guide. Note that openssl with libcrypto.so.6 (i.e. package openssl098e.x86_64 0:0.9.8e-17.el6) is required and can be installed via yum. i.e. yum install openssl098e.x86_64 0:0.9.8e-17.el6 To setup SSH to work with other SSH clients. e.g. putty: http://docs.amazonwebservices.com/awsec2/latest/userguide/putty.html The Amazon AWS Glossary is available here: http://docs.amazonwebservices.com/general/latest/gr/glos-chap.html Revision 1.0 August 2012 8 jbase 5 Install on Amazon AWS