Professional Documents
Culture Documents
Introduction to Hyperledger
Fabric
Practices for Lesson 1
Overview
In these practices, you will learn to create AWS Managed Blockchain Network, VPC Endpoint,
Fabric Client Instance and setting of the IAM permissions.
Use Case
• Blockchain technology accelerates the Mortgage Lending Process. In this course we
consider one such Mortgage Loan Process i.e, Gold Loan. The Implementation is based
on Hyperledger Fabric which is a distributed ledger framework.
• The Implementation handles Gold Loan Transactions between Service Provider and the
Customers.
• The Hyperledger Fabric Ledger keeps track of the transactions made between the
Service Provider and the Customers.
• The Chaincode implementations in this Course includes Invoking Gold Loan Application,
Business Logic for Quality Test and Customer getting the Application Status.
Copyright © 2020, Proton Expert Systems & Solutions. All rights reserved.
Overview
In this practice, you will learn to create IAM role permissions policy for Hyperledger Fabric Client
Instance.
Assumption
You should have completed the Practice 1-2
Tasks:
1. Create an IAM policy role in AWS console.
a. Navigate to services and type IAM to add the policy role.
b. In IAM console, click Policies from the Dashboard and click Create policy as shown
below
c. Click JSON tab and create a policy in JSON format. Copy the below code and paste
it in the JSON editor
Copyright © 2020, Proton Expert Systems & Solutions. All rights reserved.
e. Edit the JSON code by providing the AWS ID and click Review Policy as shown
below
Copyright © 2020, Proton Expert Systems & Solutions. All rights reserved.
Copyright © 2020, Proton Expert Systems & Solutions. All rights reserved.
b. Click on EC2 and click Next: Permissions to add permissions as shown below
c. In create role page, select Blockchain policy by typing blockchain in the search bar
and click Next to add tags as shown below.
Copyright © 2020, Proton Expert Systems & Solutions. All rights reserved.
3. Create an EC2 Instance for Fabric Client using Amazon Linux AMI in AWS EC2 console.
a. Navigate to EC2 console to create an Instance as shown below.
Copyright © 2020, Proton Expert Systems & Solutions. All rights reserved.
c. Click Launch Instances to create a Fabric Client Instance in EC2 console as shown
below.
d. Choose Amazon Linux AMI with 64-bit and click Select as shown below.
e. Now, choose the Instance type as t2.micro and click Next to Configure Instance
details.
Copyright © 2020, Proton Expert Systems & Solutions. All rights reserved.
k. In the dialogue box, download the key pair by providing the name and click Launch
Instances.
Copyright © 2020, Proton Expert Systems & Solutions. All rights reserved.
Copyright © 2020, Proton Expert Systems & Solutions. All rights reserved.
c. View the IAM role is applied to the Fabric Client Instance successfully.
Copyright © 2020, Proton Expert Systems & Solutions. All rights reserved.