Building your first Helion Development Platform app

In this post, i’m going to walk through building and deploying a very simple application.

If you have been following along on my previous posts – you might have a running Helion Development Platform (HDP) cluster running in HP public cloud. If you don’t, you can follow along and build a micro-cloud.

First task is to build an application.

Since the application actually doesn’t matter, lets start with a very simple PHP application. 


      <title>My First CF App</title>
      <?php phpinfo(); ?>

We could try to push this straight into our cluster, but ideally we want to create an application manifest. The manifest will capture important metadata about our application, such as resource requirements, dependent services etc.


– name: helion-phpinfo
  mem: 32M
  disk: 1024M
  instances: 3

There are a couple of interesting things about to talk about:

  1. The file format follows a very strict format. 3 -‘s, followed by the applications: tag, then -{space}name: Other tags are inline with name:
  2. The buildpack is a hint (a very strong one) about what frameworks/runtimes our application needs to run. HDP can figure this out for some applications, but its good practice to specify the one you want – including the version!
  3. Instances are 3 – this means there will be 3 copies of the application running behind router (think load balancer for now).

Now we have our app – we can push this out to our HDP cluster. You will need to download and install the helion client – a link to which is on the portal.

helion push -n

Will publish the application and start it. You can view the running apps using:

helion apps

And to navigate to your application, try:

helion open helion-phpinfo

Even though this is a very simple application, we can use it to learn a lot more about deploying and managing applications on the Helion Development Platform. I’ll tackle some of these in the next few posts!