Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for attaching EBS snapshot when creating a new instance #76

Closed
wants to merge 1 commit into from
Closed

Conversation

mfojtik
Copy link
Contributor

@mfojtik mfojtik commented Apr 26, 2011

Hi,

This patch will allow you to attach EBS snapshot when you're creating an instance.
BlockMappings schema was changed in EC2 query API so old way doesn't work anymore.

Syntax for attaching snapshots:

client.launch_instances('ami-8c1fece5', :instance_type => 'm1.small', :block_device_mappings => [ {
  :virtual_name => 'test1',
  :ebs_snapshot_id => 'snap-3d860552',
  :device_name => '/dev/sdc'
} ] )

-- Michal

@treeder
Copy link
Member

treeder commented May 5, 2011

Can you update your fork to latest master, this pull can't be merged cleanly right now.

@mfojtik
Copy link
Contributor Author

mfojtik commented May 6, 2011

Closing this pull request. Issuing a new one with rebased master and fixed typo.

@mfojtik mfojtik closed this May 6, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants