How to get Reserved Private Ip Address of Opensearch Service Data Nodes


When we provision opensearch service, it creates 3 eni's for each data node and use one of them. During blue green deployment, it swaps the reserved ip address.

Is there any cloudtrail event of opensearch service to capture all the reserved ip's?

asked 10 months ago290 views
1 Answer

CloudTrail does capture the Network Interfaces being created with the event name of CreateNetworkInterface. Inside the body of the response of the event there is also a field that contains the privateIpAddress used for the network interface.

If a B/G deployment is done where the number of data nodes is not changed on the domain then the ENI's associated with the OpenSearch domain are not changed. The existing ENI's simply get detached from the old data nodes and then attached on the new data nodes.

It's not possible to see the reserved private IP's of the new environment created for the B/G deployment until the resources have been swapped over.

Please feel free to accept this answer if I was able to resolve your query.

profile picture
answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions