Giter Site home page Giter Site logo

jamesee / mongo-replica-hashicorp-stack Goto Github PK

View Code? Open in Web Editor NEW

This project forked from crizstian/mongo-replica-hashicorp-stack

0.0 1.0 0.0 29 KB

This repo is about creating a mongodb replica set using Packer, Ansible, Terraform and Aws to provision it

Shell 56.02% JavaScript 3.17% HCL 40.82%

mongo-replica-hashicorp-stack's Introduction

Deploy a MongoDB Replica Set in a DevOps fashion style (Infrastructre as Code)

Complete code for the article Deploy a MongoDB Replica Set in a DevOps fashion style (Infrastructre as Code) is a walkthrough in how to set up a MongoDB replica set with authentication using docker + Hashicorp tools in AWS.

Technologies

  • Packer v1.3.1
  • Ansible
  • Terraform v0.11.10
  • Docker 18.06.0-ce
  • MongoDB 4.0.7
  • Bash Scripting

Architecure Diagram

Medium article

PRE-REQUISITES

This is an intermediate DevOps exercise, so I will assume that people who are going to read this article, has experience on the specs mentioned before, I also made this article the most friendly as possible so that beginners can also understand and follow up.

Note: If you want to followup this exercise as it is, you may need to have an aws account, and the Hashicorp binaries installed locally. This may generate a cost for your aws account, but this can also be done on a free tier account.If you're not using an account that qualifies under the AWS free-tier, you may be charged to run these examples. The charge should only be a few cents, but I will not be responsible if it ends up being more. If you are ready to go and have an aws account you will need also to create an aws key pair so you can use this pem file to ssh to the instances that we are going to create in aws.

mongo-replica-hashicorp-stack's People

Contributors

oleksiimorozenko avatar crizstian avatar

Watchers

James Cloos 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.