-
Notifications
You must be signed in to change notification settings - Fork 2
Getting Started
digitalsanctum edited this page Oct 11, 2012
·
1 revision
$ git clone https://github.com/cinderella/cinderella.git
$ cd cinderella
$ git submodule init
$ git submodule update
The build will generate JAXB annotated classes for EC2 then uses the maven-shade-plugin to package everything into a single artifact, cinderella.jar.
$ mvn clean package
Create ~/.cinderella/ec2-service.properties
with the following content:
endpoint=YOUR_VCD_ENDPOINT
useratorg=YOUR_VCD_USERATORG
password=YOUR_VCD_PASSWORD
key.YOUR_EC2_ACCESSKEY=YOUR_EC2_SECRETKEY
Cinderella leverages an embedded Jetty container. All that's needed to run is:
$ java -jar cinderella-web/target/cinderella.jar
Application will be available at http://localhost:8080/
Here are some examples using the EC2 API Command Line Tool:
ec2-describe-availability-zones -U http://localhost:8080/api/ -O YOUR_EC2_ACCESSKEY -W YOUR_EC2_SECRETKEY -v --debug
ec2-describe-regions -U http://localhost:8080/api/ -O YOUR_EC2_ACCESSKEY -W YOUR_EC2_SECRETKEY -v --debug