Skip to content

Vagrant box with Elastic Stack πŸ”¨ ⏱ πŸ“Š

License

Notifications You must be signed in to change notification settings

rdrgporto/elastic-stack-vagrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Welcome to Elastic Stack Vagrant!

Introduction

This repository was created with the aim of testing Elastic Stack easily. More information about this stack: Elastic

Compatibility

πŸ‘οΈ This repository use the latest version by default. You can change the version by modifying inventories/staging/group_vars/staging.yml.

Product Version
Elasticsearch 7.17.21, 8.13.3
Kibana 7.17.21, 8.13.3
Logstash 7.17.21, 8.13.3
Elastic Agent 7.17.21, 8.13.3
Beats 7.17.21, 8.13.3

Credentials

User Password
elastic thanos

πŸ‘οΈ Elasticsearch and Kibana uses TLS/SSL by default.

First Steps

  • Download Vagrant : Link
  • Download Virtualbox: Link

Up and SSH

Install Git

  • Linux 🐧

sudo apt -y install git --> Ubuntu/Debian
sudo yum -y install git --> CentOS/RedHat

git clone https://github.com/rdrgporto/elastic-stack-vagrant.git
  • Windows 🏁

    Download Git Bash and install it:

git clone https://github.com/rdrgporto/elastic-stack-vagrant.git

Run Vagrant πŸš€

Vagrant is configured with two kinds of network, internal and public. You can use public network in order to login via any kind of SSH client (Putty, MobaXterm, Termius):

cd /home/rdrgporto/elastic-stack-vagrant/
vagrant up

If everything was fine, login via SSH:

vagrant ssh

Vagrant Commands

vagrant up        : start vm
vagrant destroy   : remove/delete vm
vagrant ssh       : connect to vm
vagrant halt      : shutdown vm
vagrant provision : relaunch Ansible