Coder Social home page Coder Social logo

maxkrivich / aws-terraform-ansible-docker-elk-python Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 54 KB

Example of usage ELK-stack deployed to AWS cloud

License: MIT License

Dockerfile 0.95% HCL 4.30% Shell 0.13% Python 93.10% Makefile 1.53%
terraform ansible aws elk docker-compose python sanic-framework uvloop asyncio pipenv python38 elk-stack filebeat

aws-terraform-ansible-docker-elk-python's Introduction

ELK-stack + docker-compose + terraform + ansible + AWS example

This is a small example of ELK stack usage deployed to AWS cloud. For the purposes, I have used two t2.medium AWS EC2 instances, running linux installed with Docker and docker-compose. Instance 1st is running a python sanic web app + filebeat and 2nd instance is running ELK stack (Elasticsearch, Logstash, Kibana). The infrastructure provisioned + configured with terraform and ansible.

image image

Description

Each folder contains README.md file how to launch the whole environment.

Pre-install

$ pip install boto==2.49.0
$ ansible-galaxy install -r infra/ansible/requirements.yml

Make usage

$ make help
help                           This help
terraform-init                 Init terraform project
terraform-plan                 Show terraform plan to apply
terraform-apply                Apply changes on infrastructure
ansible-setup                  Setup EC2 instances
elk-up                         Launch ELK stack
elk-down                       Stop ELK stack
echo-up                        Launch echo service + filebeat
echo-down                      Stop echo service + filebeat
clean-pyc                      Remove complied files

Links

aws-terraform-ansible-docker-elk-python's People

Contributors

dependabot[bot] avatar maxkrivich avatar

Watchers

 avatar  avatar

aws-terraform-ansible-docker-elk-python's Issues

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.