Installing the Elastic Stack
editInstalling the Elastic Stack
editWhen installing the Elastic Stack, you must use the same version across the entire stack. For example, if you are using Elasticsearch 8.16.0, you install Beats 8.16.0, APM Server 8.16.0, Elasticsearch Hadoop 8.16.0, Kibana 8.16.0, and Logstash 8.16.0.
If you’re upgrading an existing installation, see Upgrading the Elastic Stack for information about how to ensure compatibility with 8.16.0.
For an example of installing and configuring the Elastic Stack, you can try out our Tutorial 1: Installing a self-managed Elastic Stack. After that, you can also learn how to secure your installation for production following the steps in Tutorial 2: Securing a self-managed Elastic Stack.
Network requirements
editTo install the Elastic Stack on-premises, the following ports need to be open for each component.
Default port | Component |
---|---|
3002 |
Enterprise Search |
5044 |
Elastic Agent → Logstash |
5601 |
Kibana |
8220 |
Elastic Agent → Fleet Server |
9200-9300 |
Elasticsearch REST API |
9300-9400 |
Elasticsearch node transport and communication |
9600-9700 |
Logstash REST API |
Each Elastic integration has its own ports and dependencies. Verify these ports and dependencies before installation. Refer to Integrations.
For more information on supported network configurations, refer to Elasticsearch Ingest Architectures.
Installation order
editInstall the Elastic Stack products you want to use in the following order:
- Elasticsearch (install instructions)
- Kibana (install)
- Logstash (install)
- Elastic Agent (install instructions) or Beats (install instructions)
- APM (install instructions)
- Elasticsearch Hadoop (install instructions)
Installing in this order ensures that the components each product depends on are in place.
Installing on Elastic Cloud
editOur hosted Elasticsearch Service is available on AWS, GCP, and Azure, and you can try it for free.
Installing on Elastic Cloud is easy: a single click creates an Elasticsearch cluster configured to the size you want, with or without high availability. The subscription features are always installed, so you automatically have the ability to secure and monitor your cluster. Kibana is enabled automatically, and a number of popular plugins are readily available.
Some Elastic Cloud features can be used only with a specific subscription. For more information, see https://www.elastic.co/pricing/.