Euca2ools is designed to be generic and one of the design goals was to not assume a specific endpoint or endpoints. The endpoint could be AWS or any Eucalyptus installation including the UEC or any other EC2 compatible service.

I do not think the proposed fix is in the scope of what the upstream can provide.

> Euca2ools is designed to be generic and one of the design goals was to
> not assume a specific endpoint or endpoints. The endpoint could be AWS
> or any Eucalyptus installation including the UEC or any other EC2
> compatible service.
>
> I do not think the proposed fix is in the scope of what the upstream can
> provide.

I hope that this issue can be addressed under bug 485106. Given a suitable
config file, EC2_URL can be defined there.

In general, though, I hope we can move away from expecting people to set
configuration in environment variable. Basically, given a suitable
configuration file (which could be installed by default or be well
documented), the user should not have to worry about such things.

I agree that given the goals of euca2ools, the default installation of the upstream source should not force AWS-specific options on users. The primary goal of this ticket is to have euca2ools on Ubuntu EC2 AMIs default to AWS/EC2 resources so that when a user runs an Ubuntu AMI, euca2ools commands operate in that environment without further customization. This could be done by setting appropriate environment variables or with appropriate config file settings based on euca2ools enhancements as Scott describes. I'm changing the title of the ticket to reflect the clarified goals.

summary:

- euca2ools: Requires more environment variables than EC2 AMI tools+ euca2ools on Ubuntu AMIs should default to using API URLs for EC2/S3

euca2ools is based on the access key and secret key, while Amazon's EC2 API tools are based on the X.509 certificate and private key. This is a more fundamental incompatibility which I don't expect is going to be changed just to make things seem similar on the surface. If somebody else thinks it should be modified, then it should be a separate bug report.