GithubHelp home page GithubHelp logo

phpipam-cloud's Introduction

This is a project to run the phpIPAM software for Secom in a hybrid cloud deployment, using Docker containers and a clustered mySQL-compatible database.

The design specifies two homogenous stacks:

PRIVATE CLOUD ---------------- PUBLIC CLOUD [phpIPAM container] [phpIPAM container] [database container] [database container]

The database containers are multi-master members of a 2-node cluster such that each can perform synchronous reads and writes during normal operation. In the case of partitioning, the private cloud side loses its synchronous view of the cluster, and enters read-only mode until communication is restored.

TODO:

  • Database auto-clustering - if a node is rebuilt from scratch it should be able to automatically rejoin the existing cluster and suck down the database
  • Database snapshots - take daily snapshots of the database files, preferably in a quiesced state, so that new containers can boot straight up from an existing snapshot
    • Do a scheduled mysqldump into backup directory
    • Rdiff-backup the backup directory
    • Startup code for the database should import from the backup directory if the app is booting from scratch and can't join an existing cluster
  • Infrastructure as code via Terraform, Saltstack, or similar
    • Shared infra:
      • ContainerHost1
      • AWS VPC
      • DNS hosting service
    • Instantiated for the app:
      • ECS service
      • EC2 t2.micro instance
      • EC2 security group
      • DNS record(s)

phpipam-cloud's People

Contributors

johne-secom avatar

Stargazers

 avatar

Watchers

 avatar

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.