Get Started

Prerequisites

  • Java 7+
  • VirtualBox 4.2 or newer
  • Git
  • Maven 3 or newer

Installation & Setup

Start by logging in to the CloudCaptain Console using your AWS Credentials. From there download the CloudCaptain Client and extract it. Now add the root directory of the extracted archive to the PATH.

Let's check out and build our test project:

> git clone https://github.com/spring-projects/spring-petclinic.git
> cd spring-petclinic
> mvn package

Generating a Bootable App and deploying on VirtualBox

To turn our test project into a Bootable App and deploy it on VirtualBox, all we need is this:

> boxfuse run target/petclinic.war

Deploying the same Bootable App on AWS

We can now deploy the Bootable App unchanged on AWS:

> boxfuse run target/petclinic.war -platform=aws

Done!