Deployment of hyperledger fabric on production - hyperledger-fabric

i have done a PoC of hyperledger fabric for KYC now it's time for deployment.I have been through several tutorial for the deployment of hlf project.What i found is to deploy on amazon using instances.Hyperledger being a decentralised app how can it be deployed to a centralised server in this case Amazon cloud.Where should i supposed to Deploy my project in order to make it fully decentralised.

Related

The certificate could not be generated IBM blockchain

I have configured my hyperledger fabric network using the ibm operator, at this moment I have my kubeternes cluster that is running in eks ready and I am trying to associate an identity, but when trying to do so it shows me the following message: the certificate could not be generated
Doing some validations and searching the pod logs I can't find any additional information. The version of hyperledger installed is 1.5.5-1

inject secrets (API keys etc) into node js project

I'm migrating a nodeJS project from GCP to DigitalOcean.
I'm running this nodeJS code on a kubernetes cluster in DigitalOcean. I'm using GitHub Actions to automatically build a docker image and deploy it to my kubernetes cluster. Everything works as expected, but I have a question.
On GCP, I used the secret manager to inject secrets (database credentials, API keys, ...) into my NodeJS project. I am looking for a similar solution on DigitalOcean. I have found SecretHub, it looks interesting but I'm unable to sign up.
I have found this from 1password connect, but it looks like I have to setup a server?
Does anyone know some interesting tool or trick to secure inject secrets into my nodejs code?
Yes, you can check out the Hashi corp vault which is mainly used with Kubernetes as a secret solution to inject the configuration and variables to the deployment of Kubernetes.
It's easy to set up and integrate with Kubernetes.
Hashi corp vault : https://www.hashicorp.com/products/vault
Enterprise version is paid one however you can open-source version which will solve your all needs with UI and login panel, you can use it for Production purpose it's safe, secure, and easy to integrate.
You can run one simple POD(deployment) on the Kubernetes server.
here you can follow the demo with minikube setup: https://learn.hashicorp.com/tutorials/vault/kubernetes-minikube?in=vault/kubernetes

Wants to deploy chaincode written in golang to aws cloud

I have written my chaincode in golang and now I want to deploy it on a cloud (aws).
Is the golang file enough to deploy it or do I need to package additional files for deployment?
Just the golang file. Is going to ask your for the dependencies also, but you can get them on the machine that you will deploy the chaincode.

How to connect to existing hyperledger network

I am trying to deploy a business network archive (.bna) file to an existing hyperledger fabric network. I have started the network using the fabric samples/first-network as a hyperledger network by following the guide http://hyperledger-fabric.readthedocs.io/en/release/build_network.html. But I dont have any clue to import the .bna into the hyperledger network.
Any help would be appreciated.
If you are using v1.0.x of fabric you will need Composer v0.16.x and you can go through this tutorial to understand the steps though your experience will be a little different as you have your own Fabric already running.
If you are using fabric v1.1.0-alpha then you will need Composer v0.17.6 and an updated tutorial.
You don't say if you have created the .bna file from the Playground or from the CLI. If you have created from the Playground then you will need to install the Composer CLI to follow the tutorial commands. The CLI install information can be found here for v0.16.x or here for v0.17.6.

Azure Service Fabric - continuous integration on VSTS

Is it possible to setup Continuous Integration on VSTS without using external VM as build agent (https://azure.microsoft.com/en-us/documentation/articles/service-fabric-set-up-continuous-integration/)?
What I would like to achieve is to have one Service Fabric Solution with 2 statefull/stateless services (serviceA and serviceB). I want to build and deploy them separately as different build jobs on VSTS, but to deployed them to the same Service Fabric Cluster on Azure (fabric:/App/ServiceA, fabric:/App/ServiceB).
As of the Service Fabric SDK 2.1.150 and Runtime 5.1.150 release, it is possible to deploy Service Fabric application using VSTS's hosted build agent as the dependencies can be added via a NuGet package - refer to the following video for details. http://www.dotjson.uk/azure-service-fabric-continous-integration-and-deployment-in-15-minutes/
In your specific case; just create 2 build definitions (1 for each service) and 2 release definitions (1 for each service) and hook them up to the same hosted Service Fabric cluster.
Unfortunately deploying applications relies on the Service Fabric SDK being installed so you'll need to set up an agent as the instructions suggest. If you don't want to pay for the Azure VM, you might want to consider running the agent service locally e.g. On your devbox.
Note that with Service Fabric you deploy applications, not services. You can however update services independently.
It sounds like you need to have service fabric SDK installed on the build machine, and I'm guessing the hosted agent doesn't have that. If that's the case, then yes you need to create your own build server VM

Resources