Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learn to Deploy Hyperledger Fabric v2.2 on Multihost
Rating: 4.3 out of 5(137 ratings)
1,272 students

Learn to Deploy Hyperledger Fabric v2.2 on Multihost

Deploy Hyperledger Fabric on Multi-VM, Multi-Org
Created byAditya Joshi
Last updated 2/2025
English

What you'll learn

  • Basics of docker swarm
  • Setting docker swarn 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
  • REST API Server

Course content

11 sections36 lectures4h 16m total length
  • Introduction1:15
  • Tips, Resources, Asking Questions0:01
  • Repositoy Download link0:03

    This repository contains the source code to deploy the application to docker-swarm

  • Repository Structure understanding5:05

Requirements

  • Basics of hyperledger fabric
  • Basics of docker

Description

In this course, you are going to learn how you can set up 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 Orderer 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 localhost. When they are running in different hosts, we need to find a way to make these containers talk to one another.

    1. 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.

    2. 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 to 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.

    3. 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.

      What we cover in this course

    Purely Hands-on experience of

    1. VM Creation & Network Setup (3 VM)

    2. Create Docker Swarm Network

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

    4. Channel Artifacts Creation

    5. Setting up CLI tools for each organization.

    6. Channel Creation & Joining on Each VM.

    7. Chaincode Install & Approve for Each Orgs

    8. Committing & Invoking Chaincode

    9. API Server(Container) creation.

    10. Invoking Transaction from API Server

    11. Setting up Hyperledger Explorer


    Who this course is for:

    • Beginner in Hyperledger Fabric
    • Fabric Developer and Administrators
    • Anyone who want to deploy Hyperledger Fabric Network in Multi Host Environment
    • Anyone who is interested in Devops