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 http://bit.ly/hpestackato, 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 https://github.com/Pilchuck/scalene
stackato push -n
stackato open scalene
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.
THIS POSTING IS PROVIDED “AS IS” WITH NO WARRANTIES, AND CONFERS NO RIGHTS