Socket
Book a DemoInstallSign in
Socket

ec2-snapshot-replicator

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ec2-snapshot-replicator

0.1.7
bundlerRubygems
Version published
Maintainers
1
Created
Source

ec2-snapshot-replicator

THIS IS NOT READY TO USE!!

Replicate snapshots to another region with delayed deletion.

Installation

$ gem install ec2-snapshot-replicator

Usage

$ ec2-snapshot-replicator start \
    --delay-deletion-sec=3600 \
    --interval-sec=600 \
    --source-region=ap-northeast-1 \
    --destination-region=us-east-1 \
    --owner-id=123456789

If the above settings are provided:

  • loop the following:
    • If a snapshot in the source region is not found in the destination region, copy it to the destination region and create SourceSnapshotId tag.
    • If a snapshot in the destination region is not found in the source region, create DeleteAfter tag which is (now + 1 day) in seconds since unix epoch.
    • If DeleteAfter time of a snapshot in the destination region is over now, delete it.
    • Sleep 10 minutes

Development

After checking out the repo, run bin/setup to install dependencies. Then, run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release to create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

FAQs

Package last updated on 23 Apr 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.