Giter Club home page Giter Club logo

ansible-3tier's Introduction

Development of new n-tier app

Overview

New app for teaching Advanced Ansible replacing earlier bad-ansible.

Overall architecture is:

          flask1
lb ->               postgres
          flask2

Concept change from bad-ansible

n-tier app is designed to be well written but monolithic in its construction to all useful exercises in refactoring, introducing modularity, and a backdrop to create roles and or collections from sound a sound ansible code base.

Outline of main flow

  • common

    • setup yum repos (via satellite)

    • setup firewalld

  • setup postgres

    • firewalld rule opening 5432

    • install postgres 10

    • no data load phase - come back to that?

  • setup app tier

    • firewalld rule opening 443

Development Environment

While intended to be deployed on a real cloud or virtualization platform it comes with a Vagrantfile and associated playbooks

Deploying the Database Tier

Notes:

Does firewalld need to be configured?

Resources

  • Jeff Geerling’s Ansible Galaxy Role

  • Useful articles on Postgres

    • Setting it up from scratch

Credits

  • Aditya Patawari and Vikas Aggarwal

    • I used their phone app during debugging

    • Shout out for their Ansible Automation Cookbook

  • Jeff Geerlinguy for his Ansible Galaxy Postgres Role

ansible-3tier's People

Contributors

vdrvergara avatar

Watchers

 avatar  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.