aerolab

Docs home

Deploy the Elasticsearch connector for Aerospike

  1. Create an Aerospike cluster:
# aws
aerolab cluster create -c 2 -I t3a.medium -n mycluster
# docker
aerolab cluster create -c 2 -n mycluster
  1. Create an Elasticsearch cluster, with Aerospike connector preinstalled on each node:
# aws
aerolab client create elasticsearch -c 2 -I t3a.large -n myes
# docker - limit each ES node to 4g ram
aerolab client create elasticsearch -c 2 -r 4 -n myes
  1. Configure the Aerospike cluster to ship records to the connector:
aerolab xdr connect -S mycluster -D myes -c

Testing

  1. Insert 2000 test records:
aerolab data insert -n mycluster -a 1 -z 2000
  1. Query Elasticsearch:

    • Run aerolab client list to get your Elasticsearch server’s IP address.
    • Navigate to the Elasticsearch IP address, port 9200 in your browser to explore the data from Elasticsearch.

For best results, use the FireFox web browser. It has a built-in JSON format explorer, as well as support for self-signed certificates once the warning is acknowledged.

Example URLs:

Replace ELASTICIP with the IP address of your Elasticsearch server.