Skip to content
Alex edited this page Jan 16, 2023 · 1 revision

As deploy tool for microservices - Ansible was chosen because of its flexibility and easy-to-use approach Folder - ms-deploy

Deploy guide:

  • setup hosts file with your server ips
  • check that servers are accessible: ansible all -m ping
  • setup env files in env folder with provided examples
  • configure server_name in files/ads.nginx.conf
  • configure hosts in files/filebeat.config.yml
  • run each script in the next order:
    • ansible-playbook setup.yml
    • ansible-playbook postgres.yml
    • ansible-playbook rabbitmq.yml
    • ansible-playbook elasticsearch.yml
    • ansible-playbook filebeat.yml
    • ansible-playbook kibana.yml
    • ansible-playbook nginx.yml
    • ansible-playbook ../ads/deploy/deploy.yml
    • ansible-playbook ../auth/deploy/deploy.yml
    • ansible-playbook ../geocoder/deploy/deploy.yml
Clone this wiki locally