Mô tả

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.


Bạn sẽ học được gì

Design Hyperledger Fabric Network

Working with Kubernetes

Hyperledger Fabric on Kubernetes

Yêu cầu

  • Basics of Hyperledger Fabric
  • Basic understanding of kubernetes

Nội dung khoá học

13 sections

Introduction

3 lectures
RoadMap to the course
05:09
Repository Download Link
00:01
Repository Structure
04:50

Kubernetes Cluster Setup

7 lectures
Installing Kubectl
04:04
Installing Kubernestes IDE
03:15
Creating kubernetes Cluster
15:17
Create NFS Server
08:59
Mounting NFS Drive to Local System
05:23
Adding PV and PVC to Kubernetes Cluster
09:50
Running sample application on kubernetes
07:01

Fabric CA Server

3 lectures
Moving CA configuration to NFS Server - Prerequisite
05:21
Starting Up Fabric CA Server - Part 1
10:13
Starting Up Fabric CA Server - Part 2
06:03

Generating Certificates and Artifacts

2 lectures
Generating Certificates For Peers and Orderers
08:23
Generating genesis block and channel transaction
08:35

Starting Ordering services

3 lectures
Creating Deployment for orderers
08:46
Creating services for Orderers
04:22
Starting up orderers
05:00

Starting Peers services

5 lectures
Prerequsite - Configuration
05:50
Creating Deployment for peers
11:57
Creating Peer Services
03:49
Setting up CLI for all the Peers
05:59
Starting up the Peer Nodes
04:44

Channel Operation

3 lectures
Creating Application Channel
03:50
Joining Application Channel
02:49
Updating Anchor Peers
03:00

Chaincode operation

9 lectures
introduction to external chaincode
03:53
Packaging chaincode
07:53
Installing chaincode
05:17
Create Chaincode Deployment
13:50
Creating Chaincode Service and Starting them
05:49
Approve chaincode
04:50
Commiting chaincode
03:02
Transaction invocation
06:49
Accessing CouchDB
05:14

API server

6 lectures
Registering User - API Server 1
10:49
Transaction and Query - API Server 2
07:42
Creating Connection Profile
05:00
Overriding Fabric CA Default Configuration
04:20
Creating API Server Deployment
08:16
Starting API Server
12:42

Frontend Application

4 lectures
Project Setup
10:23
Implementing UI functionalities
04:27
Integrating API's and Testing UI Application
05:59
Frontend Application deployment
08:39

Hyperledger Explorer integration

3 lectures
Understanding Hyperledger Explorer
03:52
Creating Hyperledger Explorer Deployment
08:38
Starting Hyperledger Explorer Service
09:05

Setting up Monitoring Service

3 lectures
Introduction to Prometheus and Grafana
03:00
Creating Monitoring Service
06:52
Starting Monitoring Service
06:14

Setting up Ingress Controller

3 lectures
Ingress Setup
06:29
Domain Setup with Ingress
10:03
Lets Encrypt - SSL Integration using Cert Manager
08:15

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.