Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.92 KB

README.md

File metadata and controls

48 lines (32 loc) · 1.92 KB

Infrastructure Cookbook

This code for infrastructure (formerly IaC) will let you up and run your infra which will consist of 6 AWS VM's, 3 Front and 3 Backend servers, and configure a Log Collecting system based on Elasticsearch and Kibana

Getting Started

These instructions will get you a copy of the project up and running on your AWS for testing and staging purposes.

$ git clone https://github.com/Hakob/infraascode.git
$ cd infraascode/terraform
$ terraform init
$ cd .. && chmod o+x startup.sh
$ ./startup.sh [plan|apply|destroy]

With this steps will create passphraseless SSH key for further connections to instances.

And then after this you can run ansible's playbooks

$ cd ansible/
$ ansible-playbook -i frontend.ini site.yml
$ ansible-playbook -i backend.ini site.yml

Prerequisites

Before make things done you need to install the following software on your host machine from where you will run this code

Tools

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Hakob Arakelyan - Infra as Code - Hakob

License

This project is licensed under the MIT License - see the LICENSE.md file for details