Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 2.21 KB

File metadata and controls

58 lines (38 loc) · 2.21 KB
navigation_title Local installation (quickstart)
mapped_pages
applies_to
deployment
self
products
id
elasticsearch

Local development installation (quickstart) [run-elasticsearch-locally]

::::{warning} DO NOT USE THESE INSTRUCTIONS FOR PRODUCTION DEPLOYMENTS

The instructions on this page are for local development only. Do not use this configuration for production deployments, because it is not secure. Refer to deployment options for a list of production deployment options. ::::

Quickly set up {{es}} and {{kib}} in Docker for local development or testing, using this one-liner in the command line.

:::{info} This setup comes with a one-month trial license that includes all Elastic features. :::

Prerequisites [local-dev-prerequisites]

  • Install Docker Compose.

    In most cases, you need to install Docker Desktop or Docker Engine to access Docker Compose.

    Docker Compose V2 or later is recommended, and is included in Docker Desktop 3.4 and later, and Docker Engine 20.10.13 or later.

    The minimum supported version of Docker Compose is 1.29.0.

  • If you’re using Microsoft Windows, then install Windows Subsystem for Linux (WSL).

Step 1: Run start-local script [local-dev-quick-start]

To set up {{es}} and {{kib}} locally, run the start-local script in the command line:

curl -fsSL https://elastic.co/start-local | sh

After running the script, you can access Elastic services at the following endpoints:

That's it! There's no step 2.

Learn more [local-dev-additional-info]

For more detailed information about the start-local setup, refer to the README on GitHub. Learn about customizing the setup, logging, and more.

Next steps [local-dev-next-steps]

Use our quick start guides to learn the basics of {{es}}.