Building-an-Elasticsearch-Cluster-with-Amazon-Elasticsearch-Service-on-AWS

Building an Roburst Search Application with help of aws-elasticsearch , aws api gateway and aws lambda


Project maintained by AditModi Hosted on GitHub Pages — Theme by mattgraham

Building-an-Elasticsearch-Cluster-with-Amazon-Elasticsearch-Service-on-AWS

Building an Roburst Search Application with help of aws-elasticsearch , Kibana , aws api gateway and aws lambda

2020-04-25 (68)

Elasticsearch is an open-source search and analytics engine.

2020-04-25 (66)

Kibana is a data visualization tool for Elasticsearch.

lambda is a serverless compute service. ability to run code without provisioning or maintaining servers.

api gateway is ability to create, publish, monitor, maintain and secure api’s .

Steps

1.Create an Elasticsearch Domain

2020-04-25 (79)

Follow the steps to create a Elasticsearch Domain with t2.small instance as it is within aws free tier.

during the steps , creating a policy which includes granting permission to allow ip access to domain .

the example of policy is policy.json.

2.Uploading data to your ES domain is done with help of curl command.

the queries of curl command are in curl commands.txt file in which placing of domainname with your name.

the bulk data includes product_bulk.json file which contains data.

3.The lambda function contains nodejs code for querying an Elasticsearch domain.

4.with api gateway, create a method and get request

2020-04-25 (81)

deploy the api

5.Execute the Application

apigateway must include the http address of your domain.

then execute the html code in your favourite browser.

2020-04-25 (67)

Kibana can also be used to visualize and search data with help of a great UI .