Giter VIP home page Giter VIP logo

aws-lightsail-backup's Introduction

Which problem this project solves?

AWS Lightsail is amazing but it does not take instance snapshots for Windows instances. I have created this project to solve this problem.

This repo contains two projects:

  1. backup: it contains a docker image source code that is meant to backup windows instances on AWS Lightsail. The docker image contains a script that will 1. stop the instance; 2. take a snapshot; 3. get the instance running again.

  2. automatic-snapshot-deletion: this folder contains a nodejs docker image source code that will delete all the instance snapshots on AWS Lightsail after 90 days. Since the backup will only store the snapshots, this one will delete them after 90 days to avoid unnecessary charges.

How can you get that live on AWS?

I built those images into and stored them into my ECR (Elastic Container Registry) and created an Amazon ECS Task for each one of them. Then I created a cluster and added those tasks as "Scheduled Tasks" to run about 3am every day. Those tasks will day once the processing is completed.

aws-lightsail-backup's People

Contributors

felipegouveiae avatar

Stargazers

Adriano Lima avatar

Watchers

James Cloos avatar  avatar

Forkers

adrianomorsa

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.