Giter Club home page Giter Club logo

webapp-deployment-with-ansible's Introduction

WebApp Deployment With Ansible

Architecture

ansible

The diagram above depics the infrastrucure we are going to be setting up. Using Ansible, a configuration management tool, we will be deploying a webapp to several host nodes.

At a high level, our webapp is said to be stored in a github repo and has to be deployed to webservers. Here's how.

  • We will create a common user in master node and all host nodes
  • Set a password for the user and configure password authentication
  • Give newly created user Sudo rights on all nodes
  • Install nano editor on all nodes as we will be using CentOS. PS: this is not required for amazon Linux2
  • Install ansible on master node only
  • Install apache to serve the webapp on all nodes
  • Pull the webapp from github into the ansible master node
  • Configure the master node to ssh into all host nodes without password prompt by creating an internal keypair in the master node and sharing with host nodes.
  • Create an inventory in the master node containing the webservers
  • Create and run an ansible playbook to deploy the webapp to hostnodes through a series of tasks...

webapp-deployment-with-ansible's People

Contributors

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