A web-based ssh console to execute commands and manage multiple EC2 instances simultaneously running on Amazon Web Services (AWS). EC2Box allows you to share terminal commands and upload files to all your EC2 instances. Once the sessions have been opened you can select a single EC2 instance or any combination to run your commands. Also, additional instance administrators can be added and their terminal sessions and history can be audited.
Java JDK 1.7 or greater http://www.oracle.com/technetwork/java/javase/overview/index.html
Browser with Web Socket support http://caniuse.com/websockets
**Note: In Safari if using a self-signed certificate you must import the certificate into your Keychain. Select 'Show Certificate' -> 'Always Trust' when prompted in Safari
Maven 3 or greater ( Only needed if building from source ) http://maven.apache.org
If your not big on the idea of building from source...
Download ec2box-jetty-vXX.XX.tar.gz
https://github.com/skavanagh/EC2Box/releases
Export environment variables
export JAVA_HOME=/path/to/jdk
export PATH=$JAVA_HOME/bin:$PATH
Start EC2Box
./startEC2Box.sh
How to Configure SSL in Jetty (it is a good idea to add or generate your own unique certificate)
http://wiki.eclipse.org/Jetty/Howto/Configure_SSL
Export environment variables
export JAVA_HOME=/path/to/jdk
export M2_HOME=/path/to/maven
export PATH=$JAVA_HOME/bin:$M2_HOME/bin:$PATH
In the directory that contains the pom.xml run
mvn package jetty:run
**Note: Doing a mvn clean will delete the H2 DB and wipe out all the data.
Open browser to https://<whatever ip>:8443
Login with
username:admin
password:changeme
Steps:
- Set your AWS credentials
- Import the private key used on your EC2 systems (note: The EC2 server will only show if the private key has been imported)
- Start composite-ssh sessions or create and execute a script across multiple sessions
- Add instance administrator accounts
- Audit sessions for instance administrators
Sean Kavanagh