Skip to content

Commit cecb26a

Browse files
committed
use snippet
1 parent 95d5fa5 commit cecb26a

File tree

1 file changed

+2
-56
lines changed

1 file changed

+2
-56
lines changed

deploy-manage/deploy/self-managed/local-development-installation-quickstart.md

Lines changed: 2 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -7,59 +7,5 @@ applies_to:
77
self:
88
---
99

10-
11-
12-
# Local development installation (quickstart) [run-elasticsearch-locally]
13-
14-
15-
::::{warning}
16-
**DO NOT USE THESE INSTRUCTIONS FOR PRODUCTION DEPLOYMENTS**
17-
18-
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](../../../get-started/deployment-options.md) for a list of production deployment options.
19-
20-
::::
21-
22-
23-
Quickly set up {{es}} and {{kib}} in Docker for local development or testing, using the [`start-local` script](https://github.com/elastic/start-local?tab=readme-ov-file#-try-elasticsearch-and-kibana-locally).
24-
25-
This setup comes with a one-month trial license that includes all Elastic features. After the trial period, the license reverts to **Free and open - Basic**. Refer to [Elastic subscriptions](https://www.elastic.co/subscriptions) for more information.
26-
27-
28-
## Prerequisites [local-dev-prerequisites]
29-
30-
* If you don’t have Docker installed, [download and install Docker Desktop](https://www.docker.com/products/docker-desktop) for your operating system.
31-
* If you’re using Microsoft Windows, then install [Windows Subsystem for Linux (WSL)](https://learn.microsoft.com/en-us/windows/wsl/install).
32-
33-
34-
## Run `start-local` [local-dev-quick-start]
35-
36-
To set up {{es}} and {{kib}} locally, run the `start-local` script:
37-
38-
```sh
39-
curl -fsSL https://elastic.co/start-local | sh
40-
```
41-
42-
This script creates an `elastic-start-local` folder containing configuration files and starts both {{es}} and {{kib}} using Docker.
43-
44-
After running the script, you can access Elastic services at the following endpoints:
45-
46-
* **{{es}}**: [http://localhost:9200](http://localhost:9200)
47-
* **{{kib}}**: [http://localhost:5601](http://localhost:5601)
48-
49-
The script generates a random password for the `elastic` user, and an API key, stored in the `.env` file.
50-
51-
::::{warning}
52-
This setup is for local testing only. HTTPS is disabled, and Basic authentication is used for {{es}}. For security, {{es}} and {{kib}} are accessible only through `localhost`.
53-
54-
::::
55-
56-
57-
58-
## Learn more [local-dev-additional-info]
59-
60-
For more detailed information about the `start-local` setup, refer to the [README on GitHub](https://github.com/elastic/start-local). Learn about customizing the setup, logging, and more.
61-
62-
63-
## Next steps [local-dev-next-steps]
64-
65-
Use our [quick start guides](https://www.elastic.co/guide/en/elasticsearch/reference/current/quickstart.html) to learn the basics of {{es}}.
10+
:::{include} /deploy-manage/deploy/self-managed/_snippets/start-local.md
11+
:::

0 commit comments

Comments
 (0)