
This video contains a course outline and different things we are going to cover.
Explore building a four-VM Hyperledger Fabric network with four organizations, deploying docker-based services, creating channels, three orderers, endorsing peers, smart contracts, and couchdb state databases on Google Cloud Platform.
Learn to create and configure a Google Cloud virtual machine using Compute Engine, select the right machine type and operating system, and establish firewall rules to expose required ports.
Learn to access a newly created GCP virtual machine from your local machine by configuring SSH keys, adding your public key to authorized_keys, and connecting via the VM's external IP.
Connect to a virtual machine from VS Code using the remote extension, open a remote folder, and edit files directly on the VM while running commands in the integrated terminal.
Install prerequisites for a Hyperledger Fabric 2.x multihost network: Ubuntu 18.04, Go, Python, Fabric images binaries, and Fabric samples binaries; configure Go path and install dependencies.
Validate a multi-host fabric 2.x test network by generating certificates, creating channels, installing and approving chaincode, and deploying the new lifecycle; then configure prerequisites and safely bring the network down.
Learn how to create a new google cloud vm using a cloned existing disk to reuse prior installations, speeding up multi-machine deployment for hyperledger fabric.
Clone the git repo and transfer it to each virtual machine as a step in a multi-host fabric deployment. Learn methods to transfer, manage ip addresses, and access vms remotely.
Configure a four-organization Hyperledger Fabric network across four virtual machines, establishing channels, deploying chaincode with business logic, and setting up certificate authorities, peers, and MSPs for secure inter-org communication.
Explore the hub of Hyperledger Fabric folder structure, including artifacts, config, and crypto material created by certificate authorities, plus setup for multi-host deployments across four vms.
Learn the general artefacts creation flow for a Hyperledger Fabric multi-host deployment, detailing certificate authorities, crypto material, genesis block, and channel transaction files to bootstrap orderers and channels.
Create Org1 crypto materials by configuring the certificate authority, generating the MSP and crypto materials, and enrolling and registering organization one participants (peer, admin, client) for the Hyperledger Fabric network.
Create org2 crypto materials in a Hyperledger Fabric 2.x multi-host deployment, compare certificate authority workflows, generate genesis and channel artifacts, and push certificates to the target virtual machine.
Create Organization 3 crypto-materials by running the certificate scripts, starting the certificate authority service, and enrolling participants to generate Organization 3 certificates and crypto material folders.
Create the orderer org crypto-materials by running its certificate authority, enrolling orderers and auditors, registering participants, and generating the gen block and transaction file.
Generate genesis and channel artefacts for a four-organization Hyperledger Fabric network by preparing MSPs, crypto materials, and policy configurations, and creating genesis blocks and per-org channel transactions.
Move crypto materials from the initial VM to each of the four VMs in a hyperledger fabric 2.x multihost deployment, coordinating repo cloning and access permissions.
Create a docker swarm network across four virtual machines to enable inter-node communication, connect each VM, and prepare artifacts and firewall rules to form a Hyperledger Fabric channel.
Deploy all containers across four virtual machines for a four-org Hyperledger Fabric 2.x network. Create channel artifacts and genesis block, then start services and join peers to the channel.
Org2 vm2 fetches the latest channel configuration block and uses it to join its peer to the existing channel, then updates the organization's anchor.
Org3-VM3 fetches the configuration block and joins the channel, updates anchors, and verifies the join inside Org3. The video prepares channel artifacts for deploying the smart contract next.
Navigate the fabric 2.0 chaincode lifecycle across multiple orgs, covering packaging, installing, endorsing, and committing chaincode, with a majority endorsement policy, then querying and initializing transactions on the channel.
Follow the chaincode deployment flow for a four-organization, four-VM Hyperledger Fabric network by installing and approving chaincode, committing and initializing, then exposing an API container to query via Postman.
Explore chaincode introduction, deploying smart contracts on a channel with car record creation, and preview packaging and installation for multi-host deployment across organizations.
Install and approve chaincode for organization one on VM1 by preparing environment variables, packaging the chaincode, installing and endorsing the peer, and submitting approvals to reach commit readiness across organizations.
Install and approve chaincode for vm2 org2 in a four-org, four-vm Hyperledger Fabric setup, packaging and installing in vm2, then verify approvals to reach majority endorsement.
Install and approve chaincode on vm3 for org3 in a four-org, four-vm Hyperledger Fabric 2.x deployment, including packaging, installation, approvals by the orgs, and committing the chaincode definition.
Learn how to commit a chaincode and invoke a transaction across multiple organizations in a Hyperledger Fabric 2.x multi-host deployment, handling endorsements, approvals, and cross-host communication.
Learn to register and enroll a new user in a Hyperledger Fabric network by leveraging the common connection profile, wallet management, and admin credentials.
Explore invoking and querying transactions on a multi-host hyperledger fabric network by enrolling users, managing crypto materials and wallets, and using discovery services to locate endorsing peers.
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.
What we cover in this course
Purely Hands-on experience of
VM Creation & Network Setup (4 Orgs - 4 VM)
Create Docker Swarm Network
Cryptomaterials Creation using Certificates Authority (4 Org - 4 CA)
Channel Artifacts Creation
Channel Creation & Joining on Each VM.
Chaincode Install & Approve for Each Orgs
Committing & Invoking Chaincode on Distributed VM
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.