Skip to content

Setting Up Euca2ools on a Mac

qyjohn edited this page Jan 12, 2013 · 2 revisions

Note: If you are using Lion, you will need to install Distribute and the latest Mac OS Developer Tools before you can use easy_install. For more information, see http://www.sherman.ca/archives/2011/07/25/lion-broken-python-easy_install/.

  1. Clone the euca2ools from git:

     git clone https://github.com/eucalyptus/euca2ools.git
    
  2. Change to the directory where euca2ools was installed and install boto:

     sudo easy_install boto
    
  3. Run the euca2ools installer:

     sudo python setup.py install
    
  4. Install m2crypto:

     sudo easy_install m2crypto
    
  5. Go to your euca admin gui and get your access key ID and secret key. For example:

     https://192.168.51.185:8443/#key
    
  6. Unzip the the downloaded zip file with the credentials in it and open the eucarc file.

  7. Edit the value for the EUCA_KEY_DIR property to the path where your credentials are stored (e.g., /Applications/euca2ools/creds).

  8. Enter your access key as the value for EC2_ACCESS_KEY.

  9. Enter your secret key as the value for EC2_SECRET_KEY.

  10. Edit the value for the AWS_CREDENTIAL_FILE property to ${EUCA_KEY_DIR}/iamrc

  11. Source the eucarc file.

Clone this wiki locally