Transferring data from an Elasticsearch source endpoint
Yandex Data Transfer enables you to migrate search and analytics data from an Elasticsearch database and implement various data transfer, processing, and transformation scenarios. To set up a transfer:
- Review possible data transfer scenarios.
- Prepare the Elasticsearch database for the transfer.
- Set up a source endpoint in Yandex Data Transfer.
- Set up one of the supported data targets.
- Create and launch the transfer.
- Perform the required database tasks while monitoring the transfer status.
- If you run into any problems, check the available solutions for troubleshooting.
Elasticsearch data transfer scenarios
Migration: Moving data from one storage to another. Migration often means migrating a database from obsolete local databases to managed cloud ones.
For a detailed description of possible Yandex Data Transfer scenarios, see Tutorials.
Preparing the source database
Note
Elasticsearch versions lower than 7.x are not supported.
If not planning to use Cloud Interconnect or VPN
For details on linking your network up with external resources, see this concept.
Configuring the Elasticsearch source endpoint
When creating or updating an endpoint, you can configure:
- Custom installation connection settings. These settings are required.
- Optional settings.
Custom installation
Connection to nodes with explicitly specified network addresses and ports.
-
Data nodes: Click
to add a new data node. For each node, specify: -
Host: IP address or FQDN of the host with the
DATArole you need to connect to. -
Port: Port number Data Transfer will use to connect to the host with the
DATArole. -
SSL: Select this option if a secure SSL connection is used.
-
CA certificate: If you need to encrypt data during transfer, e.g., to comply with PCI DSS, upload the certificate or paste its contents as text.
-
Subnet ID: Select or create a subnet in the required availability zone.
If this field has a value specified for both endpoints, both subnets must be hosted in the same availability zone. -
User: Specify the username Data Transfer will use to connect to the cluster.
-
Password: Enter the user password to the cluster.
-
Security groups: Select the cloud network to host the endpoint and security groups for network traffic.
Thus, you will be able to apply the specified security group rules to the VMs and clusters in the selected network without changing the settings of these VMs and clusters. For more information, see Networking in Yandex Data Transfer.
Additional settings
- Dump an index with type mapping: Select this option to move data types from a source to a target before a transfer is started. If the option is disabled and no index schema is set on the target, data types on the target will be identified automatically during a transfer.
Warning
If a source index includes data types that are not supported on the target, enabling this option may cause a transfer run error. In this case, disable the option and create an index schema on the target manually.
Configuring the data target
Configure the target endpoint:
- OpenSearch
- ClickHouse®
- Greenplum®
- Yandex Managed Service for YDB
- Yandex Object Storage
- Apache Kafka®
- YDS
For a complete list of supported sources and targets in Yandex Data Transfer, see Available transfers.
Once you have configured the source and target, create and launch the transfer.