diff --git a/deploy-manage/_snippets/deployment-options-overview.md b/deploy-manage/_snippets/deployment-options-overview.md index da1dccaed6..7e9ca88272 100644 --- a/deploy-manage/_snippets/deployment-options-overview.md +++ b/deploy-manage/_snippets/deployment-options-overview.md @@ -3,7 +3,7 @@ * [**{{ecloud}}**](/deploy-manage/deploy/elastic-cloud.md): Get a hosted solution up and running in minutes. * [**{{ech}}**](/deploy-manage/deploy/elastic-cloud/cloud-hosted.md): Our hosted {{stack}} offering, deployed in the cloud with your provider of choice. Sign up for a [14-day free trial](https://cloud.elastic.co/registration). * [**{{serverless-full}}**](/deploy-manage/deploy/elastic-cloud/serverless.md): Create serverless projects for autoscaled and fully managed Elastic deployments. Sign up for a [14-day free trial](https://cloud.elastic.co/serverless-registration). -* [**Local development**](/solutions/search/run-elasticsearch-locally.md): Get started quickly with {{es}} and {{kib}} in Docker for local development and testing. +* [**Local development**](/deploy-manage/deploy/self-managed/local-development-installation-quickstart.md): Get started quickly with {{es}} and {{kib}} in Docker for local development and testing. **Advanced options** diff --git a/deploy-manage/deploy/self-managed/_snippets/start-local.md b/deploy-manage/deploy/self-managed/_snippets/start-local.md deleted file mode 100644 index 9c227c00f9..0000000000 --- a/deploy-manage/deploy/self-managed/_snippets/start-local.md +++ /dev/null @@ -1,39 +0,0 @@ -::::{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](/get-started/deployment-options.md) 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] - -* If you don’t have Docker installed, [download and install Docker Desktop](https://www.docker.com/products/docker-desktop) for your operating system. -* If you’re using Microsoft Windows, then install [Windows Subsystem for Linux (WSL)](https://learn.microsoft.com/en-us/windows/wsl/install). - -## 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: - -```sh -curl -fsSL https://elastic.co/start-local | sh -``` - -After running the script, you can access Elastic services at the following endpoints: - -* **{{es}}**: [http://localhost:9200](http://localhost:9200) -* **{{kib}}**: [http://localhost:5601](http://localhost:5601) - -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](https://github.com/elastic/start-local). Learn about customizing the setup, logging, and more. - -## Next steps [local-dev-next-steps] - -Use our [quick start guides](/solutions/search/get-started/quickstarts.md) to learn the basics of {{es}}. diff --git a/deploy-manage/deploy/self-managed/local-development-installation-quickstart.md b/deploy-manage/deploy/self-managed/local-development-installation-quickstart.md index 8b695e71d0..8fd511d474 100644 --- a/deploy-manage/deploy/self-managed/local-development-installation-quickstart.md +++ b/deploy-manage/deploy/self-managed/local-development-installation-quickstart.md @@ -11,5 +11,42 @@ products: # Local development installation (quickstart) [run-elasticsearch-locally] -:::{include} /deploy-manage/deploy/self-managed/_snippets/start-local.md +::::{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](/get-started/deployment-options.md) 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] + +* If you don’t have Docker installed, [download and install Docker Desktop](https://www.docker.com/products/docker-desktop) for your operating system. +* If you’re using Microsoft Windows, then install [Windows Subsystem for Linux (WSL)](https://learn.microsoft.com/en-us/windows/wsl/install). + +## 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: + +```sh +curl -fsSL https://elastic.co/start-local | sh +``` + +After running the script, you can access Elastic services at the following endpoints: + +* **{{es}}**: [http://localhost:9200](http://localhost:9200) +* **{{kib}}**: [http://localhost:5601](http://localhost:5601) + +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](https://github.com/elastic/start-local). Learn about customizing the setup, logging, and more. + +## Next steps [local-dev-next-steps] + +Use our [quick start guides](/solutions/search/get-started/quickstarts.md) to learn the basics of {{es}}. diff --git a/deploy-manage/index.md b/deploy-manage/index.md index 6fb9aee904..84602ded30 100644 --- a/deploy-manage/index.md +++ b/deploy-manage/index.md @@ -20,7 +20,7 @@ In this section, you'll learn about how to deploy and manage all aspects of your This section focuses on deploying and managing the core components of the {{stack}}: {{es}} and {{kib}}. It also documents deploying and managing supporting orchestration technologies. However, depending on your use case, you might need to deploy other components. [Learn more](/get-started/the-stack.md). :::{tip} -To get started quickly, you can set up a [local development and testing environment](/solutions/search/run-elasticsearch-locally.md), or sign up for a [Serverless](https://cloud.elastic.co/serverless-registration) or [Hosted](https://cloud.elastic.co/registration) trial in {{ecloud}}. +To get started quickly, you can set up a [local development and testing environment](/deploy-manage/deploy/self-managed/local-development-installation-quickstart.md), or sign up for a [Serverless](https://cloud.elastic.co/serverless-registration) or [Hosted](https://cloud.elastic.co/registration) trial in {{ecloud}}. ::: ## Design and deploy diff --git a/redirects.yml b/redirects.yml index fcd3d51792..e654915672 100644 --- a/redirects.yml +++ b/redirects.yml @@ -332,4 +332,7 @@ redirects: 'solutions/search/querydsl-full-text-filter-tutorial.md': 'elasticsearch://reference/query-languages/query-dsl/full-text-filter-tutorial.md' # Related to https://github.com/elastic/docs-content/pull/2719 - 'solutions/search/api-quickstarts.md': 'solutions/search/get-started/quickstarts.md' \ No newline at end of file + 'solutions/search/api-quickstarts.md': 'solutions/search/get-started/quickstarts.md' + +# Related to https://github.com/elastic/docs-content/pull/2745 + 'solutions/search/run-elasticsearch-locally.md': 'deploy-manage/deploy/self-managed/local-development-installation-quickstart.md' \ No newline at end of file diff --git a/solutions/search/get-started/index-basics.md b/solutions/search/get-started/index-basics.md index 51a9a44667..1d271869d4 100644 --- a/solutions/search/get-started/index-basics.md +++ b/solutions/search/get-started/index-basics.md @@ -16,7 +16,7 @@ You can [convert into other programming languages](/explore-analyze/query-filter You can follow this guide using any {{es}} deployment. To see all deployment options, refer to [](/deploy-manage/deploy.md#choosing-your-deployment-type). -To get started quickly, spin up a cluster [locally in Docker](/solutions/search/run-elasticsearch-locally.md). +To get started quickly, spin up a cluster [locally in Docker](/deploy-manage/deploy/self-managed/local-development-installation-quickstart.md). ## Add data to {{es}} [getting-started-index-creation] diff --git a/solutions/search/get-started/semantic-search.md b/solutions/search/get-started/semantic-search.md index 487470d772..e0579d9f1b 100644 --- a/solutions/search/get-started/semantic-search.md +++ b/solutions/search/get-started/semantic-search.md @@ -23,7 +23,7 @@ By playing with a simple use case, you'll take the first steps toward understand ## Prerequisites - If you're using [{{es-serverless}}](/solutions/search/serverless-elasticsearch-get-started.md), create a project with a general purpose configuration. To add the sample data, you must have a `developer` or `admin` predefined role or an equivalent custom role. -- If you're using [{{ech}}](/deploy-manage/deploy/elastic-cloud/cloud-hosted.md) or [running {{es}} locally](/solutions/search/run-elasticsearch-locally.md), start {{es}} and {{kib}}. To add the sample data, log in with a user that has the `superuser` built-in role. +- If you're using [{{ech}}](/deploy-manage/deploy/elastic-cloud/cloud-hosted.md) or [running {{es}} locally](/deploy-manage/deploy/self-managed/local-development-installation-quickstart.md), start {{es}} and {{kib}}. To add the sample data, log in with a user that has the `superuser` built-in role. To learn about role-based access control, check out [](/deploy-manage/users-roles/cluster-or-deployment-auth/user-roles.md). diff --git a/solutions/search/run-elasticsearch-locally.md b/solutions/search/run-elasticsearch-locally.md deleted file mode 100644 index 6c53c7827d..0000000000 --- a/solutions/search/run-elasticsearch-locally.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -navigation_title: Run {{es}} locally -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/reference/current/run-elasticsearch-locally.html -applies_to: - stack: -products: - - id: elasticsearch ---- - -# Run {{es}} locally [run-elasticsearch-locally] - -:::{include} /deploy-manage/deploy/self-managed/_snippets/start-local.md -::: diff --git a/solutions/toc.yml b/solutions/toc.yml index fd7afad0e7..09cf2f1296 100644 --- a/solutions/toc.yml +++ b/solutions/toc.yml @@ -5,7 +5,6 @@ toc: children: - file: search/get-started.md children: - - file: search/run-elasticsearch-locally.md - file: search/serverless-elasticsearch-get-started.md - file: search/search-connection-details.md - file: search/get-started/quickstarts.md