/infrastructure

Primary LanguageShellApache License 2.0Apache-2.0

ansible-microservice-hackathon

During the microservice hackathon we will need to provision:

log monitoring (log server)

  • elasticsearch
  • redis
  • logstash
  • kibana

metrics collecting (metrics server)

  • graphite
  • graphana

microservice related stuff (app server)

  • zookeeper
  • logstash-forwarder
  • rundeck

deployment related infrastructure: (deploy server)

  • nexus

Playbooks:

Log monitoring

After provisioning just access http://kibana.warsjawa.uservices.pl.

Provisioning

ansible-playbook -i inventory site.yml -vvvv --limit loggers

Metrics monitoring

After provisioning you can access

Provisioning

ansible-playbook -i inventory site.yml -vvvv --limit graphite

Applications

ansible-playbook -i inventory site.yml -vvvv --limit apps

JDK8

Oracle JDK 8u5.

logstash forwarder

Installed as a service that logs to syslog.

Deployment - nexus

After provisioning you can access Nexus at http://nexus.warsjawa.uservices.pl:8081/nexus/#welcome

Installation

ansible-playbook -i inventory site.yml -vvvv --limit loggers

Playbook origins