New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/grid-x/lightsail-auto-snapshot

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/grid-x/lightsail-auto-snapshot

  • v0.0.0-20191009105456-ebde46dc90a0
  • Source
  • Go
  • Socket score

Version published
Created
Source

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

FAQs

Package last updated on 09 Oct 2019

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc