Tutorialspoint

Deploy Hyperledger Fabric v2.2 on Multihost

Learn to Deploy Hyperledger Fabric v2.2 on Multihost

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

  • 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

Show More

Curriculum

  • Introduction
    01:15
    Preview
  • Tips, Resources, Asking Questions
  • Repositoy Download link
  • Repository Structure understanding
    05:05
Tutorialspoint
Tutorialspoint
Tutorialspoint
Tutorialspoint
Tutorialspoint
Tutorialspoint
Tutorialspoint
Tutorialspoint
Tutorialspoint
Feedbacks
5.0
Course Rating
100%
0%
0%
0%
0%

    Feedbacks (1)

  • Isidoro Trevino
    Isidoro Trevino

Deploy Hyperledger Fabric v2.2 on Multihost
This Course Includes
  • 4 hours
  • 35 Lectures
  • 1 Resources
  • Completion Certificate Sample Certificate
  • Lifetime Access Yes
  • Language English
  • 30-Days Money Back Guarantee

Sample Certificate

Sample certificate

Use your certification to make a career change or to advance in your current career. Salaries are among the highest in the world.

We have 30 Million registered users and counting who have advanced their careers with us.

X

Sample Certificate

Talk to us

1800-202-0515