Multi-Server Nodes When Joined use Private IP Instead Of Public IP

Hi Team,

We have our multi-node couchbase server on ec2 instance (one instance each for data / query / index).

When the data node is setup, under server nodes tab in couchbase UI console it shows the private IP address of the node instead of public IP address.

Similarly, when index / query nodes are attached to the data server then it is using the private IP address for each of them to communicate instead of the public IP address.

Now, we want the nodes to be connected using only public IP addresses instead of private IP addresses so that, when we execute our lambda function it would be able to connect to the server.

Please let us know how to proceed further.