Trace of Data Using Amazon OpenSearch Service
Tags: aws, amazonopensearch, iamrole, data
Published: 2024-04-07 07:16:20

“ I have checked the documents of AWS to get the solution for trace of data using amazon opensearch service, in such a scenario it is possible to get into the opensearch dashboard and verify the data fetched in it . In terms of cost, need to pay for opensearch service includes instance hours, amount of storage and data transferred in and out of service. Storage pricing depends on the storage tier and type of instance to be choosed.”

Amazon OpenSearch Service is a managed service that makes it easy to deploy, operate and scale opensearch, a popular open-source search and analytics engine. Opensearch service also offers security options, high availability, data durability and direct access to the opensearch API.

In this post, you will experience how to trace of data using amazon opensearch service. Here I have created an amazon opensearch service domain with iam role.

#Architecture Overview
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y8rn1dvmm4bh8gr85pk4.png)
The architecture diagram shows the overall deployment architecture with data flow, amazon opensearch service, opensearch dashboard, sample data.

#Solution overview
The blog post consists of the following phases:
1. Create of Amazon OpenSearch Service Domain and Verify of Configurations
2. Output of OpenSearch Dashboard with Sample Ecommerce Data

##Phase 1: Create of Amazon OpenSearch Service Domain and Verify of Configurations
1. Open the console of Amazon opensearch service, create a domain with managed clusters. Give domain name as “opensearch-domain-one” and domain name method as standard create. Use template as dev/test, deployment options including Az and engine versions, data nodes, network access and fine grained access control.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xbybj7ukclmxmao5rvwu.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a1a6ladau8kwysb5qisa.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7t14cl0c63vw5mbnh3mr.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hh7q4nnpunve5urv4wnd.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sf9u2ieggqtgg0i9ozte.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r35xmaok5wpkos0f9aul.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n0fii0o6acd3905wbb5y.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hr9b65xb1jsw4nd93iou.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vpyrhl8uo42xqco9h00j.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0fsiigedbyeu7l0rqgjg.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4187i1u55yqg4r8fkydf.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kabl4gjckbwe53wwvhcv.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1clucbf8cq2bmcz2z82c.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hl16ngjrh0wlhd3nzvcu.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c4x7dw7bd4iiwglnsfa7.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3o7bk3v90alrw17nu4ia.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/az8dcfnd7jm0h1iuhlqx.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uzv05j1ne2vh0ue787md.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/eyqgsnto9fzmkpqdrxwp.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vxgyz2f1cfpwqlc30yh0.png)

##Phase 2: Output of OpenSearch Dashboard with Sample Ecommerce Data

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r5kzrz2smy003k883cv4.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r6ommjdfc86ne1qsr0rz.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fji8f8ye9xqgbevmnzmu.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1gtwzan549h03o90dctw.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d1mf2jh85936dx0o3k1n.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rfoudwpzlxm3sdwn7j3f.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v6skleprw7ktbsxcnnwo.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bytnh6jl6e7kp5heieqq.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3vjzf4ww7pyrzmpztp3c.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nhafnr2apingcxzvc6gv.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/219pxlnhwp4wpo70nobj.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/04qp0dn8ylx27hgaxbn8.png)

#Clean-up
Delete of Amazon opensearch Domain and IAM role.

#Pricing
I review the pricing and estimated cost of this example. 

Cost of Amazon opensearch service = $0.167 per r6g.large.search instance hour + $0.122/GB-month gp3 storage = $(0.167x4 + 0.122x1)

Total Cost = $0.79

#Summary
In this post, I showed “how to trace of data using amazon opensearch service”.

For more details on Amazon OpenSearch Service, Checkout Get started Amazon OpenSearch Service, open the [Amazon OpenSearch Service console](https://us-east-1.console.aws.amazon.com/aos/home?region=us-east-1#opensearch). To learn more, read the [Amazon OpenSearch Service documentation](https://docs.aws.amazon.com/opensearch-service/?icmpid=docs_homepage_analytics).

Thanks for reading!

Connect with me: [Linkedin](https://www.linkedin.com/in/gargee-bhatnagar-6b7223114)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/38sdi4nsp89fnui8h7dk.png)