The application developed is based on one of Amazon’s AWS services, EC2 .This Infrastructure based service helps in setting up Instances (Virtual Machines) which can be used as, “on-demand” basis. The EC2 Management Application is focused primarily to perform operations on these Instances such as Start, Stop, Reboot, Create, Terminate, Create AMI (Image), Launching AMI and also list all Instances and AMI’s present to the user.
Java 100.00%
aws-ec2-management-application's Introduction
Steps for Running the Application
Prerequisite: a) Java SDK 6 should be installed on the system and Class Path should be set for it.
b) Access to EC2 with “Access Key” and “Secret Key”
Prerequisite: a) Java SDK 6 should be installed on the system and Class Path should be set for it.
b) Access to EC2 with “Access Key” and “Secret Key”
1)Extract the Zip File “Fall13-281-Lab-1-DhineshOB.zip” to a folder.
2)Download the AWS SDK for Java from http://aws.amazon.com/sdkforjava/ and include the following library files to the folder “Fall13-281-Lab-1-DhineshOB /EC2Mgmt-281_lib” (Due to Mail attachment constraint)
• aws-java-sdk-1.6.3
• aws-java-sdk-1.6.3-javadoc
• aws-java-sdk-1.6.3-sources
• aws-java-sdk-flow-build-tools-1.6.3
• commons-codec-1.3
• commons-logging-1.1.1
• httpclient-4.2.3
• httpcore-4.2
3)Open “Command Prompt” for Windows
Or “Terminal” for Linux
4)Change Directory to the folder “Execute” of the extracted zip file using command.
(Example: "cd C:\Users\DINO\Desktop\Fall13-281-Lab-1-DhineshOB\”).
5)Run the File “EC2Mgmt-281.jar” using the following command.
java -jar EC2Mgmt-281.jar
6)Enter “Access Key” and “Secret Key” to start the application.
Note: In-Case the application is not running the source files are present in directory "EC2Mgmt-281_Source Files" from the extracted zip file.Run "Fall13-281-Lab-1-DhineshOB\EC2Mgmt-281_Source Files\src\ec2lab\EC2LabMain.java" from a Java IDE.