RubyGems Navigation menu

ebs_conductor 0.0.1

ebs_conductor

The EBS Conductor is a library for managing Amazon Elastic Block Storage volumes and snapshots. It is designed to persist a specific set of data (a “lineage”) between different compute instances.

EBS Conductor can be used on it’s own, but it’s most powerful when executed on an EC2 instance using Chef, and the ebs_conductor cookbook

Examples

Attach a new 1GB blan volume in the lineage “foobar” to a linux box at /dev/sdb1

ebs_conductor = Rgeyer::Gem::EbsConductor.new('...','...')
ebs_conductor.attach_from_lineage('i-abcd1234', 'foobar', 1, '/dev/sdb1')

Attach a specific snapshot to a 1GB volume in the lineage “foobar” to a linux box at /devb/sdb1

ebs_conductor = Rgeyer::Gem::EbsConductor.new('...','...')
ebs_conductor.attach_from_lineage('i-abcd1234', 'foobar', 1, '/dev/sdb1' {:snapshot_id => 'snap-abcd1234'})

Snapshot the lineage “foobar”, do not purge any old snapshots in the lineage

ebs_conductor = Rgeyer::Gem::EbsConductor.new('...','...')
ebs_conductor.snapshot_lineage('foobar')

Snapshot the lineage “foobar”, and purge old snapshots so that only 7 remain

ebs_conductor = Rgeyer::Gem::EbsConductor.new('...','...')
ebs_conductor.snapshot_lineage('foobar', {:history_to_keep => 7})

Snapshot the lineage “foobar” from the specified volume_id

This is useful if you’re trying to start a lineage from a “naked” instance, or if you are trying to create a new lineage from an existing one

ebs_conductor = Rgeyer::Gem::EbsConductor.new('...','...')
ebs_conductor.snapshot_lineage('foobar', {:history_to_keep => 7, :volume_id => 'vol-abcd1234'})

List of To Do Items

  • Support for stripes in a lineage

Copyright

Copyright © 2011 Ryan Geyer. See LICENSE.txt for further details.

Gemfile:
= 複製 已複製

安裝:
=

版本列表:

  1. 0.0.4 - July 08, 2011 (13.5 KB)
  2. 0.0.3 - June 23, 2011 (13.5 KB)
  3. 0.0.2 - June 06, 2011 (13.5 KB)
  4. 0.0.1 - June 03, 2011 (13.5 KB)

Runtime 相依性套件 (3):

fog ~> 0.8.2
rest_connection >= 0.0.21
skeme >= 0

Development 相依性套件 (4):

bundler ~> 1.0.0
jeweler ~> 1.5.2
rcov >= 0
shoulda >= 0

擁有者:

作者:

  • Ryan Geyer

SHA 256 checksum:

4980576221a1a5d86276d67dd538f63a9de13ead9c840c94d9461a41a00eb705

總下載次數 15,608

這個版本 3,601

License:

Ruby 版本需求:

相關連結: