Giter Site home page Giter Site logo

erankitcs / terraformansiblewithaws Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 95.59 MB

This projected aimed to practice Terraform and Ansible in AWS. We would be creating Jenkins servers with necessary networking.

License: MIT License

HCL 89.93% Shell 2.28% HTML 7.79%
ansible practice-terraform terraform-aws jenkins aws awsdevops playbook-ansible terraform hcl

terraformansiblewithaws's Introduction

Using Terraform and Ansible with AWS

This projected aimed to practice Terraform and Ansible in AWS. We would be creating Jenkins servers with necessary networking.

Steps to install

  1. Run terraform_install.sh to install terraform
  2. Run install-ansible.sh to install Ansible
  3. Update S3 bucket and AWS Profile in backend.tf
  4. Update profile and DNS in variabled.tf
  5. Update public_key location for both master_keypair and worker_keypair inside instances.tf
  6. Run Terraform commands
  • cd codo/
  • terraform init
  • terroform plan
  • terraform apply

To work with Ubuntu on WSL (Windows 10 with Windows Subsystem for Linux)

  • change to windows drive using cd /mnt/c or cd /mnt/d
  • Export cfg file location eg. export ANSIBLE_CONFIG=/mnt/d/Tech/AWSLearning/TerraformAnsibleWithAWS/code/ansible.cfg

Architecture

Screenshot Thanks to A Cloud Guru for diagram.

Demo

Screenshot

terraformansiblewithaws's People

Contributors

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