How to resolve peer, orderer and CA hostnames for REST API on Lambda

Just found the answer:

So AWS has a service in Route 53 for Private Hosted Zones that allow you to define custom DNS entries for a domain name say “example.com”, and you can associate that zone to a particular VPC in which your Fabric instance is located. You can then define dns entries for peer, orderers, etc. in that private zone to resolve to the IP of the Fabric instance. Make sure you also set up Lambda in a private subnet in that VPC, et voila!

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top