Setting Environment Variables

Euca2ools uses two kinds of credentials to authenticate user identity: X.509 PEM-encoded certificates and access keys. In addition, you must also specify service endpoints.

You must either define a set of environment variables in advance or use command-line options to allow Euca2ools to communicate with the cloud and verify user identity.

For more information, see Working with Euca2ools Configuration Files and the IAM-Compatible Commands.

Variable Option Description
EC2_URL -U, --url <url> http://<host_ip>:8773/services/compute
S3_URL -U, --url <url> http://<host_ip>:8773/services/Walrus
AWS_IAM_URL -U, --url <url> http://<host_ip>:8773/services/Euare
AWS_AUTO_SCALING_URL -U, --url <url> http://<host_ip>:8773/services/AutoScaling
AWS_ELB_URL -U, --url <url> http://<host_ip>:8773/services/LoadBalancing
AWS_CLOUDWATCH_URL -U, --url <url> http://<host_ip>:8773/services/CloudWatch
EUCALYPTUS_CERT --ec2cert_path <file> Path to cloud certificate
EC2_CERT -c, --cert <file> Path to your PEM-encoded certificate
EC2_PRIVATE_KEY -k, -privatekey <file> Path to your PEM-encoded private key
AWS_ACCESS_KEY -a, --access-key <key> Your access key ID
AWS_SECRET_KEY -s, --secret-key <key> Your secret access key