Deploy Hyperledger Fabric v2.2 on Multihost - Online Course

Deploy Hyperledger Fabric v2.2 on Multihost - Online Course

30-days Money-Back Guarantee

Aditya Prakash Joshi

Learn to Deploy Hyperledger Fabric v2.2 on Multihost

Updated on Sep, 2026

Finance and Accounting, Cryptocurrency and Blockchain,

Training 5 or more people ?

Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.

In this course, you are going to learn how you can set up a Hyperledger Fabric Network on multiple hosts on multiple clouds. We are going to use the following configuration for deploying fabric applications.

3 Virtual Machine (any cloud of your choice)

3 Orgs - 3 Peer Orgs(1 peer each) and 1 Ordered Orgs( 5 Ordering Nodes).

3 Certificates Authority for each org. (For certificate creation).

NodeJS API Server for ChainCode invocation.

Various Ways for Multi-host Deployment

As Hyperledger Fabric components are deployed as containers, everything works fine when running in the local host. When they are running in different hosts, we need to find a way to make these containers talk to one another.

Static IP By specifying the host IP where a container is running, containers can communicate with each other. Those host IPs are specified using extra_hosts in docker-compose files, and after a container is running, these entries are seen in, etc/hosts. The downside is that things are statically configured, and there are challenges when one needs to add or change the configuration.

Docker Swarm Docker Swarm is a container orchestration tool natively in the Docker environment. In a nutshell, It provides an overlay network for containers across multiple hosts. Those containers on this overlay network can communicate with one another as if they were on a large host. Obviously, the good side is that the original configuration can be used with minimal modification, and no static information such as IP is coded in the configuration.

Kubernetes (k8s) K8s by far is the most popular container orchestration tool. The mechanism is similar to Docker Swarm. The implementation of this approach is much more challenging than the previous two mechanisms.

VM Creation & Network Setup (3 VM)

Create a Docker Swarm Network

Certificate and Private keys creation using Certificates Authority (3 Org - 3 CA, 5 Orderer - 1 CA)

Channel Artifacts Creation

Setting up CLI tools for each organization.

Channel Creation & Joining on Each VM.

Chaincode Install & Approve for Each Org

Committing & Invoking Chaincode

API Server(Container) creation.

Invoking Transaction from API Server

Setting up Hyperledger Explorer

Basics of docker swarm

Setting Docker Swarm network locally

Docker Swarm Network Creation

Hyperledger Fabric Deployment Strategies

Channel creation and channel join

Chaincode installation and approval

Virtual Machine creation and setup

Deploy Hyperledger Fabric Application on Multi-Host, Multi-Org setup

Check out the detailed breakdown of what’s inside the course

Use your certificate to make a career change or to advance in your current career.

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Master prominent technologies at full length and become a valued certified professional.

Recommended articles