Select "Create a new Key Pair", give a name to it and click "Create & Download your Key Pair".

Select "Create a new Security Group", give a name to your new group and add the "ssh" and the "http" rules to your firewall. Click "Continue".

Click "Launch".

Click "Close".

Open a terminal and execute the following command...

Click on "Instances".

"Right-Click" your running instance and click "Connect".

Click "Connect with a standalone SSH Client" and copy the example they give.

Go to your terminal and paste this command. Change the path to your key and the user name from "root" to "ubuntu".

Hit "Enter" and say "yes".

Now it is time to install our software and start TomEE. I am going to use a TomEE server with a pre-installed photodb application. Execute the following lines in order to download it to your Amazon box.