Table of Contents

Why and What

To implement some functionalities that Amazons EC2 Cloud provides, you have to interface with their command-line API tools. Likely, the product is too young to have the equivalent functionality built-in to their GUI management console yet. For now, we do it this way, and its a little complex.

Requirements

I setup the environment below on a mac. The setup steps are slightly different on a mac, than from what is explained on the amazon docs, which is angled for straight linux/unix. Mostly the difference is in how macs do environment variables and paths. Please adjust accordingly.

Java Setup

X.509 Credentials

You can use existing ones on the existing amazon account (if you have the private key from whoever originally made it), OR You can create your own new ones. Here I made new ones, according to the guide linked above.

Setup EC2 API tools

These are used to run the command line calls that we will use later.

Check to see if working