Try Activiti Explorer 5.12 now on CloudBees for free!

Running Activiti on the cloud is really easy. All you need is a simple database and a web container if you’d like to run the Activiti Explorer UI. Since Activiti uses very little memory and scales/clusters horizontally out-of-the-box, it is a perfect fit for a cloud deployment.

Doing such a deployment on the cloud gets easier every day. Of course you can set up your own stack on Amazon, but nowadays there are many dedicated PaaS solutions that make your life much easier by offering dedicated platforms. At least from a click-and-run point of view these are much easier to work with. CloudBees is such a PaaS specifically tailored to developers and Java applications.

For framework builders like us, CloudBees offers a very interesting concept called a ‘clickstart’. If you’re interested, here are the full details. But basically, you just have to put a simple json file online (I chose to use GitHub) that tells where to find your war file and what kind of configuration you want. If you want, you can also specify a repository and CloudBees will build and deploy it for you (they hired the lead developer of Jenkins, after all). The CloudBees platform then allows you to go to a special url, passing the url to your json as parameter, which boots up a cloud instance with your app.

So, as we released Activiti 5.12 two days ago (at midnight at the bar, nonetheless) I thought it was a good idea to create a CloudBees Clickstart for Activiti Explorer 5.12. Simply click on the button below (it goes to that special url). You will have to create a CloudBees account (don’t worry, it’s free and you don’t need to provide a credit card like on Amazon) to run your own personal instance of Activiti Explorer 5.12 on the CloudBees cloud.

If that is too much hassle (trust me, it isn’t), you can also try out my demo instance. I’m assuming you’ll see some delays once people start hitting it … so it’s best to try it on your own account.

Update: some funny people think it is funny to change the user passwords (I do too, in some way 😉 )… so if you can’t login to my instance you’ll have to wait until I restart it … or run your own instance :-0

9 Comments

  1. Andreas March 12, 2013

    Great post! Did not know cloudbees before and it is actually quite easy to set it up once you get used to the Paas thinking. I followed your recipe and have it running here http://activitiexplorer.tullo.cloudbees.net
    But there seems to be a problem regarding the process instance visualization .. maybe it’s cloudbees related? At least I cannot find diagrams Tijs is writing about here http://bpmn20inaction.blogspot.dk/2013/02/process-diagrams-community-contribution.html Where should I look for it?

  2. Joram Barrez March 13, 2013

    Cool! Glad you also found it easy to set up.

    Indeed, the new process instance doesn’t work. I wonder why, as it is simple html + a simple rest call.
    It sure works locally on my machine. I’ll check why it doesn’t work on cloudbees. Thanks for the heads up.

  3. Luis March 14, 2013

    Wat database have you used? Does it scale horizontally at the same level than Activiti? Any plan to use other types of storage sistema like nosql?

  4. Joram Barrez March 15, 2013

    @Luis: it uses the default in-memory database H2. But CloudBees allows to very trivially add a real DB to your instance (mysql by default I believe). When you have this setup, then indeed Activiti scales horizontally (with the DB being the bottleneck in this architecture).

    We’re indeed looking into nosql, but we haven’t done anything real besides prototyping, and we haven’t got any short-term plans either.

  5. Luis March 16, 2013

    Thanks! Hope to hear soon about those nosql prototypes…

  6. Haris Hashim March 28, 2013

    Hello Joram Barrez,

    Thanks for the intro to cloudBees. Was not aware of it previously. It is great way to quickly play with Activiti.

    I am new to Activiti. Cloudbees is great and have created new instance of Activiti on it. However, the next day new process created previously as well as password changed is lost. Checking the logs show that something happen around 1 PM (looks like a restart, but that does not explain data lost).

    1. Is this Cloudbees limitation for free account?

    OR

    2. Activiti is configured to clear all data at midnight?

    I suspect it is no 2. If so, appreciate it if you can advise on how to configure it to be otherwise.

    TIA,
    Haris

  7. Joram Barrez March 28, 2013

    @Haris Hashim: it could be that indeed Cloudbees deactivates the instances and reactives when needed. Because no durable storage is used in the demo described here, all data is lost. Cloudbees offers also durable relational storage such as Mysql. It’s a matter of configuring Activiti to point to such a database: see http://activiti.org/userguide/index.html#databaseConfiguration

  8. René V May 3, 2013

    @Haris free apps are eligible for hibernation/deactivation. AFAIK paid plans are not deactivated

  9. […] workflow that allows on-premise and cloud (including instant deployment on CloudBees) for different tasks in same flow, solving the issue of exposing part of process to external […]

Leave a Reply

Your email address will not be published. Required fields are marked *