GithubHelp home page GithubHelp logo

andrew-the-drawer / ops-compilation Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 0.0 150 KB

Compilation of infrastructure/dev-ops stacks and modules

License: MIT License

Dockerfile 2.53% Shell 19.72% Jinja 1.03% JavaScript 0.45% HCL 1.62% TypeScript 74.66%
devops devops-tools infrastructure ansible ansible-role ansible-playbook terraform terraform-module terraform-aws aws ec2 docker centos cronjob crontab cdk infrastructure-as-code

ops-compilation's Introduction

Ops compilation

Introduction

This is my devops/infrastructure stack-and-module compilation that is easy to set-up for multiple projects from MVPs to large-scale types.

Tech stacks:

  • Terraform
  • Serverless framework (AWS cloudformation)
  • Ansible
  • Docker & Docker swarm
  • Scripting languages (Python, NodeJS, Bash,...)
  • CI frameworks (Github actions, CircleCI,...)

Structure:

  • /core: Contains core setup files (ansible playbooks/roles, terraform modules/stacks, CI templates,...).
  • /config: Contains templated configuration files for each infrastructure stacks, that could be customized depends on each project needs (Dockerfile, docker-compose.yaml, yaml config file,...)
  • /resources: Extra resources/documentation that is attached for some infrastructure stacks/modules

Notes:

If you guys want to contribute, please open a PR from the master branch, I'll review it if possible ๐Ÿ˜€, though I'm quite busy.

Also, any suggestions are welcome by opening new issues in Github, I'll try to discuss on the feature/bug-fixes or answering the questions from you guys.

Thanks again for noticing. Please leave a star if you find this repo useful.

ops-compilation's People

Contributors

andrew-the-drawer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ops-compilation's Issues

Add auto-scaling for docker swarm service on EC2

Since docker swarm doesn't support auto-scaling for services, we need to add ad-hoc system to support auto-scaling

Suggestion: Add monitoring tools for docker swarm --> event trigger for certain thresholds --> Run a command to scale up a system

Bonus:

  • Delay/cool-down period
  • Custom metrics support

Add ansible for PostgreSQL setup

Add a PostgreSQL setup by ansible:

  • Deploy by docker
  • Single mode/cluster mode
  • Backup/restore cronjob using S3 as a object bucket

Can choose to deploy on any remote environment (EC2,...)

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.