Coder Social home page Coder Social logo

infrastructure's Introduction

Hoa

Hoa is a modular, extensible and structured set of PHP libraries. Moreover, Hoa aims at being a bridge between industrial and research worlds.

Infrastructure

This repository contains everything required to set up the whole Hoa's infrastructure.

Organisation

We find the following directories:

  • MachineImages, contains scripts to build machine images and the resulting artifacts.
  • Provisioners, contains scripts to provision the artifacts.

Services

Web

Database

Mail

DNS

Repository

Continuous Integration

Search

Documentation

Different documentations can be found on the website: http://hoa-project.net/.

License

Hoa is under the New BSD License (BSD-3-Clause). Please, see LICENSE.

infrastructure's People

Contributors

hywan avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

hywan pierozi

infrastructure's Issues

Deployment on AWS

We have recently choose to go with Amazon hosting solution.
In the Infrastructure as a code solution, we will need be able to deploy our Servers easily.

Important to remind the Workflow :

  1. Packer used to build our own distrib
  2. Packer provision our build with Services scripted
  3. Packer run AMI builder to have an image ready to use and already provisioned
  4. Use deployment scripts to run a new EC2 instance based on AMI.

This deployment script can be done with PHP script, with Hoa\Console and AWS SDK.

Provisionners roadmap

The main goal have to centralise entries of Hoa Services into scripts to be able to deploy in auto installation.

For this purpose we need define a Schema for each Service we want to script.
Each Service have a set of Makefile and Bash scripts.

There is an example with Nginx service.

.
└── Provisioners
    ├── Debian
    │   └── _Preamble
    │   │   ├── README.md
    │   │   ├── Requirements.sh
    │   │   ├── Install.sh
    │   │   ├── Test.sh
    │   │   └── Backup.sh
    │   ├── Nginx
    │      ├── Assets
    │      │   ├── nginx.conf
    │      │   └── virtualhost.conf
    │      ├── README.md
    │      ├── Requirements.sh
    │      ├── Install.sh
    │      ├── Test.sh
    │      └── Backup.sh
    └── Shared
        └── Nginx -> ../Debian/Nginx
  1. Requirements used to test if required dependencies are installed.
  2. Install run the installation package and configuration of services with assets file
  3. Test will run couple scripts with Bats to check installation has successed.
  4. Backup if service need have a way to run backup & restore of data.

_Preamble

_Preamble is not really a Service but a wizard to run multiple Service installation, we can imagine specify a target of each file an list of Service we want in same deployment.

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.