Pre-requisites: You already have signed-up on CloudBees platform and have, at least, a free subscription on RUN@Cloud.
Step 1: Download and install the CloudBees SDK
Step 2: Deploy your application
-a: application ID
Example for a Tomcat 7 application:
$bees app:deploy -t tomcat7 -a mytomcat7app mytomcat7app.war