• Post category:StudyBullet-7
  • Reading time:6 mins read


Learn how to deploy your Hyperledger Fabric Application on Multi-Host, Multi-Org Setup (Cloud)

What you will learn

Hyperledger Fabric Multihost Deployment

Multi-Org, Multi-VM Setup

Create & Join Channel From Different Machine

Docker Swarm Network Creation

Approve Chaincode From Distributed machine

Chaincode Deployment on Multi-Host, Multi-Org Setup

API Server Creation

VM Creation & Hyperledger Fabric Network Setup

Description

Description:

Coupon Code: 60999640877B5D56013C

Setup Hyperledgr Fabric Application on multiple hosts. We are going to use the following configuration for deploying fabric applications.

1) 4 Virtual Machine, One Org on each VM.

2) 4 Orgs (3 Peer Orgs, 1 Orderer Orgs)

3) 4 Certificates Authority for creating certificates. (Each Org has One dedicated CA)

4) Separate API Server(On vm1-Org1) for Transaction Invocation.


Get Instant Notification of New Courses on our Telegram channel.


What we cover in this course

Purely Hands-on experience of

  1. VM Creation & Network Setup (4 Orgs – 4 VM)
  2. Create Docker Swarm Network
  3. Cryptomaterials Creation using Certificates Authority (4 Org – 4 CA)
  4. Channel Artifacts Creation
  5. Channel Creation & Joining on Each VM.
  6. Chaincode Install & Approve for Each Orgs
  7. Committing & Invoking Chaincode on Distributed VM
  8. API Server(Container) creation.

We will cover each and every step require to do multi-host deployment

We will carry out all necessary operations on the different virtual machines like installing, approving chain code for each Orgs on different VM.

Note: Poster Image – Illustration by Freepik Stories (stories.freepik/technology)

This course does not include Hyperledger fabric core concepts and focused primarily on Hyperledger fabric multi-host deployment

At the end of this course, you will be in a position to deploy your Hyperledger fabric application on multiple hosts(different VM on the cloud). You will be able to create an API Server for interacting with the blockchain network.

English
language

Content

Course Introduction

Course Outline

Network Introduction, Installation & VM Setup

1. Network Introduction
Creating VM on GCP
Access VM From Local Machine
Access VM from VS Code Editor
Prerequisite Installation
Run Test Network
Creating New VM Using Same Existing Disk on GCP

Crypto Materials, Channel Artefacts & Docker Swarm Network

Cloning Git Repo
Network Configurations
Folder Structure
General Artefacts Creation Flow
Create Org1 Crypto-materials
Create Org2 Crypto-materials
Create Org3 Crypto-materials
Create Orderer Org Crypto-materials
Create Channel Artefacts
Move Cryptomaterials To Specific Machine(VM)
Create Docker Swarm Network
Run All Containers on All VM

Channel Creation & Joining

Org1-VM1 Create & Join Channel
Org2-VM2 Fetch & Join Channel
Org3-VM3 Fetch & Join Channel

Chainocde Deployment

Chaincode Lifecycle : Fabric 2.0
Chaincode Deployment Flow Diagram
Chaincode Introduction
VM1-Org1 : Install and Approve Chaincode
VM2-Org2 : Install and Approve Chaincode
VM3-Org3 : Install and Approve Chaincode
Commit Chaincode & Invoke Transaction

API Container: Fabric Network SDK

Create Common Connection Profile
Register User
Invoke & Query Transaction
Create API Server & Invoke Transaction