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 #83

Merged
merged 2 commits into from
May 8, 2011
Merged

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

merged 2 commits into from
May 8, 2011

Conversation

mfojtik
Copy link
Contributor

@mfojtik mfojtik commented May 6, 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 treeder closed this May 8, 2011
@treeder treeder reopened this May 8, 2011
treeder added a commit that referenced this pull request May 8, 2011
Added support for attaching EBS snapshot when creating a new instance
@treeder treeder merged commit 97ca145 into appoxy:master May 8, 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