copyright | lastupdated | keywords | subcollection | ||
---|---|---|---|---|---|
|
2019-06-11 |
IBM Blockchain Platform, IBM Cloud Private, system requirements, Kubernetes Helm chart, behind a firewall |
blockchain |
{:external: target="_blank" .external} {:shortdesc: .shortdesc} {:screen: .screen} {:codeblock: .codeblock} {:note: .note} {:important: .important} {:tip: .tip} {:pre: .pre}
About {{site.data.keyword.blockchainfull_notm}} Platform for {{site.data.keyword.cloud_notm}} Private
{: #ibp-icp-about}
This documentation describes the {{site.data.keyword.blockchainfull}} Platform for {{site.data.keyword.cloud_notm}} Private version 1.02. The newest offering for {{site.data.keyword.cloud_notm}} Private is {{site.data.keyword.blockchainfull}} Platform for Multi-Cloud and is now generally available. {{site.data.keyword.blockchainfull}} Platform for Multi-Cloud is based on Hyperledger Fabric v1.4, offers a console UI, and supports {{site.data.keyword.cloud_notm}} Private v3.2.0. Users who are new to this offering should use {{site.data.keyword.blockchainfull}} Platform for Multi-Cloud to build their blockchain networks. For more information, see About {{site.data.keyword.blockchainfull_notm}} Platform for Multi-Cloud. {: important}
{{site.data.keyword.blockchainfull}} Platform releases {{site.data.keyword.blockchainfull_notm}} Platform for {{site.data.keyword.cloud_notm}} Private, which is an application platform for developing and managing containerized applications. The {{site.data.keyword.blockchainfull_notm}} Platform for {{site.data.keyword.cloud_notm}} Private offering is based on Kubernetes, which allows users to deploy Certificate Authorities (CAs), orderers, and peers on x86, LinuxONE, and {{site.data.keyword.IBM_notm}} Z. You can deploy {{site.data.keyword.blockchainfull_notm}} Platform for {{site.data.keyword.cloud_notm}} Private by using Kubernetes Helm charts. {:shortdesc}
{{site.data.keyword.blockchainfull_notm}} Platform for {{site.data.keyword.cloud_notm}} Private is upgraded to Hyperledger Fabric v1.4.0 on April 23, 2019. However, gossip and private data will not be supported so far. {:note}
{{site.data.keyword.blockchainfull_notm}} Platform for {{site.data.keyword.cloud_notm}} Private delivers the components that you need to run a blockchain network on your own infrastructure through {{site.data.keyword.cloud_notm}} Private. The components include Hyperledger Fabric Certificate Authority (CA), an orderer, and a peer, which you deploy, manage, and set up by using Kubernetes Helm charts. This offering is intended for customers with advanced Hyperledger Fabric experience.
{{site.data.keyword.blockchainfull_notm}} Platform for {{site.data.keyword.cloud_notm}} Private enables blockchain networks to be deployed on a private cloud to address data residency requirements, market regulations, and infrastructure preference. It simplifies the deployment of essential elements of a blockchain network in your own infrastructure through {{site.data.keyword.cloud_notm}} Private, a Kubernetes-based application platform for developing and managing on-premises, containerized applications.
- Enables clients to manage {{site.data.keyword.blockchainfull_notm}} Platform networks with their own infrastructure. A free Community Edition allows customers to run in their own isolated and secure environments, but no support will be provided.
- Enables clients to configure Fabric on Kubernetes by using Helm charts and detailed documentation for operations.
- Entitles clients with advanced technical support, unless you use the Community Edition.
{{site.data.keyword.blockchainfull_notm}} Platform for {{site.data.keyword.cloud_notm}} Private is a bundled product for {{site.data.keyword.cloud_notm}} Private customers to deploy blockchain components in their local environment. After you import the Helm chart, you can find it as an {{site.data.keyword.blockchainfull_notm}} Platform tile in the {{site.data.keyword.cloud_notm}} Private Catalog. For more information about {{site.data.keyword.cloud_notm}} Private, see the documentation for {{site.data.keyword.cloud_notm}} Private version 3.1.2{: external}.
What {{site.data.keyword.blockchainfull_notm}} Platform for {{site.data.keyword.cloud_notm}} Private offers
{{site.data.keyword.blockchainfull_notm}} Platform for {{site.data.keyword.cloud_notm}} Private allows you to deploy all of the fundamental components of a Hyperledger Fabric blockchain: a Certificate Authority, an ordering service, and peers. It provides you the flexibility to deploy different components depending on your business needs. You can use {{site.data.keyword.blockchainfull_notm}} for {{site.data.keyword.cloud_notm}} Private to start a blockchain network by deploying and configuring an ordering service that binds organizations together in a blockchain consortium. You can also deploy peers and join other networks that use components based on Fabric, including {{site.data.keyword.blockchainfull_notm}} Platform networks deployed across clouds by using {{site.data.keyword.cloud_notm}} Private, or Starter Plan and Enterprise Plan networks hosted on {{site.data.keyword.cloud_notm}}. For more information about the building blocks of Hyperledger Fabric networks, see the blockchain component overview.
Is {{site.data.keyword.blockchainfull_notm}} Platform for {{site.data.keyword.cloud_notm}} Private suitable for you
Running the {{site.data.keyword.blockchainfull_notm}} Platform components outside of {{site.data.keyword.cloud_notm}} provides you with more flexibility to grow or join a blockchain network. It helps network initiators grow their networks by allowing new members to join while using the platform of their choice. It will allow organizations that are interested in joining blockchain networks to collocate their peers with their existing applications or to integrate with their systems of record.
Users of this offering will manage their own security and infrastructure. {{site.data.keyword.cloud_notm}} doesn't provide those services. Review the Considerations and limitations in the next section before you begin.
{: #ibp-icp-about-considerations}
Before getting started, ensure that you understand the following considerations and limitations:
- You are responsible for the health monitoring, security, logging, and managing the resource usage of your components.
- Components that run in other cloud environments are not visible in the Network Monitor of the networks running on {{site.data.keyword.cloud_notm}}.
- The Helm charts deploy a single instance of an orderer or peer, or CA.
- You can deploy multiple components to a single name space in {{site.data.keyword.cloud_notm}} Private as long as they have different release names.
- Components cannot be addressed by using the Swagger UI in the Network Monitor UI.
- Mutual TLS is not supported.
- The underlying technology, Hyperledger Fabric, uses containers to run chaincode and Docker to start that container. The only way for a peer to start a chaincode container is to use Docker-in-Docker that requires privileged access.
- This Helm chart deploys a single instance of the CA. As it is considered best practice to have a separate CA for each organization, it might be necessary to deploy several CAs. For example, if you plan to deploy one orderer and three peers, you will need at least two CAs (one for the orderer organization and another for the peer organization).
- Though you might choose to run a separate MySQL database, this option is not present in the Helm chart. However, the Helm chart will deploy an SQLite database inside the CA to handle the database necessities of the CA, which include tracking the number of enrollments per user and any revoked certificates.
- The ordering service is compatible with any component at v1.1 or higher of Hyperledger Fabric.
- This Helm chart deploys a single instance of the SOLO ordering service (one orderer). Note that it is not possible to deploy more than one SOLO orderer on a channel to make the ordering service highly available. This is one reason why SOLO ordering services are considered to be for development, rather than production, environments. However, you can deploy multiple instances of the SOLO ordering service to different networks (that is, with a separate consortium).
- You can connect your peers only to blockchain networks that are at Fabric level v1.1 or higher.
- The database type of the peer must match the database type of your blockchain network, either LevelDB or CouchDB.
- The CouchDB Fauxton interface is not available on the peer.
- Gossip for peers is not currently supported. This implies that Fabric features that depend on gossip, such as private data{: external} and service discovery{: external}, are also not supported.
{: #ibp-icp-about-prerequisites}
{{site.data.keyword.blockchainfull_notm}} Platform for {{site.data.keyword.cloud_notm}} Private supports the following operating systems:
- Red Hat Enterprise Linux (RHEL) 7.3, 7.4, 7.5
- Ubuntu 18.04 LTS and 16.04 LTS
- SUSE Linux Enterprise Server (SLES) 12 SP3
The {{site.data.keyword.blockchainfull_notm}} Platform for {{site.data.keyword.cloud_notm}} Private Helm chart has been validated to run on {{site.data.keyword.cloud_notm}} Private v3.1.2 clusters on Ubuntu Linux by using the following worker nodes and backing storage:
- LinuxONE and {{site.data.keyword.IBM_notm}} Z: z/VM and KVM, which are using NFS.
- x86: Linux 64-bit that uses GlusterFS.
{: #ibp-icp-about-license-pricing}
{{site.data.keyword.blockchainfull_notm}} Platform for {{site.data.keyword.cloud_notm}} Private consists of two editions, a paid offering that is downloadable from Passport Advantage and a free Community edition that is available in GitHub{: external}.
{: #ibp-icp-about-license}
{{site.data.keyword.blockchainfull_notm}} Platform for {{site.data.keyword.cloud_notm}} Private delivers the components needed to run a blockchain network on your own infrastructure and is deployed as an {{site.data.keyword.cloud_notm}} Private application. You can access PPA and download the Helm chart. Technical support from {{site.data.keyword.blockchainfull_notm}} is included in the purchase.
{{site.data.keyword.blockchainfull_notm}} Platform for {{site.data.keyword.cloud_notm}} Private Community Edition is a free offering that is suitable for evaluation and experimentation and is deployed as an {{site.data.keyword.cloud_notm}} Private application. Do not use the Community Edition for production. {{site.data.keyword.blockchainfull_notm}} Platform does not provide support for the Community Edition. You can access the GitHub package{: external} and download the Helm chart.
{: #ibp-icp-about-pricing}
The pricing of {{site.data.keyword.blockchainfull_notm}} Platform for {{site.data.keyword.cloud_notm}} Private is based on the number of Virtual Processor Cores (VPCs) used. A VPC can be either a virtual core that is assigned to a virtual server, or a physical processor core in a non-partitioned server. You must obtain a licensed entitlement for each VPC made available to the {{site.data.keyword.blockchainfull_notm}} Platform.
For more information about how to determine your usage of VPCs, see this article on Virtual Processor Cores (VPC){: external} in {{site.data.keyword.IBM_notm}} Knowledge Center. You can use the {{site.data.keyword.IBM_notm}} License Metric Tool{: external} to configure and create a report that you can use to determine the number of VPCs that you need to get a license.
Installing {{site.data.keyword.blockchainfull_notm}} Platform for {{site.data.keyword.cloud_notm}} Private
{: #ibp-icp-about-install}
{{site.data.keyword.blockchainfull_notm}} Platform for {{site.data.keyword.cloud_notm}} Private is delivered as a Helm chart file that can be installed in a local {{site.data.keyword.cloud_notm}} Private cluster. After you install the Helm chart, you can find {{site.data.keyword.blockchainfull_notm}} Platform as an application in the {{site.data.keyword.cloud_notm}} Private Catalog.
-
{{site.data.keyword.blockchainfull_notm}} Platform for {{site.data.keyword.cloud_notm}} Private is delivered through Passport Advantage. You need to have the required license to access Passport Advantage Online{: external}. Upon your purchase, technical support for the {{site.data.keyword.blockchainfull_notm}} Platform is included.
-
{{site.data.keyword.blockchainfull_notm}} Platform Community edition is meant for exploration, development, and testing. This free version of {{site.data.keyword.blockchainfull_notm}} Platform for {{site.data.keyword.cloud_notm}} Private can be accessed through GitHub. Note: {{site.data.keyword.blockchainfull_notm}} Platform does not provide support for the Community Edition.
For instructions on how to install the Helm chart and the necessary prerequisites, see Installing {{site.data.keyword.blockchainfull_notm}} Platform for {{site.data.keyword.cloud_notm}} Private.
If you are a new user of {{site.data.keyword.cloud_notm}} Private and would like information and tips on installing and deploying {{site.data.keyword.cloud_notm}} Private, see Setting up {{site.data.keyword.cloud_notm}} Private.
After you install {{site.data.keyword.blockchainfull_notm}} Platform for {{site.data.keyword.cloud_notm}} Private, you need to deploy each component of your network individually. You cannot deploy multiple components at the same time. See the Getting started with {{site.data.keyword.blockchainfull_notm}} Platform for {{site.data.keyword.cloud_notm}} Private to learn the best practices for building or joining a blockchain network. Then, review the steps to deploy and operate the individual components in the following sections.
Installing {{site.data.keyword.blockchainfull_notm}} Platform for {{site.data.keyword.cloud_notm}} Private behind a firewall
{: #ibp-icp-about-firewall}
You can deploy the {{site.data.keyword.blockchainfull_notm}} Platform components behind a firewall, without having access to the public Internet. The downloaded Helm chart package includes all of the Fabric component Docker images that {{site.data.keyword.blockchainfull_notm}} Platform uses, without pulling them from DockerHub during deployment.
The {{site.data.keyword.blockchainfull_notm}} Platform Community edition Helm chart package does not include the necessary Fabric component Docker images. It is configured to download those images from DockerHub during deployment and will fail without having access to the public Internet. However, you can take a few additional steps to deploy the Community Edition components behind a firewall. For more information, see Installing the Community Edition behind a firewall.
{: #ibp-icp-about-ca}
Certificate authorities (CAs) provide identity on the network. A CA can be considered as being similar to a notary that acts as an anchor of trust among multiple parties. All entities in the network are given a certificate signed by a root CA that encapsulates their digital identity. This certificate is the root of trust for all the sign and verify operations that are performed on the network. For more information about certificate authorities and the role they play in a blockchain network, see Blockchain component overview.
The CA will validate the identity and issue certificates for the other components in your network that you need to deploy. As a result, you need to deploy a CA for your organization before you deploy other components.
-
To learn how to configure and deploy a CA after installing the Helm chart, see Deploying a Certificate Authority in {{site.data.keyword.cloud_notm}} Private.
-
To learn how to use your CA to generate certificates and complete the prerequisite steps to deploy additional components, see Operating a Certificate Authority in {{site.data.keyword.cloud_notm}} Private.
{: #ibp-icp-about-orderer}
Orderers authenticate clients, order transactions, and broadcast transactions in a blockchain network. They are the common binding of blockchain networks based on Hyperledger Fabric. As a result, the organization that builds a network needs to deploy and start an "ordering service" (the node or collection of nodes that do the ordering) before other organizations can deploy their peers, join channels, and start transactions on the network. For more information about orderers and the role that they play in a blockchain network, see Blockchain component overview.
If you are building a blockchain network, you need to deploy an orderer. After it has been deployed, you can invite other organizations to your consortium, which can then create channels of their own.
-
To learn how to configure and deploy an orderer after you install the Helm chart, see Deploying an orderer on {{site.data.keyword.cloud_notm}} Private.
-
To learn how to build a consortium, see Operating an orderer on {{site.data.keyword.cloud_notm}} Private.
{: #ibp-icp-about-peer}
Peers are a fundamental element of the network because they host ledgers and smart contracts. Smart contracts and ledgers are used to encapsulate the shared processes and shared information in a network, respectively. For more information about peers and the role that they play in a blockchain network, see Blockchain component overview.
-
When you are ready to join a network, you can deploy a peer that will join channels, endorse transactions, and store the channel ledgers. For information about deploying a peer on {{site.data.keyword.cloud_notm}} Private that will connect to other components on {{site.data.keyword.cloud_notm}} Private, see Deploying a peer on {{site.data.keyword.cloud_notm}} Private. For information about deploying a peer on {{site.data.keyword.cloud_notm}} Private that will connect to a Starter or Enterprise Plan network, see Deploying a peer that will connect to Starter or Enterprise.
-
After you set up the peer, you need to complete several operational steps before you can submit transactions and read the distributed ledger from the blockchain network.
- If you are connecting your peer to an {{site.data.keyword.blockchainfull_notm}} Platform deployed on {{site.data.keyword.cloud_notm}} Private, see Operating peers on {{site.data.keyword.cloud_notm}} Private with a Multi-cloud Network.
- If you are connecting your peer to a Starter Plan or Enterprise Plan network that is deployed on {{site.data.keyword.cloud_notm}}, see Operating peers on {{site.data.keyword.cloud_notm}} Private with Starter Plan or Enterprise Plan.
{: #ibp-icp-about-security}
Because these components are deployed outside of {{site.data.keyword.cloud_notm}}, you are responsible for managing their security. This includes important areas of security, such as key management and data encryption. Review the following topics when you consider security for your components.
{: #ibp-icp-about-security-data}
{{site.data.keyword.blockchainfull_notm}} Platform Starter and Enterprise plans use whole disk encryption that is based on symmetric key encryption{: external} to protect all the data that the networks use. You must take similar steps in your own environment to protect your peer data.
The data in your state database, whether you use LevelDB or CouchDB, is not encrypted. You can use application level encryption to protect the data at rest in your state database.
{: #ibp-icp-about-security-data-residency}
Data residency requirements can mandate that the processing and storage of all blockchain ledger data remain within the border of a single country (or within some other defined boundary). For more information about how data residency can be accomplished, see Data residency.
{: #ibp-icp-about-security-key-management}
Key management is a critical aspect of security. If a private key is compromised or lost, hostile actors might be able to access your data and functionality. {{site.data.keyword.IBM_notm}} uses physical appliances that are called Hardware Security Modules (HSM) to store the private keys of {{site.data.keyword.blockchainfull_notm}} Platform Enterprise Plan networks.
When you deploy a component on {{site.data.keyword.cloud_notm}} Private, you are responsible for managing your private keys. Although {{site.data.keyword.blockchainfull_notm}} Platform generates private keys, those keys are not stored on the Platform. It is essential to store your keys securely so that they are not compromised. You can find the private key of your component in the keystore folder of your peer MSP, at the /mnt/crypto/peer/peer/msp/keystore/
directory within your component. For more information about the certificates inside your peer, see the Membership Services Provider section of the Managing certificates on {{site.data.keyword.blockchainfull_notm}} Platform tutorial.
You can use Key Escrow to recover lost private keys. This needs to be performed prior to the loss of any keys. If a private key cannot be recovered, you need to get new private keys by registering a new identity with your Certificate Authority. You should also remove and replace your signCert from any channels that you joined.
{: #ibp-icp-about-security-tls}
Transport Layer Security{: external} (TLS) is embedded in the trust model of Hyperledger Fabric. All Starter and Enterprise components on {{site.data.keyword.blockchainfull_notm}} Platform use TLS to authenticate and communicate with each other. Therefore, the network components on Platform need to be able to complete a TLS handshake with your peers. One implication of this is that you need to enable passthru, by using white listing for example, in your firewall from client apps to your peer.
{: #ibp-icp-about-security-MSP}
Components of {{site.data.keyword.blockchainfull_notm}} Platform consume identities via Membership Service Providers (MSPs). MSPs associate the certificates that the CAs issue with network and channel roles. For more information about how MSPs work with the peer, see Membership Service Providers (MSPs).
{: #ibp-icp-about-security-appl}
Because all chaincode invocations are signed, Fabric manages the application security. In addition, Fabric also includes ACL-based application level checks.
{: #ibp-icp-about-data-residency}
Because blockchain networks are oblivious to the type of data that is processed, extra steps must sometimes be taken to keep certain kinds of data secure. The most common requirement on data residency is associated with laws within certain countries, which mandate that all data that is processed and stored in an IT system must remain within a specific country’s borders. Similarly, some companies in highly regulated industries, such as government, healthcare, and financial services, require that data must be stored entirely behind their firewall. Therefore, to achieve data residency, all components of the blockchain network must be part of the same channel and reside within the border of a single country.
To address data residency requirements, it is important to understand the Hyperledger Fabric architecture that underlies {{site.data.keyword.blockchainfull_notm}} Platform. The architecture is centered around three key components: an ordering service (made up of orderers), Certificate Authorities (CA), and peers. A peer receives ordered state updates in the form of blocks from the ordering service and maintains the state and the ledger. Therefore, a peer and an ordering service have a direct relationship. The ledger contains the latest values for all keys and the data that the transaction logs include.
Additionally, client applications use the Fabric SDKs{: external} to send transactions to the peers and ordering service. These transactions include read-write set{: external} data, which contains the key-value pairs on the ledger.
If in-country data residency is a requirement, the orderer, peers, and client applications must reside in the same country. When an {{site.data.keyword.blockchainfull_notm}} Platform network is created in {{site.data.keyword.cloud_notm}}, you have the choice of selecting a location for the network. For more information about regions and locations, see {{site.data.keyword.blockchainfull_notm}} Platform regions and locations.
Consider an {{site.data.keyword.blockchainfull_notm}} Platform network that includes the orderer and CA along with a consortium of four organizations. The organizations have one or more peer nodes, and all four organizations are part of a single channel and all components of the network reside in the region (for example Frankfurt) where the {{site.data.keyword.blockchainfull_notm}} Platform network was deployed. Finally, the client applications that interact with the peers also reside within Germany.
In this example, data residency is maintained.
Figure 1. Data Residency when all components are in the same country
Now let’s consider the implications when a distributed peer joins one of the organizations. A distributed peer can reside in the same region as the rest of the network or anywhere outside of the region of the {{site.data.keyword.blockchainfull_notm}} Platform network:
- If the peer resides in the same country as the rest of the network, data residency is maintained. All ledger data stays within Germany as in Figure 1.
- If the peer happens to reside in a different country (such as USA for example), data residency is no longer maintained as data on the peer ledger is shared outside the country's border.
To solve this problem channels can be used to segregate data to a subset of peers on the network. When the {{site.data.keyword.blockchainfull_notm}} Platform network contains a distributed peer and orderers across country borders, channels provide isolation of ledger data from organizations with peers outside the country border.
Note: Orderers are always located in the data center region you selected to host the network. It is not possible to have multiple orderers across country borders. Peers, however, can be located either in the data center or at a remote location outside {{site.data.keyword.cloud_notm}}.
Figure 2. Data Residency when peers are outside the country of the {{site.data.keyword.blockchainfull_notm}} Platform region
In Figure 2, Data residency is not required for OrgC
and OrgD
. In fact, OrgD
now includes two distributed peers, OrgD-peer1
and OrgD-peer2
, which reside in the United States. Therefore, in order for OrgA
, OrgB
, and their respective client applications and peers that reside in Germany to isolate the ledger data on channel X
, a new channel Y
is created for OrgC
and OrgD
.
For a deeper understanding of the flow of data on the {{site.data.keyword.blockchainfull_notm}} Platform network, see the Fabric documentation on transaction flow{: external}.
In the future, new technology in Hyperledger Fabric will improve the ability to achieve further data residency by using Private data collections{: external} and zero knowledge proof.
-
A private data collection ensures that the private data is shared peer-to-peer (via the gossip protocol) to only the authorized peers to see it, for example, peers that are within the country borders. The data is stored in a private database on the peer. The ordering service is not involved here and does not see the private data. A hash of that data is written to the ledgers of every peer on the channel. The hash that is used for state validation, serves as evidence of the transaction, and can be used for audit purposes. Private data is available for networks on the {{site.data.keyword.blockchainfull_notm}} Platform that are running on Fabric version 1.2.1 or higher. However, the private data feature is not available for peers running in {{site.data.keyword.cloud_notm}} Private, as {{site.data.keyword.cloud_notm}} Private networks currently do not use gossip.
-
A zero knowledge proof (ZKP) allows a “prover” to assure a “verifier” that they have knowledge of a secret without revealing the secret itself.
You can get more information about these technologies in the white paper about Private and confidential transactions with Hyperledger Fabric{: external}.
{: #ibp-icp-about-support}
For information on digital support offerings, refer to the {{site.data.keyword.blockchainfull_notm}} Platform support resources and support forums.
If you have purchased an {{site.data.keyword.blockchainfull_notm}} Platform for {{site.data.keyword.cloud_notm}} Private license and you want to contact Customer support, see the information about accessing the {{site.data.keyword.IBM_notm}} Support Community and opening a support ticket{: external}.
The Community Edition is intended for exploration, development, and testing. {{site.data.keyword.blockchainfull_notm}} Platform does not provide support for the {{site.data.keyword.blockchainfull_notm}} Platform Community Edition.
If you encounter issues that are related to your blockchain components, you can use free blockchain developer resources and support forums and get help from {{site.data.keyword.IBM_notm}} and the Fabric community. For more information, see blockchain resources and support forums.
For issues that are related to {{site.data.keyword.cloud_notm}} Private, you can take advantage of both free digital support and paid support that {{site.data.keyword.cloud_notm}} Private offers.