Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
maheshwarishikha edited this page Apr 25, 2018 · 18 revisions

Welcome to the blockchain-network-on-kubernetes wiki!

Umbrella SI Journey

Blockchain Network using Kubernetes APIs on IBM Cloud: Leverage IBM Cloud Container service to setup the blockchain network on Hyperledger Fabric using Kubernetes APIs.

Short Name

Deploy the Blockchain network using Kubernetes APIs on IBM Cloud

Short Description

Demonstrates to setup the blockchain network on Hyperledger Fabric using Kubernetes APIs on IBM Cloud.

Offering Type

Blockchain

Introduction

Blockchain is a shared, immutable ledger for recording the history of transactions. The Linux Foundation’s Hyperledger Fabric, the software implementation of blockchain IBM is committed to, is a permissioned network. For developing any blockchain use-case, you need to setup a development environment to create and deploy the application. This code pattern shows you how to quickly deploy the blockchain network on Hyperledger Fabric using Kubernetes APIs on the IBM Cloud Container Service. Cloud-hosted Hyperledger Fabric network can be leveraged for easier collaboration among the team members.

Author

By Shikha Maheshwari, Vijay K Sukthankar

Code

Demo

N/A

Video

https://youtu.be/DFYk6XaMHc0

Overview

The world of Blockchain technology is a very exciting one. Blockchain is a shared, immutable ledger for recording the history of transactions. It promotes a new generation of transactional applications that establish trust, accountability and transparency. The Linux Foundation’s Hyperledger Fabric, the software implementation of blockchain IBM is committed to, is a permissioned network. Hyperledger Fabric is a platform for distributed ledger solutions supported by a modular architecture.

For developing any blockchain use-case, the very first thing is to have a development environment for Hyperledger Fabric to create and deploy the application. In the environment setup, you’ll create a small blockchain network running Hyperledger Fabric v1.0. Hyperledger Fabric network can be setup in multiple ways.

This code pattern demonstrates the steps involved in setting up your business network on Hyperledger Fabric using Kubernetes APIs on IBM Cloud Container Service and provides a automated script end-to-end to quickly deploy your network. The IBM Cloud Container Service combines Docker and Kubernetes to deliver powerful tools to automate the deployment, operation, scaling, and monitoring of containerized applications over a cluster of independent compute hosts by using the Kubernetes APIs. Cloud-hosted Hyperledger Fabric network can be leveraged for easier collaboration among the team members.

This pattern provisions a Hyperledger Fabric network consisting of four organizations, each maintaining one peer node, and a 'solo' ordering service. To deploy your blockchain network,

  • Decide the network topology as per the need, i.e., number of organizations and number of peers per organization and ordering service etc.
  • Setup your blockchain network using this pattern
  • Start developing your blockchain applications for the deployed network.

Flow

  1. Log in to IBM Cloud CLI and initialize IBM Cloud Container Service plugin.
  2. Set context for Kubernetes cluster using CLI and download Kubernetes configuration files. After downloading configuration files, set KUBECONFIG environment variable.
  3. Run script to deploy your hyperledger fabric network on Kubernetes cluster.
  4. Access Kubernetes dashboard.

Included components

  • Hyperledger Fabric: Hyperledger Fabric is a platform for distributed ledger solutions underpinned by a modular architecture delivering high degrees of confidentiality, resiliency, flexibility and scalability.

  • IBM Cloud Container Service: IBM Container Service enables the orchestration of intelligent scheduling, self-healing, and horizontal scaling.

Featured technologies

  • Blockchain: A blockchain is a digitized, decentralized, public ledger of all transactions in a network.

  • Kubernetes Cluster: In Kubernetes Engine, a container cluster consists of at least one cluster master and multiple worker machines called nodes. A container cluster is the foundation of Kubernetes Engine.

Blog

Title - Blockchain Network on Hyperledger Fabric : Using Kubernetes API on IBM Cloud

Blockchain technology is growing fast. Blockchain technology revolutionizes businesses and changes the way business transactions are done. It alters the model of how multi-party transactions are performed by enabling a shared, immutable ledger for recording the history of transactions between the parties in a business network. Organizations can now leverage blockchain to drive greater efficiency and improve trust in existing business networks.

Hyperledger, an umbrella project of open source blockchains and related tools, is hosted by The Linux Foundation. IBM provides blockchain solutions and services leveraging Hyperledger technologies, including Hyperledger Fabric and Hyperledger Composer. Hyperledger Fabric is a blockchain framework implementation.

For developing any blockchain use-case, the very first thing is to have a development environment to create and deploy the blockchain application. Our code pattern, ‘Blockchain Network using Kubernetes APIs on IBM Cloud’, will help you to setup a blockchain network running Hyperledger Fabric v1.0. Hyperledger Fabric network can be setup in multiple ways as follows.

In our code pattern, ‘Blockchain Network using Kubernetes APIs on IBM Cloud’, we explain the steps involved in setting up your blockchain network on Hyperledger Fabric using Kubernetes APIs on IBM Cloud. The code pattern provides a automated script to quickly deploy your network on the IBM Cloud. Cloud-hosted Hyperledger Fabric network using Kubernetes APIs can be leveraged for easier collaboration among the team members.

Blockchain technologies present opportunities for disruptive innovation. It enables global business transactions with less friction and more trust. So start experimenting!

Links