---
title: "Cloud server with OpenSearch"
sidebar_label: "OpenSearch"
sidebar_position: 14
toc_max_heading_level: 3
description: "How to create a cloud server to work with logs via OpenSearch"
---

import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
import {TabItemLabel} from '@selectel/docux/components'
import {CustomTable} from '@selectel/docux/components'
import Formbricks from '@theme/MDXComponents/Formbricks'
import EditIcon from '@selectel/docux/icons/edit'
import CheckIcon from '@selectel/docux/icons/check'
import CopyIcon from '@selectel/docux/icons/copy'
import IssueS3Key from '@site/i18n/en/docusaurus-plugin-content-docs/current/_partials/common/issue-s3-key.mdx'
import CreateServer from '@site/i18n/en/docusaurus-plugin-content-docs/current/_partials/cloud-servers/applications/create-server-for-apps.mdx'

# Cloud server with OpenSearch

OpenSearch is an open-source search and analytics system. A cloud server with OpenSearch acts as a collector and visualizer for logs from the Selectel cloud platform.

You can configure scheduled automatic backups for a cloud server. You can restore a server volume from a backup.

You can [create a cloud server with the OpenSearch application pre-installed](#create-cloud-server-with-opensearch). The application runs on a cloud server with the Ubuntu 24.04 LTS 64-bit operating system configured.

Before creating a cloud server with an application, review the [software license agreements](https://423.selcdn.ru/kb/license-agreements-for-application-images-LANG.pdf) included in the image.

## Minimum resource requirements \{#minimum-requirements}

<CustomTable>
  <table>
    <tbody>
      <tr>
        <th>Number of vCPUs</th><td>2</td>
      </tr>

      <tr>
        <th>RAM</th><td>2 GB</td>
      </tr>

      <tr>
        <th>Boot volume</th><td>20 GB</td>
      </tr>

      <tr>
        <th>GPU availability</th><td>Not required</td>
      </tr>
    </tbody>
  </table>
</CustomTable>

## Create a cloud server with OpenSearch \{#create-cloud-server-with-opensearch}

For OpenSearch to work, the cloud server must be accessible from the internet. To do this, when creating the server, you need to create a private subnet and connect a public floating IP address. To set up OpenSearch, you must specify the application parameters when creating the server.

After the server with OpenSearch is created, a free [TLS certificate from Let’s Encrypt®](/certificates-manager/certificates/lets-encrypt.mdx) will be automatically issued for the domain you specify. To issue the certificate, you need to add an A record for the domain and specify the server's public floating IP address in the record value. You can add the domain to [Selectel DNS Hosting (actual](/dns-hosting/)).

1. [Create a public floating IP address](#create-floating-ip).

2. Optional: [add an A record for the domain](#add-a-record).

3. [Create a service user](#add-service-user).

4. [Issue an S3 key to the service user](#issue-s3-key).

5. [Create a cloud server with OpenSearch](#create-opensearch-server).

### 1. Create a public floating IP address \{#create-floating-ip}

Create a public floating IP address to access the OpenSearch Dashboard web interface.

Use the [Create a public floating IP address](/cloud-servers/cloud-networks/public-floating-ip-addresses.mdx#create-public-floating-ip) section of the [Public floating IP addresses](/cloud-servers/cloud-networks/public-floating-ip-addresses.mdx) guide.

### 2. Optional: add an A record for the domain \{#add-a-record}

Add an A record if you need access to the OpenSearch Dashboard web interface via a domain. Skip this step if you only need access to the dashboard via a public floating IP address.

Use the [Add a resource record](/dns-hosting/records/add-record.mdx) guide.

Specify:

* [resource record type](/dns-hosting/records/add-record.mdx#record-types) — A;
* record value — the public floating IP address that you [created in step 1](#create-floating-ip).

### 3. Create a service user \{#add-service-user}

[Create a service user](/access-control/manage/add-user.mdx#add-service-user), in the permissions select the [`member`](/access-control/role-reference.mdx#member) or [`reader`](/access-control/role-reference.mdx#reader) role and the **Projects** scope. Users can be created by the [Account Owner](/access-control/user-types.mdx#account-owner) or users with the [`iam.admin`](/access-control/role-reference.mdx#iam-admin).

### 4. Issue an S3 key to the service user \{#issue-s3-key}

<IssueS3Key />

### 5. Create a cloud server with OpenSearch \{#create-opensearch-server}

<CreateServer AppNameInPanel="Cloud Opensearch" MinConfig="2 vCPU, RAM starting from 2 GB and a boot disk size starting from 20 GB" OptionalVolumes="Optional: add an additional" VolumeSize="Specify the size of the network disk in GB or TB">
  4. Fill in the application parameters:

     4.1. In the **Domain zone** field, enter the domain for accessing OpenSearch Dashboards, which you [added in step 2](#add-a-record).

     4.2. Enter the email address of the OpenSearch Dashboards administrator. This email will be used to issue SSL certificates.

     4.3. Enter the administrator username to log in to OpenSearch Dashboards. If this parameter is not set, the default value is `admin`.

     4.4. Enter the administrator password to log in to OpenSearch Dashboards.

     4.5. In the **AWS\_ACCESS\_KEY\_ID** field, enter the Access key value — the key for accessing logs, which you [issued in step 4](#issue-s3-key).

     4.6. In the **AWS\_SECRET\_ACCESS\_KEY** field, enter the Secret key value — the key for retrieving logs, which you [issued in step 4](#issue-s3-key).

     4.7. Optional: open the **Additional application parameters** block and specify the retention period — the number of days logs will be stored. By default, logs are stored for seven days.
</CreateServer>

<Formbricks />
