Deploy Hyperledger Composer on Oracle Cloud Container Native (Managed Kubernetes) in less than 30 Minutes


PART ONE: PREPARE YOUR ENVIRONMENT

Get a cloud account, log in with your IdCS credentials, go to the Compute (new OCI) dashboard and create a local user:

k8s-hyper-composer-01

Create a Policy:

k8s-hyper-composer-02

Add the following policy statements it they don’t exist:

k8s-hyper-composer-03

Create a Compartment:

k8s-hyper-composer-00

Create a Virtual Cloud Network (VCN) and 3 subnets on it in case you don’t have one already:

k8s-hyper-composer-05

k8s-hyper-composer-06

PART TWO: CREATE THE K8S CLUSTER

Go to Containers menu, click Create Cluster Button:

k8s-hyper-composer-10

Introduce the proper information and Click Create:

 

k8s-hyper-composer-11

Add compute resources to the cluster (Pools):

k8s-hyper-composer-12

k8s-hyper-composer-13

Obtain information for managing the K8s cluster from command line (kubectl):

k8s-hyper-composer-14

k8s-hyper-composer-15

Start k8s dashboard:

k8s-hyper-composer-20

PART THREE: DEPLOY HYPERLEDGER COMPOSER

Open dashboard in browser:

k8s-hyper-composer-21

Locate the kubeconfig file and Sing In:

k8s-hyper-composer-22

k8s-hyper-composer-23

In the dashboard click Create button in the upper right corner:

k8s-hyper-composer-24

Locate the Hyperledger container in docker hub:

k8s-hyper-composer-25

Provide the appropiate info in the dialog:

k8s-hyper-composer-26

Wait for the service to be created and ready:

k8s-hyper-composer-27

Click on the public url and test it!:

k8s-hyper-composer-28

That’s it!

Enjoy 😉

 

One Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.