Skip to content

sachingade20/ebs_snapshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automate ebs volume snapshots

Installation

Clone a copy of the main ebs-snapshot from git repo by running:

$ git clone git://github.com/sachingade20/ebs_snapshot.git

And then execute:

$ bundle

Configure

Within /config you will find several sample configuration files ending in .sample. Simply make copies of these files without the .sample suffix, such as config.yml, and adjust as needed.

Setup volume filter

Update config/config.yml with the configuration required to find out the volumes for snapshot.

Using IAM instance role

Your instance should be IAM role enabled to resolved the credentials using Amazon instance metadata API.

Usage

Create or Delete ebs volume snapshots. Within /bin you will find several clients written for processing snapshot. Please refer examples/*.sample for sender request structure.

Rabbitmq Client - Rabbitmq consumer client which triggers snapshot using messages.

    - Message Queue : "ebs.snapshot"
    - Message Body
        - "create" : creates snapshot using configs from config/config.yml.
        - "delete" : deletes snapshot using configs from config/config.yml.

Ruby Client - Creates and deletes snapshot using configs from config/config.yml.

Rake Task User Guide

See rake -T aws:ebs:snapshot for available rake tasks.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages