Coder Social home page Coder Social logo

configmanagement_devopslk's Introduction

Configuration Management - using Ansible

This Gudance is about Ansible Configuration Management on AWS Cloud (EC2 Instance) to configure nginx webserver.

#Prerequisite:

  1. Create AWS Account
  2. Spin up a new EC2 Instance using AMI2 distrubution
  3. Enable ssh service (port 22/tcp) from any source via AWS Security Group attached with EC2 instance created above.
  4. Enable Password Authentication of each instance (/etc/ssh/sshd_config) PasswordAuthentication yes systemctl restart sshd

#Local setup with SSH authentications:

  1. Create ssh keys on Control Node (from ec2-user) ssh-keygen

  2. Copy ssh key (public key) to manage nodes (as ec2-user) ssh-copy-id ec2-user@instance-ip

#Ansible Installation:

  1. Install Ansible
  2. Add IP Address of Manage nodes into following files. ansible/inventory ansible/roles/deploy_nginx/test/inventory

#Execute Ansible Playbook

  1. Run "install_repo_update.yml" to install packages and update packages

  2. Run "playbook.yml" to run nginx deployment

configmanagement_devopslk's People

Contributors

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