1) Create es domain - # aws --endpoint-url=http://localhost:4566 es create-elasticsearch-domain --domain-name dev-domain --elasticsearch-version 6.8.1 (Note: It take around 5-10 min to up the domain in localstack) 2) Check if domain is up or not(Default port is 4571) - # curl -X GET "http://localhost:9200" 3) Create new index in your domain - # curl -X PUT "localhost:9200/newindex?pretty" 4) List all indices from your domain - # curl -X GET "http://localhost:9200/_cat/indices?pretty" 5) List all elasticsearch domains - # aws --endpoint-url=http://localhost:4566 es list-domain-names 6) Delete domain from elasticsearch - # aws --endpoint-url=http://localhost:4566 es delete-elasticsearch-domain --domain-name dev-domain