
Introduce Hyperledger Fabric on Kubernetes and AWS, covering container management, scalability, and security. An enthusiastic instructor invites questions and provides resources in GitHub and readme.
Understand the cost implications of a production grid network on AWS for Hyperledger Fabric, including pricing models, monthly spend, and domain and SSL expenses.
Install base requirements to run a Hyperledger Fabric network on a local Kubernetes environment: update the OS, install VirtualBox, essential tooling, and runtime tools such as go, node, and Docker.
https://github.com/happilymarrieddad/k8s-hyperledger-fabric-2.2
This quick preview introduces the node API for a Hyperledger Fabric app, covering Express routing for resources and resource types, server setup, and how the immutable ledger records changes.
IBM and Oracle collaborate in a Hyperledger Fabric network using a main channel, peers, and orderers to process chaincode and propagate ledgers with eventual consistency.
https://hyperledger-fabric.readthedocs.io/en/release-2.2/orderer/ordering_service.html
https://hyperledger-fabric.readthedocs.io/en/release-2.2/peers/peers.html
Explore the basics of encryption in a Hyperledger network, including public and private keys, SSL certs, and how messages are encrypted and decrypted to prevent eavesdropping.
Set up your local machine to run a Hyperledger Fabric network, install dependencies and binaries for certificate generation, and configure a Linux-based environment with Docker, avoiding Windows development pitfalls.
Walk through starting a full Hyperledger Fabric network locally, generating crypto material and artifacts, joining channels, deploying chaincode, and launching the API and frontend.
Generate and manage Fabric CA certificates for Hyperledger Fabric with a startup script that provisions an MSP folder, enrolls users, and syncs crypto materials for multiple orders.
Examine the cryptographic material by inspecting the cryptographic folder, review MSP data, and understand how orderer and peers use private keys and certificates.
Configure the Hyperledger Fabric network with a config file, set the config path, define organizations and policies, and understand endorsement, raft orderers, channels, and genesis block.
https://github.com/hyperledger/fabric/blob/master/sampleconfig/configtx.yaml
start the network with docker-compose, bring up orderers and peers, monitor logs, create and join the channel, copy the channel block, and connect peers using the anchor transaction file.
Explore chaincode development for Hyperledger Fabric in Go, including vendoring dependencies via go mod vendor, building binaries, and implementing create, read, update, and transaction queries on resource data with indexing.
Master the final setup of Hyperledger Explorer on a fabric network by configuring the explorer, resolving version issues, and validating blocks, transactions, and channels to inspect the live network.
Take down the Hyperledger Fabric network in two ways: reset the state with make clean, then bring it down and up with docker compose; or rebuild cryptographic material and data.
Explore private data in a Hyperledger Fabric network by defining per-resource-type private names, configuring private data collections, and enforcing organization-specific access, as IBM and Oracle members see distinct data.
Explore the node API workflow for Hyperledger Fabric: configure MSP and crypto material, manage wallets and gateway options, connect to peers, and query contracts via index transactions returning JSON.
Explore how Kubernetes uses deployments and stateful sets, with persistent claims for shared storage. Learn how services provide networking and load-balanced access.
Compare Kubernetes deployments, Docker Compose, highlighting networking, services, and port mappings. Explain how volumes mount to network storage versus local storage, and how environment variables use array syntax in YAML.
Generate artifacts for production using the config, create the folder structure, and produce the genesis block and channel artifacts, including IBM and Oracle anchor updates.
Start the peers by launching containers, configure deployments and volumes to persist state, and apply production secrets while managing channels, gossip, and chaincode access.
Test and deploy a Hyperledger Fabric network by joining peers to channel, updating anchors, packaging, installing, approving, committing chaincode, creating resources, and validating private data collections across IBM and Oracle.
Push docker images to Docker Hub and authenticate to enable repository-based pulling, then use a script to build and push versioned node API and web API images for Kubernetes deployments.
Be mindful of the high costs when running the Hyperledger Fabric network on Kubernetes and AWS; estimate expenses, apply mitigation strategies, monitor billing, and set a realistic budget.
Learn how domain names and DNS routing work, set up a domain and free SSL with Let's Encrypt, and route domain traffic to your network through a load balancer.
Master kops commands to delete clusters, edit ig nodes and ig masters, perform rolling updates, validate the cluster, and scale the network by adding nodes and updating configurations.
Install and configure the Ingress Nginx controller to route external DNS traffic into your Kubernetes cluster, terminate SSL, and route API service and web service with permanent redirects.
Create folders for production config, production transaction config, checking code, and bin files, then copy the chain code and scripts to storage and verify their presence.
Join channels, install and approve chaincodes, and test the network by running parallel commands, channel updates, and queries to validate cross-organization visibility.
Learn how to add a new organization to a Hyperledger Fabric 2.x network on Kubernetes/AWS, update configs, deploy peers, and install and test chaincode from a production environment.
Use the config transaction generator to derive the difference for a new org config and print the org definition into channels.json for insertion into the network configuration.
Learn to build a basic hybrid ledger network on Hyperledger Fabric by generating certificates with the crypto gen, configuring channel artifacts and genesis blocks, and deploying orderers, peers, and chaincode.
Start a solo hyperledger fabric orderer with docker-compose, using channel artifacts and crypto config to initialize the network. Mount MSP and artifacts, and verify genesis block and state.
Configure and start two org peers in Hyperledger Fabric, map ports, MSP, and TLS, and bootstrap gossip to enable peer communication with the order and each other.
Install and instantiate chaincode across peers, remove the bridge command and clean up cli containers, then write and query data to the ledger in a complete end-to-end fabric workflow.
Upgrade the chaincode on a Hyperledger Fabric network and add a query function to fetch data without adding blocks; install version 1, upgrade, and test via query.
Demonstrate querying all peers in Hyperledger Fabric to verify that they hold consistent data by using the same query function across peers and observing identical results.
learn the fundamentals to build and test a Hyperledger Fabric network by creating a Vue.js frontend, a Go backend, and dockerizing the projects for use in the network.
If you don't want to deal with front-end then just go ahead and skip this video and just download the code and run it.
Add a delete route and a destroy function on the front-end, filtering by id and dispatching destroy, while preparing the API to remove the item from the server.
Containerize the front end with docker, npm build, and a multi-stage workflow, then serve via engine X or Apache and configure docker-compose for dev and production.
Build and push docker images by creating a docker file, tagging, and authenticating to Docker Hub. Run and test containers, including port binding, to verify the front end deployment.
Build a basic http server in go using gorilla mux, configure cors handlers, and wire a modular backend with router and server components for hyperledger services.
Create a modular router with route models, add home and status routes, and attach them with patterns and handlers; implement a static file server for a static directory.
Add a back-end users model, implement login and logout, and create CRUD routes, using Google's uuid package, bcrypt password hashing with salt, and ensure unique IDs before insertion.
Implement the store function to create new users with first name, last name, email, and password, perform validation, and append the new user to the mock data list.
Delete a user in the back-end users model using an index-based slice removal, demonstrated with a mock user named Mark, highlighting inefficiency and upcoming routes for crud.
Build and secure user routes (index, create, update, delete) by attaching a v1 subrouter with authentication middleware using the gorilla mucks package, and define a middleware function that wraps handlers.
Finish the front-end store features by implementing the get function, posting, updating, and deleting raw resources, and formatting arrival times with moment to ensure live data flow.
Finish implementing the show function in the front-end by adapting the update logic, wiring a get route, and fixing type casting for JSON marshalling.
Build and run a dedicated fabric ca docker-compose setup with root and intermediate servers and a client to generate certificates, using separate volumes and scripts.
Develop cert generation helper scripts for a Hyperledger Fabric network on Kubernetes or AWS, enabling client enrollment, identity registration, and MSP certificate management.
Learn to generate and enroll certificates for a hyperledger fabric network using a configurable bash script, register and enroll identities, and organize tls and msp certs for multiple orgs.
Create rich queries in your chaincode and upgrade it on peers to enable new query capabilities. Then deploy and test by running queries against the ledger.
Provide an update on the index in the chaincode, noting the iterator uses the logical key. Empty strings fetch all data, and rich queries are recommended with the index.
Build and manage crypto material with a simplified script that generates crypto config, registers and enrolls admins and users, and creates MSP folders for orgs, peers, and orders.
Create a comprehensive config.yaml to connect a hyperledger fabric API, configure crypto, MSP, and peers, and test connectivity across the network.
Fix csr issues by adjusting crypto and local host mappings, rebuild the network, generate certs, and implement a store method for posting and querying resources in Hyperledger Fabric.
Implement the show method to fetch a single resource via a query stream with an id selector. Use show to enable update and delete, and test with curl.
In this course, we will be doing a deep dive on Hyperledger Network Architecture. We will explore the background of blockchain and how it relates to Hyperledger. We will explore the difference between a public network and a private. Once we have established the basics we will construct many different types of Hyperledger networks to give you a deep understanding of all the parts of Hyperledger. We will explore Fabric CA (Certificate Authority), ectdRAFT Ordering, Genesis Block Configuration, Peers and Peer-to-Peer Interactions, State Management for CA and Peers and many more topics related to the Hyperledger ecosystem. We are also going to be building a front-end in VueJS and a back-end in GoLang. We're going to connect these to the Hyperledger network in Kubernetes and have a complete end-to-end system.
After we get a basic Hyperledger network up and running we'll establish that network on Kubernetes and eventually deploy it AWS using Kops.
After we have a working network, we'll add an Organization to an existing network.
NOTE - My teaching style is not a traditional way of teaching. It's more of a showing you how to build a network end-to-end. I focus more on the code itself. I believe this way of 'teaching' is more of a practical approach. Thanks!
Come explore Hyperledger with me!