A few notes after over a year of using this model of BizAgi hosting:
- Don’t shutdown the server. Just right click and press pause. Also, don’t ever shut down BizAgi. When you ‘un-pause’ the image everything will come right back up on IIS and the server will be web accessible immediately. This is the killer feature of using AWS for classroom use.
- Starting and restarting will change the URL of the server. I don’t mind this. You can pay a few cents more and the URL will remain the same.
- In the ‘how to’ below I install BizAgi onto a plain vanilla win2008 server. It did not have MS SQL or IIS etc. MS SQL Express was installed when I installed BizAgi, and then I installed IIS myself later on. I didn’t have problems with this setup as it was the ‘BizAgi default setup’. I think BizAgi is still shipping with SQL Express 2005.
I created this “how to” to aid anyone interested in trying out BizAgi (a BPMS) on a live web-accessible server. It has an extremely low entrance cost, as Amazon Web Services is used. I have embedded it below. Please post any comments here if you run into trouble, or learn something helpful for all.
This is not so much a tutorial as it is a directions list. I assume you have setup an AWS instance of some kind. If you have not, head over to EC2 for Poets.
- Sign into the AWS Console:
- Click on AMIs and search for this one: Ami-45c22ec2 actually: Ami-45c22e2c
The description should say: Windows-Server2008-i386-Base-v102
This is a plain vanilla instance of Windows 2008. Windows 2008 is much snapper through Remote Desktop than Windows 2003.
- Right click on the instance you have found, and say “Run instance”.
A “wizard” will then pop up that looks like this: (click to expand)
- You can change the instance type to be High CPU if you like. It will be 4x more expensive, but hey, you only live once. Press Continue.
- Then if you still have your keypair file select that keypair. If you don’t have it, get a new keypair file. Press Continue.
- Select a security group. Use one that you created last time. Press Continue.
- Review your setup. And launch!
Now it’s break time. You need about 10-15 minutes before you can get your password to your new machine and login.
- After that time, right click your instance in the instance area of the AWS console, and press “Get Windows Password”. This is where you need your KeyPair file.
It will give you a very complex password. Copy and paste this somewhere safe.
Then right click the instance again and press “Connect”. See this screen shot:
Select option 1 and download the shortcut file then click on it.
A few warning dialogs will pop up, that’s ok, just accept them, and put in your complex windows password. You can change this password, but don’t loose it.
Now you are in. Staring at the desktop of some machine server in the cloud! Click on the “Work” Network when that pops up.
Ok now that you are in you have two tasks:
- Install IIS (Internet Information Services)
This is a webserver which will let you share your automated processes with the world.
- And Install BizAgi
This will let you execute your processes and deliver them through the webserver.
To install IIS:
Click on Start (i.e the “Start button” in the Windows task bar) then click the search box right above it and type Server Manager. Open “Server Manager”. Then click “Roles”, then “Add Roles”.
A window will pop up. Read it, then press next, then select “Web Server (IIS)” out of the list of 17 roles.
A pop up will come up and just answer in the affirmative. Then press Next until you get to a screen that looks like this:
Click on the box next to ASP.NET. Another pop up will come up. I think you get the idea.
One more box to check: IIS 6 Management compatibility. It’s highlighted in blue below.
Alright, keep pressing next, and then click on Install. While it is installing, let’s go download BizAgi Xpress.
Use Internet Explorer to do this. Search for it in Google, or use this link to download BizAgi Xpress (not process modeler): http://www.bizagi.com/index.php?option=com_content&view=article&id=98&Itemid=130&dwl=416d6d80614216cd534f5108f3f12e96&lang=en
Unfortunately Internet Explorer is very annoying and makes us press “Add” in order to download files from really anywhere. A box like the one below may come up several times. Just press “Add” and then OK.
It will take about 4 minutes to download. Meanwhile, go see how the install of IIS is doing. Once that is done — close that window. Wait for that to finish installing before installing BizAgi.
- Accept all of the default settings in the BizAgi install. It might take a while to install.
- Run or Start BizAgi. A shortcut is on the desktop.
When it pops up, click on Process Templates (see below). It is fun to learn from an example already built.
Press next on the windows which will appear. Accept all the defaults. A window will come up asking for DB information. Accept the defaults here and don’t change anything… just continue.
Once it is done it will have a window like this: Note the Modules and Run buttons. Before we press “Run” lets check out the Modules.
After you press Modules a screen like this will come up:
Click around and right click things and just explore this area for 10 minutes. This has all of the processes which we are about to “execute” on a live server. There are three different process models can you find all of them?
Next click on Run (green button). A browser window will pop up with your running processes. This is viewable by anyone on the web. But what’s the address? Get this by going to your AWS console and copying the public DNS field from your running instance: Mine is ec2-75-101-197-43.compute-1.amazonaws.com – copy this into a web browser. You will see the IIS screen, add /Templates to see your running processes. So the final URL (for me) is: http://ec2-75-101-197-43.compute-1.amazonaws.com/Templates/
Now send this link to your friends and have them login as different roles and start some processes. Post your server link as a comment here and share it with everyone! Although this tutorial may have been fun, using your sever (the more people that use it the merrier) demonstrates the power of BPM. After you started a few processes, go to the administrator view of BizAgi to look at the status of the processes you, your friend, or some random person has started.
After you are done playing, remember to pause your server by right clicking your running instance and pressing “stop”. This will avoid you incurring huge AWS charges! Press start to resume when you want to play with it again. You can also terminate the server when you are completely finished with it. You will see this option on the right-click menu Congratulations you have setup and run a full blown BPMS which you can turn on and off whenever you like!
Here is this “how-to” in PDF form:
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.