aerolab

Docs home

Deploy a Rest Gateway

Use the Aerospike REST Gateway to communicate with an Aerospike cluster via RESTful requests.

  1. Create a test cluster with three nodes
aerolab cluster create -n bob -c 3
  1. Insert test data into namespace test
aerolab data insert -z 10000 -u 5 -n bob -m test
  1. Deploy a Rest Gateway client
aerolab client create rest-gateway -n myrest -C bob
  1. Attach to the Rest Gateway machine and execute a scan
aerolab attach client -n myrest
$ curl http://localhost:8080/v1/scan/test

Notes