Deploy & Manage Hyperledger Fabric


In this tutorial we will show you how to deploy a Hyperledger Fabric v0.6.1 cluster.


This tutorial assumes you have installed Cloudsoft AMP and have configured a deployment location that supports CentOS 7.


Deploy a Hyperledger Fabric Cluster

From the AMP home page, click the quick launch icon for Hyperledger Fabric.

quick launch app

Enter a name for your cluster and the location onto which you want to deploy it.

hyperledger.peers.per.location determines the number of validating peers that will be created. The remaining configuration values can be left at their default values.

When you are ready to begin your deployment, click “Deploy”.

quick launch app

Inspect the Live Model and Its Sensors

Select “App inspector” from the AMP home page and look for an application with the name that you specified. Once deployment is complete, there will be a green circle next to its name.

Click on the application to expand it and then click on any of the child components. Several new tabs will appear on the right; click on “Sensors” to view all of the sensor information for the selected component.

inspect sensors

Run the Demo Application

AMP provides an effector that deploys and runs a demonstration asset management chaincode + application. The app repeatedly assigns an asset “Picasso” from one owner to another. For more information about this application as well as the backing chaincode, see the Fabric repository.

In the “App Inspector” click on the “CLI Node” component (hierarchy pictured below), click on “Effectors”, and finally click “Invoke” next to “Run Demo Application”.

run demo application

Once you’ve started running the demo application, you can view its progress live. Click on the “Activities” tab of the “CLI Node” and then click on the “Run Demo Application” activity in the list (likely under “start”).

Click on “ssh: effector Run Demo Application ssh call” and then click on the eye-shaped icon within “stdout” and check “Auto Refresh” to view the output of the running application. The application should complete successfully and print Dave is the owner!.

run demo application