Friday, March 22, 2013

Connecting Eucalyptus Cloud with AWS Java API

Eucalyptus 3.3  which is going to release within next few month (probably may/june 2013)  has planned to support Latest AWS API including cloud watch and other essentials features.

But before that we can make our hand dirty by making use of limited accessibility with AWS 1.2.12.
Below are step by step procedure to configure development environment in eclipse.

Steps:
1. Download Latest Eclipse Juno Version
2. Install AWS plugin to it.
3. Create a new project
4. Import following jar files into build path
      https://www.dropbox.com/sh/hzkt6bnv8ngzmy6/HZCFZ4gudR
5. Use a sample code in AWSConsoleApp dir in above mentioned link
6. Change AwsCredentials.properties with accessKey & secretKey of your cloud.
7. Change  cloud endpoint with your cloud server url [      ec2.setEndpoint ("http://192.168.12.25:8773/services/Eucalyptus");]
8. Run it
9. That's all...