Learn to Deploy Hyperledger Fabric v2.2 on Multihost

所在平台: Udemy

课程主页: https://www.udemy.com/course/learn-to-deploy-hyperledger-fabric-v22-on-multihost/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:在多主机上学习部署Hyperledger Fabric v2.2 课程概述:本课程将教您如何在多个云的多主机上设置Hyperledger Fabric网络。课程中将采用以下配置来部署Fabric应用程序: - 使用3台虚拟机(可选择任意云服务)。 - 3个组织 - 3个节点组织(每个组织1个节点)以及1个排序组织(5个排序节点)。 - 每个组织的证书机构(用于证书创建)。 - 基于NodeJS的API服务器用于链码调用。 - 多主机部署的多种方式。 Hyperledger Fabric组件作为容器部署,在本地运行时一切正常,但在不同主机上运行时,需要找到一种方法使这些容器互相通信。课程将介绍以下几种方法: 1. **静态IP**:通过指定容器运行的主机IP,使容器之间可以相互通信。这些主机IP在docker-compose文件中通过extra_hosts指定,并在容器运行后显示在/etc/hosts中。但这种方法配置静态,增加或修改配置时存在挑战。 2. **Docker Swarm**:Docker Swarm是Docker环境中本地的容器编排工具。它为多个主机的容器提供了一个覆盖网络,使得这些容器可以像在一个大型主机上那样相互通信。优点在于可以在最小修改的情况下使用原配置,无需在配置中编码静态IP等信息。 3. **Kubernetes(k8s)**:K8s是目前最流行的容器编排工具,其机制与Docker Swarm类似,但实施比前两种方法更具挑战。 课程内容以实践为主,包括: - 虚拟机创建与网络设置(3台虚拟机)。 - 创建Docker Swarm网络。 - 使用证书机构创建证书和私钥(3个组织 - 3个CA,5个排序节点 - 1个CA)。 - 通道工件创建。 - 为每个组织设置CLI工具。 - 在每台虚拟机上创建和加入通道。 - 为每个组织安装和批准链码。 - 提交与调用链码。 - 创建API服务器(容器)。 - 从API服务器调用交易。 - 设置Hyperledger Explorer。 本课程旨在提供实用的操作经验,帮助学员深入理解如何在不同环境中部署和管理Hyperledger Fabric。

课程评论(0条)

课程详情

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 DeploymentAs 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.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.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.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 coursePurely Hands-on experience ofVM Creation & Network Setup (3 VM)Create Docker Swarm NetworkCertificate and Private keys creation using Certificates Authority (3 Org - 3 CA, 5 Orderer - 1 CA)Channel Artifacts CreationSetting up CLI tools for each organization.Channel Creation & Joining on Each VM.Chaincode Install & Approve for Each OrgsCommitting & Invoking ChaincodeAPI Server(Container) creation.Invoking Transaction from API ServerSetting up Hyperledger Explorer

课程标签

0人关注该课程

主题相关的课程