Sonntag, 5. Januar 2014

CloudControl - setup Scala/Play application

CloudControl ( is a Platform as a Service solution.

You can deploy on it Java  NodeJS  PHP  Python  Ruby applications as well as a lot of Third-Party Buildpacks including Scala/Play ( Its main particularity is that it supports vertical and horizontal scaling.

The following guide explains how to deploy your application on CloudControl.

Typically you can create new application via CloudControl Console (, but custom buildpacks available only through command-line interface. Command-line utilities can be installed using PIP package management system

 sudo easy_install pip  
 sudo pip install cctrl --no-use-wheel —upgrade  

Then you need to create new user or add key for existing one.

 cctrluser create  
 — or —  
 cctrluser key.add  

After that you can create new application

 cctrlapp APP_NAME create custom --buildpack  

If you don’t have Play application yet just create it using following commands and put it under source control.

 play new APP_NAME  
 git init  
 git add .  
 git commit -m "initial commit”  

At the end you have to add new remote repository and push your application into the cloud.

 git remote add cc ssh://  
 cctrlapp zikolach push  
 cctrlapp zikolach deploy  

After few minutes you will have fully working Play2 application in the Cloud and may add necessary add-ons ( from different categories:

  • Data Storage
  • Data Processing
  • Performance & Monitoring
  • Big Data & Analytics
  • Messaging & Mobile
  • Deployment

That's all. Have fun!

Keine Kommentare:

Kommentar veröffentlichen