Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.
/ aws-auto-snapshot Public archive

Tooling for automatically creating snapshots for AWS EBS Volumes and AWS Lightsail instances

License

Notifications You must be signed in to change notification settings

grid-x/aws-auto-snapshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-auto-snapshot

NOTE: As of October 2019 AWS Lightsail supports automatic snapshots with a seven day retention period. It is recommended to use the lightsail version instead of this tool if possible. Details can be found here.

aws-auto-snapshot is a set of tools that help to create snapshots for

  • EBS volumes
  • Lightsail instances

The so-called snapshotter lets you create those snapshots. By default it will snapshot all running lightsail instances in the account and all EBS volumes that have a special backup tag.

It can be configured how long snapshots are stored, i.e. when the tool will prune them.

Generally, you will want to run the tool on a regular basis, e.g. once a day, via, for example, a cron job. At gridX we run it as a cronjob in our Kubernetes cluster.

Metadata about each snapshot can be stored in a datastore. Currently, only DynamoDB is supported as datastore.

If metadata was written to a datastore, this can be used to automatically restore the latest snapshot of a resource. This is currently only supported for the EBS volumes, though.

Develop

# To build
# This will create a file called bin/snapshotter which is the above mentioned
# snapshotting tool
make

# To lint
make lint

# To test
make test

About

Tooling for automatically creating snapshots for AWS EBS Volumes and AWS Lightsail instances

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published