Adding member to existing hyperledger Fabric 1.2 network on amazonmanaged blockchain












3















I am exploring amazon managed blockchain. Network (Hyperledger Fabric 1.2) is created, first member is added, peer node is added and VPC Service endpoint is also created. A sample chainnode is invoked and I am also able to query the chain node.
Now I want to add another member in the existing network, but I am unable to do so. Instead of using amazon managed blockchain dashboard, I am using AWS CLI and using below command.



Using username "ec2-user".
Authenticating with public key "imported-openssh-key"
__| __|_ )
_| ( / Amazon Linux 2 AMI
___|___|___|
https://aws.amazon.com/amazon-linux-2/
aws managedblockchain create-network --network-configuration Name='nmynetwork, Description=mynetwork, Framework=HYPERLEDGER_FABRIC,FrameworkVersion=1.2' --member-configuration 'Name=mynetworkmember2, Description=mynetworkmember2, FrameworkConfiguration={Fabric={AdminUsername=adminxxxx, AdminPassword=Adminxxxx}}'


But CLI is showing below error.



An error occurred (ResourceLimitExceededException) when calling the CreateNetwork operation (reached max retries: 4): You cannot create a new network. You at any given time.


Then I tried to add member in a new network. But error is similar.



aws managedblockchain create-network --network-configuration Name='newnetwork, Description=mynetwork, Framework=HYPERLEDGER_FABRIC,FrameworkVersion=1.2' --member-configuration 'Name=mynetworkmember2, Description=mynetworkmember2, FrameworkConfiguration={Fabric={AdminUsername=adminxxx, AdminPassword=Adminxxx}}'


Result



An error occurred (ResourceLimitExceededException) when calling the CreateNetwork operation (reached max retries: 4): You cannot create a new network. You at any given time.


I have also checked AWS documentation, they have also mentioned same "create-network" command to create a network and add member in the network.




When you create the network, you also must create the first member in
the network using the --member-configuration option. Because Managed
Blockchain creates a certificate authority (CA) with each member that
handles authenticating users, you must provide a user name and
password for the administrator. You specify these using the
AdminUsername and AdminPassword properties. The password you use must
be a minimum of 8 characters, and contain at least one number and one
capital letter. Remember the user name and password. You need them
later any time you create users and resources that need to
authenticate.



Create the network using an AWS CLI command similar to the following:




aws managedblockchain create-network


Can anyone assist me in this regard? Thanks in advance.










share|improve this question



























    3















    I am exploring amazon managed blockchain. Network (Hyperledger Fabric 1.2) is created, first member is added, peer node is added and VPC Service endpoint is also created. A sample chainnode is invoked and I am also able to query the chain node.
    Now I want to add another member in the existing network, but I am unable to do so. Instead of using amazon managed blockchain dashboard, I am using AWS CLI and using below command.



    Using username "ec2-user".
    Authenticating with public key "imported-openssh-key"
    __| __|_ )
    _| ( / Amazon Linux 2 AMI
    ___|___|___|
    https://aws.amazon.com/amazon-linux-2/
    aws managedblockchain create-network --network-configuration Name='nmynetwork, Description=mynetwork, Framework=HYPERLEDGER_FABRIC,FrameworkVersion=1.2' --member-configuration 'Name=mynetworkmember2, Description=mynetworkmember2, FrameworkConfiguration={Fabric={AdminUsername=adminxxxx, AdminPassword=Adminxxxx}}'


    But CLI is showing below error.



    An error occurred (ResourceLimitExceededException) when calling the CreateNetwork operation (reached max retries: 4): You cannot create a new network. You at any given time.


    Then I tried to add member in a new network. But error is similar.



    aws managedblockchain create-network --network-configuration Name='newnetwork, Description=mynetwork, Framework=HYPERLEDGER_FABRIC,FrameworkVersion=1.2' --member-configuration 'Name=mynetworkmember2, Description=mynetworkmember2, FrameworkConfiguration={Fabric={AdminUsername=adminxxx, AdminPassword=Adminxxx}}'


    Result



    An error occurred (ResourceLimitExceededException) when calling the CreateNetwork operation (reached max retries: 4): You cannot create a new network. You at any given time.


    I have also checked AWS documentation, they have also mentioned same "create-network" command to create a network and add member in the network.




    When you create the network, you also must create the first member in
    the network using the --member-configuration option. Because Managed
    Blockchain creates a certificate authority (CA) with each member that
    handles authenticating users, you must provide a user name and
    password for the administrator. You specify these using the
    AdminUsername and AdminPassword properties. The password you use must
    be a minimum of 8 characters, and contain at least one number and one
    capital letter. Remember the user name and password. You need them
    later any time you create users and resources that need to
    authenticate.



    Create the network using an AWS CLI command similar to the following:




    aws managedblockchain create-network


    Can anyone assist me in this regard? Thanks in advance.










    share|improve this question

























      3












      3








      3








      I am exploring amazon managed blockchain. Network (Hyperledger Fabric 1.2) is created, first member is added, peer node is added and VPC Service endpoint is also created. A sample chainnode is invoked and I am also able to query the chain node.
      Now I want to add another member in the existing network, but I am unable to do so. Instead of using amazon managed blockchain dashboard, I am using AWS CLI and using below command.



      Using username "ec2-user".
      Authenticating with public key "imported-openssh-key"
      __| __|_ )
      _| ( / Amazon Linux 2 AMI
      ___|___|___|
      https://aws.amazon.com/amazon-linux-2/
      aws managedblockchain create-network --network-configuration Name='nmynetwork, Description=mynetwork, Framework=HYPERLEDGER_FABRIC,FrameworkVersion=1.2' --member-configuration 'Name=mynetworkmember2, Description=mynetworkmember2, FrameworkConfiguration={Fabric={AdminUsername=adminxxxx, AdminPassword=Adminxxxx}}'


      But CLI is showing below error.



      An error occurred (ResourceLimitExceededException) when calling the CreateNetwork operation (reached max retries: 4): You cannot create a new network. You at any given time.


      Then I tried to add member in a new network. But error is similar.



      aws managedblockchain create-network --network-configuration Name='newnetwork, Description=mynetwork, Framework=HYPERLEDGER_FABRIC,FrameworkVersion=1.2' --member-configuration 'Name=mynetworkmember2, Description=mynetworkmember2, FrameworkConfiguration={Fabric={AdminUsername=adminxxx, AdminPassword=Adminxxx}}'


      Result



      An error occurred (ResourceLimitExceededException) when calling the CreateNetwork operation (reached max retries: 4): You cannot create a new network. You at any given time.


      I have also checked AWS documentation, they have also mentioned same "create-network" command to create a network and add member in the network.




      When you create the network, you also must create the first member in
      the network using the --member-configuration option. Because Managed
      Blockchain creates a certificate authority (CA) with each member that
      handles authenticating users, you must provide a user name and
      password for the administrator. You specify these using the
      AdminUsername and AdminPassword properties. The password you use must
      be a minimum of 8 characters, and contain at least one number and one
      capital letter. Remember the user name and password. You need them
      later any time you create users and resources that need to
      authenticate.



      Create the network using an AWS CLI command similar to the following:




      aws managedblockchain create-network


      Can anyone assist me in this regard? Thanks in advance.










      share|improve this question














      I am exploring amazon managed blockchain. Network (Hyperledger Fabric 1.2) is created, first member is added, peer node is added and VPC Service endpoint is also created. A sample chainnode is invoked and I am also able to query the chain node.
      Now I want to add another member in the existing network, but I am unable to do so. Instead of using amazon managed blockchain dashboard, I am using AWS CLI and using below command.



      Using username "ec2-user".
      Authenticating with public key "imported-openssh-key"
      __| __|_ )
      _| ( / Amazon Linux 2 AMI
      ___|___|___|
      https://aws.amazon.com/amazon-linux-2/
      aws managedblockchain create-network --network-configuration Name='nmynetwork, Description=mynetwork, Framework=HYPERLEDGER_FABRIC,FrameworkVersion=1.2' --member-configuration 'Name=mynetworkmember2, Description=mynetworkmember2, FrameworkConfiguration={Fabric={AdminUsername=adminxxxx, AdminPassword=Adminxxxx}}'


      But CLI is showing below error.



      An error occurred (ResourceLimitExceededException) when calling the CreateNetwork operation (reached max retries: 4): You cannot create a new network. You at any given time.


      Then I tried to add member in a new network. But error is similar.



      aws managedblockchain create-network --network-configuration Name='newnetwork, Description=mynetwork, Framework=HYPERLEDGER_FABRIC,FrameworkVersion=1.2' --member-configuration 'Name=mynetworkmember2, Description=mynetworkmember2, FrameworkConfiguration={Fabric={AdminUsername=adminxxx, AdminPassword=Adminxxx}}'


      Result



      An error occurred (ResourceLimitExceededException) when calling the CreateNetwork operation (reached max retries: 4): You cannot create a new network. You at any given time.


      I have also checked AWS documentation, they have also mentioned same "create-network" command to create a network and add member in the network.




      When you create the network, you also must create the first member in
      the network using the --member-configuration option. Because Managed
      Blockchain creates a certificate authority (CA) with each member that
      handles authenticating users, you must provide a user name and
      password for the administrator. You specify these using the
      AdminUsername and AdminPassword properties. The password you use must
      be a minimum of 8 characters, and contain at least one number and one
      capital letter. Remember the user name and password. You need them
      later any time you create users and resources that need to
      authenticate.



      Create the network using an AWS CLI command similar to the following:




      aws managedblockchain create-network


      Can anyone assist me in this regard? Thanks in advance.







      linux amazon-web-services hyperledger-fabric blockchain






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 20 at 9:46









      Moolshanker KothariMoolshanker Kothari

      141110




      141110
























          1 Answer
          1






          active

          oldest

          votes


















          4














          You know that amazon managed block chain is in preview at this stage and only available in 1 region us-east-1.
          AWS is only allowing one network per AWS account. See limitations highlighted by AWS.
          known-issues-limits



          Availability is limited to us-east-1.
          Hyperledger Fabric is the only supported blockchain framework.
          The maximum number of networks per AWS account is 1.
          The maximum number of networks that an AWS account can be a member of is 1.
          The maximum number of members per network is 5.
          The maximum number of peer nodes per member is 1.
          Peer nodes are limited to the bc.t3.small instance type.


          Instead of using create-network(as you can not create more than one network in one AWS account), you need to use create-member command in AWS CLI.
          Here is the SYNOPSIS of create-member command.



          NAME
          create-member -
          DESCRIPTION
          Creates a member within the blockchain network.
          See also: AWS API Documentation
          See 'aws help' for descriptions of global parameters.
          SYNOPSIS
          create-member
          [--client-request-token <value>]
          --network-id <value>
          --member-configuration <value>
          [--cli-input-json <value>]
          [--generate-cli-skeleton <value>]
          OPTIONS
          --client-request-token (string)
          An idempotency token. Set to an arbitrary unique value.
          --network-id (string)
          The unique identifier of the network in which the member is created.
          --member-configuration (structure)
          Member configuration parameters.
          Shorthand Syntax:
          Name=string,Description=string,FrameworkConfiguration={Fabric={AdminUsername=string,AdminPassword=string}}
          JSON Syntax:
          {
          "Name": "string",
          "Description": "string",
          "FrameworkConfiguration": {
          "Fabric": {
          "AdminUsername": "string",
          "AdminPassword": "string"
          }
          }
          }
          --cli-input-json (string) Performs service operation based on the JSON
          string provided. The JSON string follows the format provided by --gen-
          erate-cli-skeleton. If other arguments are provided on the command
          line, the CLI values will override the JSON-provided values. It is not
          possible to pass arbitrary binary values using a JSON-provided value as
          the string will be taken literally.
          --generate-cli-skeleton (string) Prints a JSON skeleton to standard
          output without sending an API request. If provided with no value or the
          value input, prints a sample input JSON that can be used as an argument
          for --cli-input-json. If provided with the value output, it validates
          the command inputs and returns a sample output JSON for that command.
          See 'aws help' for descriptions of global parameters.
          OUTPUT
          MemberId -> (string)
          The unique identifier of the member.


          Alternatively, you can use aws managed blockchain dashboard to add member in existing network. See attached screenshot.
          enter image description here






          share|improve this answer


























          • Now I am able to add member in existing network. I got the response {"MemberId": "m-ESVDXYEIRBCF5B7AWN47M7HGWU"}. I used below command. aws managedblockchain create-member --network-id n-NNNNNNNNNNNNNNN --member-configuration 'Name=mynetworkmember2, Description=mynetworkmember2, FrameworkConfiguration={Fabric={AdminUsername=adminxxx, AdminPassword=Adminxxx}}'

            – Moolshanker Kothari
            Jan 20 at 10:24











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54275221%2fadding-member-to-existing-hyperledger-fabric-1-2-network-on-amazonmanaged-blockc%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          4














          You know that amazon managed block chain is in preview at this stage and only available in 1 region us-east-1.
          AWS is only allowing one network per AWS account. See limitations highlighted by AWS.
          known-issues-limits



          Availability is limited to us-east-1.
          Hyperledger Fabric is the only supported blockchain framework.
          The maximum number of networks per AWS account is 1.
          The maximum number of networks that an AWS account can be a member of is 1.
          The maximum number of members per network is 5.
          The maximum number of peer nodes per member is 1.
          Peer nodes are limited to the bc.t3.small instance type.


          Instead of using create-network(as you can not create more than one network in one AWS account), you need to use create-member command in AWS CLI.
          Here is the SYNOPSIS of create-member command.



          NAME
          create-member -
          DESCRIPTION
          Creates a member within the blockchain network.
          See also: AWS API Documentation
          See 'aws help' for descriptions of global parameters.
          SYNOPSIS
          create-member
          [--client-request-token <value>]
          --network-id <value>
          --member-configuration <value>
          [--cli-input-json <value>]
          [--generate-cli-skeleton <value>]
          OPTIONS
          --client-request-token (string)
          An idempotency token. Set to an arbitrary unique value.
          --network-id (string)
          The unique identifier of the network in which the member is created.
          --member-configuration (structure)
          Member configuration parameters.
          Shorthand Syntax:
          Name=string,Description=string,FrameworkConfiguration={Fabric={AdminUsername=string,AdminPassword=string}}
          JSON Syntax:
          {
          "Name": "string",
          "Description": "string",
          "FrameworkConfiguration": {
          "Fabric": {
          "AdminUsername": "string",
          "AdminPassword": "string"
          }
          }
          }
          --cli-input-json (string) Performs service operation based on the JSON
          string provided. The JSON string follows the format provided by --gen-
          erate-cli-skeleton. If other arguments are provided on the command
          line, the CLI values will override the JSON-provided values. It is not
          possible to pass arbitrary binary values using a JSON-provided value as
          the string will be taken literally.
          --generate-cli-skeleton (string) Prints a JSON skeleton to standard
          output without sending an API request. If provided with no value or the
          value input, prints a sample input JSON that can be used as an argument
          for --cli-input-json. If provided with the value output, it validates
          the command inputs and returns a sample output JSON for that command.
          See 'aws help' for descriptions of global parameters.
          OUTPUT
          MemberId -> (string)
          The unique identifier of the member.


          Alternatively, you can use aws managed blockchain dashboard to add member in existing network. See attached screenshot.
          enter image description here






          share|improve this answer


























          • Now I am able to add member in existing network. I got the response {"MemberId": "m-ESVDXYEIRBCF5B7AWN47M7HGWU"}. I used below command. aws managedblockchain create-member --network-id n-NNNNNNNNNNNNNNN --member-configuration 'Name=mynetworkmember2, Description=mynetworkmember2, FrameworkConfiguration={Fabric={AdminUsername=adminxxx, AdminPassword=Adminxxx}}'

            – Moolshanker Kothari
            Jan 20 at 10:24
















          4














          You know that amazon managed block chain is in preview at this stage and only available in 1 region us-east-1.
          AWS is only allowing one network per AWS account. See limitations highlighted by AWS.
          known-issues-limits



          Availability is limited to us-east-1.
          Hyperledger Fabric is the only supported blockchain framework.
          The maximum number of networks per AWS account is 1.
          The maximum number of networks that an AWS account can be a member of is 1.
          The maximum number of members per network is 5.
          The maximum number of peer nodes per member is 1.
          Peer nodes are limited to the bc.t3.small instance type.


          Instead of using create-network(as you can not create more than one network in one AWS account), you need to use create-member command in AWS CLI.
          Here is the SYNOPSIS of create-member command.



          NAME
          create-member -
          DESCRIPTION
          Creates a member within the blockchain network.
          See also: AWS API Documentation
          See 'aws help' for descriptions of global parameters.
          SYNOPSIS
          create-member
          [--client-request-token <value>]
          --network-id <value>
          --member-configuration <value>
          [--cli-input-json <value>]
          [--generate-cli-skeleton <value>]
          OPTIONS
          --client-request-token (string)
          An idempotency token. Set to an arbitrary unique value.
          --network-id (string)
          The unique identifier of the network in which the member is created.
          --member-configuration (structure)
          Member configuration parameters.
          Shorthand Syntax:
          Name=string,Description=string,FrameworkConfiguration={Fabric={AdminUsername=string,AdminPassword=string}}
          JSON Syntax:
          {
          "Name": "string",
          "Description": "string",
          "FrameworkConfiguration": {
          "Fabric": {
          "AdminUsername": "string",
          "AdminPassword": "string"
          }
          }
          }
          --cli-input-json (string) Performs service operation based on the JSON
          string provided. The JSON string follows the format provided by --gen-
          erate-cli-skeleton. If other arguments are provided on the command
          line, the CLI values will override the JSON-provided values. It is not
          possible to pass arbitrary binary values using a JSON-provided value as
          the string will be taken literally.
          --generate-cli-skeleton (string) Prints a JSON skeleton to standard
          output without sending an API request. If provided with no value or the
          value input, prints a sample input JSON that can be used as an argument
          for --cli-input-json. If provided with the value output, it validates
          the command inputs and returns a sample output JSON for that command.
          See 'aws help' for descriptions of global parameters.
          OUTPUT
          MemberId -> (string)
          The unique identifier of the member.


          Alternatively, you can use aws managed blockchain dashboard to add member in existing network. See attached screenshot.
          enter image description here






          share|improve this answer


























          • Now I am able to add member in existing network. I got the response {"MemberId": "m-ESVDXYEIRBCF5B7AWN47M7HGWU"}. I used below command. aws managedblockchain create-member --network-id n-NNNNNNNNNNNNNNN --member-configuration 'Name=mynetworkmember2, Description=mynetworkmember2, FrameworkConfiguration={Fabric={AdminUsername=adminxxx, AdminPassword=Adminxxx}}'

            – Moolshanker Kothari
            Jan 20 at 10:24














          4












          4








          4







          You know that amazon managed block chain is in preview at this stage and only available in 1 region us-east-1.
          AWS is only allowing one network per AWS account. See limitations highlighted by AWS.
          known-issues-limits



          Availability is limited to us-east-1.
          Hyperledger Fabric is the only supported blockchain framework.
          The maximum number of networks per AWS account is 1.
          The maximum number of networks that an AWS account can be a member of is 1.
          The maximum number of members per network is 5.
          The maximum number of peer nodes per member is 1.
          Peer nodes are limited to the bc.t3.small instance type.


          Instead of using create-network(as you can not create more than one network in one AWS account), you need to use create-member command in AWS CLI.
          Here is the SYNOPSIS of create-member command.



          NAME
          create-member -
          DESCRIPTION
          Creates a member within the blockchain network.
          See also: AWS API Documentation
          See 'aws help' for descriptions of global parameters.
          SYNOPSIS
          create-member
          [--client-request-token <value>]
          --network-id <value>
          --member-configuration <value>
          [--cli-input-json <value>]
          [--generate-cli-skeleton <value>]
          OPTIONS
          --client-request-token (string)
          An idempotency token. Set to an arbitrary unique value.
          --network-id (string)
          The unique identifier of the network in which the member is created.
          --member-configuration (structure)
          Member configuration parameters.
          Shorthand Syntax:
          Name=string,Description=string,FrameworkConfiguration={Fabric={AdminUsername=string,AdminPassword=string}}
          JSON Syntax:
          {
          "Name": "string",
          "Description": "string",
          "FrameworkConfiguration": {
          "Fabric": {
          "AdminUsername": "string",
          "AdminPassword": "string"
          }
          }
          }
          --cli-input-json (string) Performs service operation based on the JSON
          string provided. The JSON string follows the format provided by --gen-
          erate-cli-skeleton. If other arguments are provided on the command
          line, the CLI values will override the JSON-provided values. It is not
          possible to pass arbitrary binary values using a JSON-provided value as
          the string will be taken literally.
          --generate-cli-skeleton (string) Prints a JSON skeleton to standard
          output without sending an API request. If provided with no value or the
          value input, prints a sample input JSON that can be used as an argument
          for --cli-input-json. If provided with the value output, it validates
          the command inputs and returns a sample output JSON for that command.
          See 'aws help' for descriptions of global parameters.
          OUTPUT
          MemberId -> (string)
          The unique identifier of the member.


          Alternatively, you can use aws managed blockchain dashboard to add member in existing network. See attached screenshot.
          enter image description here






          share|improve this answer















          You know that amazon managed block chain is in preview at this stage and only available in 1 region us-east-1.
          AWS is only allowing one network per AWS account. See limitations highlighted by AWS.
          known-issues-limits



          Availability is limited to us-east-1.
          Hyperledger Fabric is the only supported blockchain framework.
          The maximum number of networks per AWS account is 1.
          The maximum number of networks that an AWS account can be a member of is 1.
          The maximum number of members per network is 5.
          The maximum number of peer nodes per member is 1.
          Peer nodes are limited to the bc.t3.small instance type.


          Instead of using create-network(as you can not create more than one network in one AWS account), you need to use create-member command in AWS CLI.
          Here is the SYNOPSIS of create-member command.



          NAME
          create-member -
          DESCRIPTION
          Creates a member within the blockchain network.
          See also: AWS API Documentation
          See 'aws help' for descriptions of global parameters.
          SYNOPSIS
          create-member
          [--client-request-token <value>]
          --network-id <value>
          --member-configuration <value>
          [--cli-input-json <value>]
          [--generate-cli-skeleton <value>]
          OPTIONS
          --client-request-token (string)
          An idempotency token. Set to an arbitrary unique value.
          --network-id (string)
          The unique identifier of the network in which the member is created.
          --member-configuration (structure)
          Member configuration parameters.
          Shorthand Syntax:
          Name=string,Description=string,FrameworkConfiguration={Fabric={AdminUsername=string,AdminPassword=string}}
          JSON Syntax:
          {
          "Name": "string",
          "Description": "string",
          "FrameworkConfiguration": {
          "Fabric": {
          "AdminUsername": "string",
          "AdminPassword": "string"
          }
          }
          }
          --cli-input-json (string) Performs service operation based on the JSON
          string provided. The JSON string follows the format provided by --gen-
          erate-cli-skeleton. If other arguments are provided on the command
          line, the CLI values will override the JSON-provided values. It is not
          possible to pass arbitrary binary values using a JSON-provided value as
          the string will be taken literally.
          --generate-cli-skeleton (string) Prints a JSON skeleton to standard
          output without sending an API request. If provided with no value or the
          value input, prints a sample input JSON that can be used as an argument
          for --cli-input-json. If provided with the value output, it validates
          the command inputs and returns a sample output JSON for that command.
          See 'aws help' for descriptions of global parameters.
          OUTPUT
          MemberId -> (string)
          The unique identifier of the member.


          Alternatively, you can use aws managed blockchain dashboard to add member in existing network. See attached screenshot.
          enter image description here







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jan 21 at 3:27









          Pang

          6,8991664102




          6,8991664102










          answered Jan 20 at 10:02









          I BajwaI Bajwa

          1,55911535




          1,55911535













          • Now I am able to add member in existing network. I got the response {"MemberId": "m-ESVDXYEIRBCF5B7AWN47M7HGWU"}. I used below command. aws managedblockchain create-member --network-id n-NNNNNNNNNNNNNNN --member-configuration 'Name=mynetworkmember2, Description=mynetworkmember2, FrameworkConfiguration={Fabric={AdminUsername=adminxxx, AdminPassword=Adminxxx}}'

            – Moolshanker Kothari
            Jan 20 at 10:24



















          • Now I am able to add member in existing network. I got the response {"MemberId": "m-ESVDXYEIRBCF5B7AWN47M7HGWU"}. I used below command. aws managedblockchain create-member --network-id n-NNNNNNNNNNNNNNN --member-configuration 'Name=mynetworkmember2, Description=mynetworkmember2, FrameworkConfiguration={Fabric={AdminUsername=adminxxx, AdminPassword=Adminxxx}}'

            – Moolshanker Kothari
            Jan 20 at 10:24

















          Now I am able to add member in existing network. I got the response {"MemberId": "m-ESVDXYEIRBCF5B7AWN47M7HGWU"}. I used below command. aws managedblockchain create-member --network-id n-NNNNNNNNNNNNNNN --member-configuration 'Name=mynetworkmember2, Description=mynetworkmember2, FrameworkConfiguration={Fabric={AdminUsername=adminxxx, AdminPassword=Adminxxx}}'

          – Moolshanker Kothari
          Jan 20 at 10:24





          Now I am able to add member in existing network. I got the response {"MemberId": "m-ESVDXYEIRBCF5B7AWN47M7HGWU"}. I used below command. aws managedblockchain create-member --network-id n-NNNNNNNNNNNNNNN --member-configuration 'Name=mynetworkmember2, Description=mynetworkmember2, FrameworkConfiguration={Fabric={AdminUsername=adminxxx, AdminPassword=Adminxxx}}'

          – Moolshanker Kothari
          Jan 20 at 10:24




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54275221%2fadding-member-to-existing-hyperledger-fabric-1-2-network-on-amazonmanaged-blockc%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Liquibase includeAll doesn't find base path

          How to use setInterval in EJS file?

          Petrus Granier-Deferre