Cloud Foundry, Docker, Helion, Helion Stackato

Introducing HPE Helion Stackato

With this new release of HPE Helion Stackato HPE are offering developers an easy way to get started with exploring the power of Cloud Foundry. We are shipping a VirtualBox microcloud, that you can quickly get up and running, as well as support for deploying docker containers.

Easy to deploy

One of the key things we wanted to do with this release was to make it easy for developers to get started. What could be faster than simply importing a virtual appliance with a preconfigured microcloud into Virtual Box? (Sorry no bosh) You can download the bits from, watch a quick video or post on how to configure your microcloud. This will work on Mac, Windows or Linux.

Build and deploy your first application

With Cloud Foundry based platforms such as HPE Helion Stackato, application deployment can be as easy as running a single “push” command. The platform will take care of deploying the application, configuring the network, environment, health monitoring and dependencies. If you have stackato running, you can run a couple of commands to deploy a simple Ruby sample application

git clone

cd scalene
stackato push -n
stackato open scalene

This will deploy the sample application, which will also create a MySQL database bound to this application. You can watch a quick video or post to walk through this.

Scaling your application

Once your application is deployed, you can quickly scale out the application using the stackato scale command.

stackato scale scalene --instances 4

This will take the docker container built during the deployment and runs another 3 instances. HPE Helion Stackato will now round robin the traffic between those instances.

Be careful you don’t try to deploy too many instances as you may break the default quota. Scalene requests 512M (because the dev said so), and the default quota is 2G, 4 instances is the max you can get without changing the quota.

You can view the quota using:

stackato quota show default

Then update the quota configure command:

stackato quota configure --mem 4G default

You can then go and deploy more instances.

Bring your own container

You might have noticed while deploying the scalene application that stackato pulls together docker container for your application. With this release we also added the ability to deploy a docker container directly.

Before you can deploy a container you will need to allow sudo operations or remove the need to allow sudo operations from docker deployments. To do the former use:

stackato quota configure --allow-sudo default

Now you can push a docker container, an example you can use is:

stackato push --docker-image slimypit/stackato-node-hello --as hello-node-docker -n

Now instead of building a container from your application, HPE Helion Stackato will simply deploy your existing docker container.


Cloud Foundry, Helion

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!