To deal with instances on Amazon EC2 you need the Amazon EC2 API Tools. You can download it here:
This command line tools are used to access the EC2 instances. To use this tools you need Java 1.5 or higher and you need to setup the System Variable “JAVA_HOME”. How to set up the tools with the certificates you can read in the User Guide.