Find file History
Latest commit 13aea37 Jun 7, 2014 @andrewgaul andrewgaul 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//'

README.md

ec2-createlamp

This is a simple example command line client that creates a lamp server and everything you need to do that in EC2

Build

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

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. It also blocks until the web server is running.

java -jar target/ec2-createlamp-jar-with-dependencies.jar accesskey secretkey create adrianalmighty

Destroying your Instance

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

java -jar target/ec2-createlamp-jar-with-dependencies.jar accesskey secretkey destroy adrianalmighty

License

Copyright (C) 2009-2014 The Apache Software Foundation

Licensed under the Apache License, Version 2.0