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.