Add peer nodes

After the network and member creation is complete, it’s time to create a peer node for the Retailer. This is the component that endorses blockchain transactions and stores the blockchain ledger.

Within the Amazon Managed Blockchain service in the AWS Management Console, select your network, then select the Retailer member. Select Create peer node. Check the box next to Enable chaincode logs and leave the other options as-is. Select Create peer node. You will be returned to the Retailer detail view, and you will see that the peer node status is shown as Creating.

Create a peer node

Repeat this step to add a second peer, selecting a different Availability Zone than the first peer. This second peer will serve as a fallback if the first peer becomes unavailable. In the interest of time, you can leave the peer nodes in the “Creating” state and proceed to the next step.