The Complete Guide on Hyperledger Fabric v2.x on Kubernetes

Deploy Hyperledger Fabric on Kubernetes

4.60 (206 reviews)
Udemy
platform
English
language
Other
category
instructor
1,829
students
6 hours
content
May 2021
last update
$74.99
regular price

What you will learn

Design Hyperledger Fabric Network

Working with Kubernetes

Hyperledger Fabric on Kubernetes

Description

In this course, you will learn to design and deploy Hyperledger Fabric applications on Kubernetes. This course is specifically designed for those seeking to learn hyperledger fabric deployment on Kubernetes. By the end of the course, you will be able to design, develop and deploy your hyperledger fabric network on any cloud, since we have used the cloud-agnostic approach. This course is completely hands-on and we will be focusing more on the practical approach rather than the theoretical.

What you will learn from this course

By the end of the course, you will be able to design, develop and deploy your hyperledger fabric application on Kubernetes. You will learn the following things

  • Creating Kubernetes cluster

  • Setting up NFS Server

  • Starting up Fabric CA Server

  • Generating certificates for peers and orderers

  • Creating artifacts like genesis block, channel transaction, and anchor peers

  • Creating application channel

  • Joining application channel

  • Configuring peers to use external chaincode builder

  • Starting up peer nodes

  • Packaging chaincode as per external chaincode builder settings

  • Starting up chaincode as service in Kubernetes

  • Approving chaincode

  • Committing chaincode

  • Invoking and querying transactions.

  • Setting up REST API Server

  • Setting up Frontend Application build over Angular

  • Hyperledger Explorer Integration

  • Enabling Hyperledger Fabric Monitoring using Prometheus and Grafana

  • Setting up an ingress controller and domain configuration.

  • Enabling SSL on Kubernetes with the help of cert-manager and Let's encrypt


Various Ways for Hyperledger Fabric 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 but this approach is much more scalable and recommended by the Hyperledger Fabric team.


Content

Introduction

RoadMap to the course
Repository Download Link
Repository Structure

Kubernetes Cluster Setup

Installing Kubectl
Installing Kubernestes IDE
Creating kubernetes Cluster
Create NFS Server
Mounting NFS Drive to Local System
Adding PV and PVC to Kubernetes Cluster
Running sample application on kubernetes

Fabric CA Server

Moving CA configuration to NFS Server - Prerequisite
Starting Up Fabric CA Server - Part 1
Starting Up Fabric CA Server - Part 2

Generating Certificates and Artifacts

Generating Certificates For Peers and Orderers
Generating genesis block and channel transaction

Starting Ordering services

Creating Deployment for orderers
Creating services for Orderers
Starting up orderers

Starting Peers services

Prerequsite - Configuration
Creating Deployment for peers
Creating Peer Services
Setting up CLI for all the Peers
Starting up the Peer Nodes

Channel Operation

Creating Application Channel
Joining Application Channel
Updating Anchor Peers

Chaincode operation

introduction to external chaincode
Packaging chaincode
Installing chaincode
Create Chaincode Deployment
Creating Chaincode Service and Starting them
Approve chaincode
Commiting chaincode
Transaction invocation
Accessing CouchDB

API server

Registering User - API Server 1
Transaction and Query - API Server 2
Creating Connection Profile
Overriding Fabric CA Default Configuration
Creating API Server Deployment
Starting API Server

Frontend Application

Project Setup
Implementing UI functionalities
Integrating API's and Testing UI Application
Frontend Application deployment

Hyperledger Explorer integration

Understanding Hyperledger Explorer
Creating Hyperledger Explorer Deployment
Starting Hyperledger Explorer Service

Setting up Monitoring Service

Introduction to Prometheus and Grafana
Creating Monitoring Service
Starting Monitoring Service

Setting up Ingress Controller

Ingress Setup
Domain Setup with Ingress
Lets Encrypt - SSL Integration using Cert Manager

Screenshots

The Complete Guide on Hyperledger Fabric v2.x on Kubernetes - Screenshot_01The Complete Guide on Hyperledger Fabric v2.x on Kubernetes - Screenshot_02The Complete Guide on Hyperledger Fabric v2.x on Kubernetes - Screenshot_03The Complete Guide on Hyperledger Fabric v2.x on Kubernetes - Screenshot_04

Reviews

Beatrix
October 15, 2023
I recently enrolled in this course and I must say, it exceeded all my expectations. As someone deeply interested in blockchain technology and its applications, I was looking for a course that not only covered the theoretical aspects but also provided hands-on experience. This course did just that and more.
Isidoro
August 7, 2023
First Hyperledger course where everything works and is well explained and also focused on things that can be applied (with some tweaking) to a production environment. There were some minor errors in the recordings, but nothing that would impede learning
Matthew
September 18, 2022
This course teaches you how to implement an end-to-end blockchain project - I haven't seen any other course that does this! Thank you Aditya.
Hector
June 21, 2022
Really this is the best course! A lot of steps and details for build a HLF environment in K8s/Minikube cluster. This course is not for beginners. I appreciate a lot. Thanks teacher!
신시교육01
June 16, 2022
It would have been better if it was explained along with the architecture diagram. Still, the whole process of building hlf on k8s was good
Ajitesh
May 20, 2022
The Video is all about deploying the Pre created Yaml Files.. A more detailed focus should be on what's there in the Yaml file rather than just running it.
Anis
April 21, 2022
I really loved this course. It has every detail a learner needs to learn private blockchaina and soo much more. And the amazing thing, tutor is soo humble enough to reply you anytime for your query..
Archana
February 24, 2022
The explanation is too good , well structured content, easily understandable. The trainer has amazing knowledge.
Aditya
February 12, 2022
This course is highly recommended if you want to setup HLF on Kubernetes. Instructor is very talented and always provides prompt responses in QA. Also his Youtube channel is pure gold!
HeartsMining
December 31, 2021
most of the lectures are just copy and paste code. The subject is very significant however the concepts are barely explained.
Tarso
November 24, 2021
it was a valuable course. I made an adaptation to k3d the cluster environment and all other steps worked very well. An rich and complete course. Congrats!!!
Earl
September 10, 2021
Everything I needed to know to deploy HLF on Kubernetes is discussed here. Lectures are bite-sized and straight-forward. Very easy to understand. It's also updated and easy to follow. Thank you very much!
171111023
July 7, 2021
The Courses is so amazing!, best courses to learn hyperledger and deploy it in k8s infrastructure. Very recommended for person that just getting started in learn hyperledger and looking forward to improve how you deploy it
Jeanelle
May 10, 2021
Amazing this course has everthing what i was looking for and this course has external chaincode included. Recommended to everyone

Charts

Price

The Complete Guide on Hyperledger Fabric v2.x on Kubernetes - Price chart

Rating

The Complete Guide on Hyperledger Fabric v2.x on Kubernetes - Ratings chart

Enrollment distribution

The Complete Guide on Hyperledger Fabric v2.x on Kubernetes - Distribution chart
3970920
udemy ID
4/9/2021
course created date
5/20/2021
course indexed date
Bot
course submited by