# OpenSearch

OpenSearch provides scalable search and analytics capabilities for your applications. With DuploCloud, you can easily create, configure, and manage OpenSearch instances to support your data indexing and search needs.

## Creating an OpenSearch domain

1. Navigate to **Cloud Services** → **Analytics**, select the **OpenSearch** tab, and click the **Add** button. The **Add OpenSearch Domain** page displays.
2. In the **Domain Name** field, create a name for the OpenSearch domain.
3. In the **OpenSearch Version** field, select the OpenSearch version you are using.
4. Select your needed instance size from the **Data Instance Size** list box.
5. Enter the the instance count in the **Data Instance Count** field, and choose the correct zone(s) from the **Zone** list box.
6. Optionally, enter a key in the **Encryption Key (Optional)** field.
7. In the **Storage (In Gb)** field, enter the amount of storage needed.
8. If needed, select a **Master Instance Count** and **Master Instance Size**.
9. Use the toggle switches to enable encryption options (**Require SSL/HTTPS, Use Latest TLS Cipher,** or **Enable Node-to-Node Encryption**), if needed.

<figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FpvqWtCvxRLao19h8nzpr%2Fscreenshot-nimbusweb.me-2024.03.04-14_45_54.png?alt=media&#x26;token=9b114281-e2d3-4715-837c-c98c23b4a2b1" alt=""><figcaption><p>The <strong>Add OpenSearch Domain</strong> page.</p></figcaption></figure>

10. Optionally, use the toggle switch to **Enable UltraWarm data nodes** (nodes that are optimized for storing large volumes of data cost-effectively). When this option is enabled, additional fields display. Select a **Warm Instance type**, enter **Number of warm data nodes**, and **Enable Cold Storage** as your application requires.<br>

    <figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fpjq2kz8SF1flP5qFIZ2x%2Fscreenshot-nimbusweb.me-2024.02.27-14_39_49.png?alt=media&#x26;token=c2daf471-6ff7-4003-92b0-f623ae82a5b6" alt=""><figcaption><p><strong>Enable UltraWarm data nodes</strong> selected, displaying additional options <strong>(Warm Instance type</strong>, <strong>Number of warm data nodes</strong>, and <strong>Enable Cold Storage</strong>)</p></figcaption></figure>
11. Click **Submit**. The OpenSearch domain is created.

## Creating an OpenSearch domain without EBS storage

To create an OpenSearch without EBS storage, follow the steps to [create an OpenSearch domain](#creating-an-opensearch-domain). In the **Data Instance Size** list box, select **Other**, and enter a storage type instance, For example, `i3.2xlarge.search`. Complete the remaining steps and click **Submit**.

<figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FONODRjhxY6DZ8Yi428t3%2FScreenshot%20(206).png?alt=media&#x26;token=5bb3d388-c89b-4c14-9570-3d1843125317" alt=""><figcaption></figcaption></figure>

## Managing an OpenSearch Instance

From the DuploCloud Portal, you can view OpenSearch instance details, open the AWS Console for the instance, edit configuration settings, upgrade the OpenSearch version, or delete the instance.

1. In the DuploCloud Portal, go to **Cloud Services** → **Analytics**.
2. Select the **OpenSearch** tab.
3. Click the menu icon (<img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2F2zCpjpPJBxCltuVCLA89%2Fmenu%20icon.avif?alt=media&#x26;token=85eee83d-9971-4469-9bcd-61a43626d0fb" alt="" data-size="line">) at the end of the row for the OpenSearch instance you want to manage.<br>

   <figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FBDmia1JdtkplqkcysHE4%2FScreenshot%20(550).png?alt=media&#x26;token=f1acda62-903e-4f0d-978a-fa96eedbe3f5" alt=""><figcaption><p><strong>OpenSearch</strong> tab with menu options highlighted</p></figcaption></figure>
4. Choose one of the following actions:

<table data-header-hidden><thead><tr><th width="195.33331298828125">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>View JSON</strong></td><td>View the JSON representation of the OpenSearch instance configuration.</td></tr><tr><td><strong>Console</strong></td><td>Open the AWS Console to view and manage the OpenSearch domain.</td></tr><tr><td><strong>Edit</strong></td><td>Open the <strong>Edit OpenSearch Domain</strong> pane to update instance configurations, such as node count or size.</td></tr><tr><td><strong>Upgrade</strong></td><td>Upgrade the OpenSearch version for the selected instance.</td></tr><tr><td><strong>Delete</strong></td><td>Permanently remove the OpenSearch instance.</td></tr></tbody></table>

## Managing OpenSearch Logging

See the[ Logging documentation](https://docs.duplocloud.com/docs/automation-platform/overview/use-cases/central-logging/custom-log-collection).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.duplocloud.com/docs/automation-platform/overview/aws-services/elasticsearch.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
