tutorial-tls-intro.asciidoc 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. [role="xpack"]
  2. [testenv="basic"]
  3. [[encrypting-internode-communications]]
  4. == Tutorial: Encrypting communications
  5. In the {stack-gs}/get-started-elastic-stack.html[Getting started with the {stack}]
  6. and <<security-getting-started,Getting started with security>> tutorials, we
  7. used a cluster with a single {es} node to get up and running with the {stack}.
  8. You can add as many nodes as you want in a cluster but they must be able to
  9. communicate with each other. The communication between nodes in a cluster is
  10. handled by the {ref}/modules-transport.html[transport module]. To secure your
  11. cluster, you must ensure that the internode communications are encrypted.
  12. NOTE: In this tutorial, we add more nodes by installing more copies of {es} on
  13. the same machine. By default, {es} binds to loopback addresses for HTTP and
  14. transport communication. That is fine for the purposes of this tutorial and for
  15. downloading and experimenting with {es} in a test or development environment.
  16. When you are deploying a production environment, however, you are generally
  17. adding nodes on different machines so that your cluster is resilient to outages
  18. and avoids data loss. In a production scenario, there are additional
  19. requirements that are not covered in this tutorial. See
  20. {ref}/bootstrap-checks.html#dev-vs-prod-mode[Development vs production mode] and
  21. {ref}/add-elasticsearch-nodes.html[Adding nodes to your cluster].
  22. [float]
  23. [[encrypting-internode-prerequisites]]
  24. === Before you begin
  25. Ideally, you should do this tutorial after you complete the
  26. {stack-gs}/get-started-elastic-stack.html[Getting started with the {stack}] and
  27. <<security-getting-started,Getting started with security>> tutorials.
  28. At a minimum, you must install and configure {es} and {kib} in a cluster with a
  29. single {es} node. In particular, this tutorial provides instructions for adding
  30. nodes that work with the `zip` and `tar.gz` packages.
  31. IMPORTANT: To complete this tutorial, you must install the default {es} and
  32. {kib} packages, which include the encrypted communications {security-features}.
  33. When you install these products, they apply basic licenses with no expiration
  34. dates. All of the subsequent steps in this tutorial assume that you are using a
  35. basic license. For more information, see {subscriptions} and
  36. {stack-ov}/license-management.html[License-management].
  37. include::tutorial-tls-certificates.asciidoc[]
  38. include::tutorial-tls-internode.asciidoc[]
  39. include::tutorial-tls-addnodes.asciidoc[]