Skip to content

Hakob/infraascode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Infrastructure as Code of 6 nodes with log collecting logic written with terraform and ansible

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published