Cloud computing becomes ( although it’s cloudy) more HOT in these days. More and more companies provide solutions for their customers which are Cloud based. AMIS as one of the nr. 1 companies in acquiring and embracing new technologies, provides you a simple way of how to set up a SOA SUITE / BPM 11g cloud infrastructure.
First of all, the cloud we discuss in here is the Amazon cloud of course.
Amazon Cloud setup
- The first thing you will have to do is to create an account. This can be done at https://aws-portal.amazon.com/gp/aws/developer/registration/index.html . Simply follow the steps; you will need a creditcard for registration.
- Amazon provides a Free Usage Tier, but be aware(!); this is ONLY when you use a T1 Micro Instance. For the SOA BPM 11g we need a large instance.
- After confirmation you can login to the AWS Console. This is the center for setting up you infrastructure: https://console.aws.amazon.com/ec2/home.
- At first you will have to register at EC2, then you set up an instance.
- Before you create an instance, first set the region to a nearby location . In our case this is EU West. But first, we’ll change this to US East, because we are using an existing AMI Template, which is not available in our own region. Afterwards, change it back to your own region
- Click on Instances, launch instance, and use the tab Community AMI’s
- Fill in the serach pattern of the AMI you require, in our case SOA BPM. Choose the one you wish.
- Select the large instance
- Next you can choose wether to create a keypair or not. With this key you can login with PuTTY without filling in the password; it is not required, but I chose to use it.
- Create a security group called oracle. Add a firewall rule to the group, for SSH, port 22. The other ports we will add later
- Review an click : Launch Instance
That’s the first part of your setup. Next is to start the instance. This can also be done in the AWS Console.
The second step you will have to do, is to allocate an IP to your instance.
- Select in the AWS console Elastic IP, and click allocate new IP Adress
- Next, attach your IP to your previous created instance
- To access the WebLogic Admin Console, the Enterprise Manager, the BPM Composer and other applications, add the rules to the oracle Security login group
It takes a while, but when you launched the instance, the WebLogic , SOA and BPM will be launched automatically. There is a SOA 11g database running as well.
Do not forget to update the passwords of your SOA Infra database schema’s, else you SOA/BPM will crash due to an ORA-28001.
Now you can try to access using your browser, or a shell client like PuttY to do some OS tasks.
Connect with PuTTY
If you use your keypair with PuttY, here’s the way to use it.
- Create the connection within putty as usual Â with you Elastic IP or public hostname of you instance on Amazon ( something like ec2-xx.xx.xx.eu-west-1.compute.amazonaws.com)
- Download the keypair you just created
- Create a personal key using PuttyGen ( seperate download , apart from PuttY
- Import your keypair on the Conversion tab and click on generate
- save your personal key
- In PuTTY , load on your connection and Â select Auth. Locate inhere your generated private key
- On Data –> Connection set the auto login user to root
- Save your connection
- Now you can log in without filling in the credentials
Basic sanity checks
To test if all is up an running to get started with your SOA Suite BPM 11g, check the following things
Test the following URL”S and logins
WebLogic Admin Console:Â http://<amazonhost>:7001/console
Enterprise Manager Console: http://<amazonhost>:7001/em
SOA-INFRA app: http://<amazonhost>:8001/soa-infra
BPM Composer: http://<amazonhost>:8001/b2b
Other things to know
You can user your local JDeveloper to connect to your cloud, or use the cloud’s one using nxclient ( I’ll discuss that somewhere later.
This AMI comes with a lot of demo’s , labs and testapps to play around with it.
For the WebLogic Administators amoungst us: Stop/Start and other scripts are in /home/oracle/bin.