I have to install Elasticsearch v7 on 3 nodes and kibana v7 on 1 node. All the nodes have RHEL 7 and java 8 installed.
I have read the documents on the websites regarding installation and I am confused. My requirement also includes enabling xpack security and also encrypt communication between ES nodes.I have come up with below two methods for installation.Please let me know if any of the them are correct
Method 1
- Install ES v7 on 3 nodes with xpack security enabled
- Install kibana v7 without username and password
- Once kibana is started , enable 30day trial license on kibana console
- Setup passwords on ES for built-in users using ./elasticsearch-setup-passwords interactive
- Change username and password that we got in step 4 in kibana.yml and restart kibana
- Install certificates for TLS/SSL on ES and restart ES and kibana
Method 2
- Install ES v7 on 3 nodes without xpack security
- Install kibana v7 without username and password
- Once kibana is started , enable 30day trial license on kibana console
- Enable xpack security in elasticsearch and restart elasticsearch cluster
- Setup passwords on ES for built-in users using ./elasticsearch-setup-passwords interactive
- Change username and password that we got in step 5 in kibana.yml and restart kibana.
- Install certificates for TLS/SSL on ES and restart ES and kibana
Thanks