ES 7 and kibana 7 Installation

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

  1. Install ES v7 on 3 nodes with xpack security enabled
  2. Install kibana v7 without username and password
  3. Once kibana is started , enable 30day trial license on kibana console
  4. Setup passwords on ES for built-in users using ./elasticsearch-setup-passwords interactive
  5. Change username and password that we got in step 4 in kibana.yml and restart kibana
  6. Install certificates for TLS/SSL on ES and restart ES and kibana

Method 2

  1. Install ES v7 on 3 nodes without xpack security
  2. Install kibana v7 without username and password
  3. Once kibana is started , enable 30day trial license on kibana console
  4. Enable xpack security in elasticsearch and restart elasticsearch cluster
  5. Setup passwords on ES for built-in users using ./elasticsearch-setup-passwords interactive
  6. Change username and password that we got in step 5 in kibana.yml and restart kibana.
  7. Install certificates for TLS/SSL on ES and restart ES and kibana

Thanks

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.