Tutorialspoint

#May Motivation Use code MAY10 for extra 10% off

Deploy Hyperledger Fabric v2.2 on Multihost

person icon Aditya Prakash Joshi

4

Deploy Hyperledger Fabric v2.2 on Multihost

Learn to Deploy Hyperledger Fabric v2.2 on Multihost

updated on icon Updated on May, 2024

language icon Language - English

person icon Aditya Prakash Joshi

English [CC]

category icon BlockChain,IT & Software

Lectures -35

Resources -1

Duration -4 hours

4

price-loader

30-days Money-Back Guarantee

Training 5 or more people ?

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

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

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

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

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

  • VM Creation & Network Setup (3 VM)

  • Create 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 Orgs

  • Committing & Invoking Chaincode

  • API Server(Container) creation.

  • Invoking Transaction from API Server

  • Setting up Hyperledger Explorer


Goals

What will you learn in this course:

  • 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

  • REST API Server

Deploy Hyperledger Fabric v2.2 on Multihost

Curriculum

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

Introduction
4 Lectures
  • play icon Introduction 01:15 01:15
  • play icon Tips, Resources, Asking Questions
  • play icon Repositoy Download link
  • play icon Repository Structure understanding 05:05 05:05
Introduction to Docker Swarm
6 Lectures
Tutorialspoint
Setting up our cloud environment
4 Lectures
Tutorialspoint
Fabric Certificate Authority
3 Lectures
Tutorialspoint
Channel artifacts
2 Lectures
Tutorialspoint
Starting Peers and ordering services
2 Lectures
Tutorialspoint
Channel Operations
3 Lectures
Tutorialspoint
Chaincode Installation and approval
4 Lectures
Tutorialspoint
API Server
5 Lectures
Tutorialspoint
Hyperledger Explorer integration
2 Lectures
Tutorialspoint

Instructor Details

user profile image

Aditya Prakash Joshi

e


Course Certificate

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

sample Tutorialspoint certificate

Our students work
with the Best

Related Video Courses

View More

Annual Membership

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

Subscribe now
Annual Membership

Online Certifications

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

Explore Now
Online Certifications

Talk to us

1800-202-0515