Direct EC2 support?

Asked by Gabriela Zambrano

I need a bit of clarification about OpenStack's support of the EC2 API. Does it directly support ec2 commands like ec2 -allocate-address or does it support such calls through Euca2ools like euca2 -allocate -address? I thought it was the latter until I came across some modules in the wiki pages. I think the nova.api.ec2 Module is just ran on the background and handles the interpretation for those euca2ools calls since they are similar to the ec2 calls. If someone can please point me in the right direction I'd appreciate it.

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Vish Ishaya
Solved:
Last query:
Last reply:
Revision history for this message
Vish Ishaya (vishvananda) said :
#1

both the euca tools and the ec2 tools speak to the same xml api. Euca2ools has support for using a custom endpoint whereas the ec2 tools are designed specifically to point to the public amazon endpoint, so the euca2ools are recommended.

Vish

On May 31, 2011, at 9:15 PM, Gabriela Zambrano wrote:

> New question #159843 on OpenStack Compute (nova):
> https://answers.launchpad.net/nova/+question/159843
>
> I need a bit of clarification about OpenStack's support of the EC2 API. Does it directly support ec2 commands like ec2 -allocate-address or does it support such calls through Euca2ools like euca2 -allocate -address? I thought it was the latter until I came across some modules in the wiki pages. I think the nova.api.ec2 Module is just ran on the background and handles the interpretation for those euca2ools calls since they are similar to the ec2 calls. If someone can please point me in the right direction I'd appreciate it.
>
> --
> You received this question notification because you are a member of Nova
> Core, which is an answer contact for OpenStack Compute (nova).

Revision history for this message
Gabriela Zambrano (gabriela1145) said :
#2

Thanks that clears up my issue a bit. Now I understand that the ec2 calls are legacy but does the API support every call or a subset? And if only a subset where can I find that?

Revision history for this message
Best Vish Ishaya (vishvananda) said :
#3

You can get a list of supported calls here:

http://wiki.openstack.org/Nova/EucalyptusFeatureComparison

Volume snapshotting and cloning was just added. Boot from volume should be in soon.

Vish

On Jun 1, 2011, at 1:16 PM, Gabriela Zambrano wrote:

> Question #159843 on OpenStack Compute (nova) changed:
> https://answers.launchpad.net/nova/+question/159843
>
> Status: Answered => Open
>
> Gabriela Zambrano is still having a problem:
> Thanks that clears up my issue a bit. Now I understand that the ec2
> calls are legacy but does the API support every call or a subset? And
> if only a subset where can I find that?
>
> --
> You received this question notification because you are a member of Nova
> Core, which is an answer contact for OpenStack Compute (nova).

Revision history for this message
Gabriela Zambrano (gabriela1145) said :
#4

Thanks Vish Ishaya, that solved my question.