Feature #378

Improve EC2 compatibility, EBS and Images

Added by Daniel Molina over 10 years ago. Updated almost 9 years ago.

Status:ClosedStart date:10/26/2010
Priority:NormalDue date:
Assignee:Daniel Molina% Done:

0%

Category:-
Target version:Release 3.8
Resolution:fixed Pull request:

Description

Add EC2 EBS compatibility.

  • create_volume
    Creates a new Amazon EBS volume
    PROMPT> econe-create-volume  --size 20
    VOLUME vol-4d826724 20 us-east-1a creating 2008-05-07T11:51:50+0000
    
  • run_instances --block-device
    [snapshot-id]:[size]:[delete-on-termination (true|false)] - this value can be used to map a device to an existing EBS-backed volume by specifying an existing volume name. You can specify a new EBS-backed volume by skipping the snapshot ID and passing in a volume size instead; for example: /dev/sdb=:20.
    PROMPT> econe-run-instances ami-84db39ed -n 1 --b "/dev/sdb=25876::false" 
    
    RESERVATION     r-5488ce3c      054794666394    default
    INSTANCE   i-770af21c  ami-84db39ed   pending   0   m1.small    2010-02-25T00:08:00+0000   us-east-1c  aki-94c527fd    ari-96c527ff      monitoring-disabled   ebs  paravirtual
    
  • describe_volumes
    Describes your Amazon EBS volumes
    PROMPT> econe-describe-volumes
    VOLUME vol-4d826724 800 us-east-1a in-use 2008-02-14T00:00:00+0000
    

Include new image methods.

  • create_image
    Show the new save_as functionality included in OpenNebula.
    Creates an AMI that uses an Amazon EBS root device from a "running" or "stopped" instance.
    By default Amazon EC2 attempts to cleanly shut down the instance before image creation and reboots the instance afterwards
    PROMPT> econe-create-image i-10a64379 --name "Standard Web Server" --description "Standard web server AMI" 
    IMAGE ami-4fa54026
    
  • deregister
    Deregisters the specified AMI. Once deregistered, the AMI cannot be used to launch new instances.
    PROMPT> econe-deregister ami-4fa54026
    IMAGE ami-4fa54026
    

Associated revisions

Revision 7bef5e78
Added by Daniel Molina almost 9 years ago

feature #378: Add EBS support

Revision 696b1844
Added by Daniel Molina almost 9 years ago

feature #378: Fix econe-*-addresses output

Revision 14fcfc90
Added by Daniel Molina almost 9 years ago

feature #378: Add econe-*-volume cli

Revision 0fec2554
Added by Daniel Molina almost 9 years ago

feature #378: Add EBS metadata to images

Revision 50d0ff8f
Added by Daniel Molina almost 9 years ago

feature #378: Improve ec2 error messages

Revision 8cdc24e7
Added by Daniel Molina almost 9 years ago

feature #378: refactor instance functionality and add new ec2 commands: * StartInstances * StopInstances * RebootInstances * DescribeRegions * DescribeAvailabilityZones

Revision a5712695
Added by Daniel Molina almost 9 years ago

feature #378: Fix error xml

Revision c46f8710
Added by Daniel Molina almost 9 years ago

feature #378: Return UnsupportedOperation when the action is not supported

Revision 0e5aac62
Added by Daniel Molina almost 9 years ago

feature #378: Minor fixes in attach and detach

Revision 6e862acb
Added by Daniel Molina almost 9 years ago

feature #378: Small fixes in econe CLI

Revision b9c48623
Added by Daniel Molina almost 9 years ago

feature #378: Improve EBS functionality * Add LICENSE headers * Check if a volume is already attached * Add EBS_VOLUME parameter when an image is created using CreateVolume

Revision e49d79b9
Added by Daniel Molina almost 9 years ago

feature #378: Use EBS_VOLUME instead of EBS when filtering images

Revision 50d8e31c
Added by Ruben S. Montero almost 9 years ago

feature #378: Some minor changes

Revision 5b263fe7
Added by Daniel Molina over 8 years ago

feature #378: Fix econe-*-addresses output(cherry picked from commit 696b1844f3b49493daa9ccea7c09c54aef0ed291)

Revision 93e1e0ff
Added by Daniel Molina over 8 years ago

feature #378: Fix econe-*-addresses output(cherry picked from commit 696b1844f3b49493daa9ccea7c09c54aef0ed291)

Revision e98ccd52
Added by Abel Coronado about 4 years ago

B: Solved bug for 1 disk in disk_resize (#378)

History

#1 Updated by Ruben S. Montero over 10 years ago

  • Target version deleted (Release 2.0.1)

#2 Updated by Ruben S. Montero almost 10 years ago

  • Target version set to Release 3.4

#3 Updated by Ruben S. Montero over 9 years ago

  • Target version deleted (Release 3.4)

#4 Updated by Ruben S. Montero almost 9 years ago

  • Target version set to Release 3.8

#5 Updated by Ruben S. Montero almost 9 years ago

  • Status changed from New to Assigned

#6 Updated by Ruben S. Montero almost 9 years ago

The functionality and OpenNebula specific user-land tools are ready. To finish this documentation must be updated, and some of the commands adapted to use the DSL

#7 Updated by Ruben S. Montero almost 9 years ago

  • Status changed from Assigned to Closed
  • Resolution set to fixed

Created a new issues for the documentation and CLI

Also available in: Atom PDF