Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master

JCLOUDS-546: Remove Javadoc @author annotations

Annotations removed with:

find -name \*.java | xargs sed -i /@author/d

Empty Javadoc removed with multiple iterations of:

find -name \*.java | xargs sed -i -z 's/ \*\n \*\// \*\//'
find -name \*.java | xargs sed -i -z 's/ \* \n \*\// \*\//'
find -name \*.java | xargs sed -i -z 's/\/\*\*\n \*\/\n//'
latest commit 13aea370eb
@andrewgaul andrewgaul authored

README.md

ec2-computeservice-spot

This is a simple example command line client that creates a spot instance in EC2 using the ComputeService interface.

Build

Ensure you have maven 3.02 or higher installed, then execute 'mvn install' to build the sample.

Note you'll also need to ensure you have an ssh key in your home directory.

Run

Invoke the jar, passing your aws credentials and the name you wish to create or destroy

Creating your Instance

The create command will create a keypair, security group, and an instance in running state.

java -jar target/ec2-computeservice-spot-jar-with-dependencies.jar accesskey secretkey groupname create

Destroying your Instance

The destroy command will clear up the instance, key, and security group.

java -jar target/ec2-computeservice-spot-jar-with-dependencies.jar accesskey secretkey groupname destroy

License

Copyright (C) 2009-2014 The Apache Software Foundation

Licensed under the Apache License, Version 2.0

Something went wrong with that request. Please try again.