Open amarouane-ABDELHAK opened 6 months ago
devbc-BC-VPC
)Todo:
Completed:
ecs_task
Issues `CDK deployment getting stuck while ecs_stack_service is in_progress state for a long period of time Fixed
2024-01-22T00:21:31.528Z - [31merror[39m: [FabricCAClientService.js]: Failed to enroll hecuser, error:%o message=Calling enrollment endpoint failed with error [Error: getaddrinfo ENOTFOUND [ca.m-cgpza7kwybbojhfduornap4psq.n-qeeynndp4fhnfpbt2hqh4n7ba4.managedblockchain.us-east-1.amazonaws.com](http://ca.m-cgpza7kwybbojhfduornap4psq.n-qeeynndp4fhnfpbt2hqh4n7ba4.managedblockchain.us-east-1.amazonaws.com/)
Tried Approach:
There were some issues with the security groups. The inbound rules for connecting to the blockchain network should be 30000 - 34000 as defined in this documentation. This should be defined for the instance that interacts with the blockchain network. https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/managed-blockchain-security-sgs.html
After creating a security group for ECS tasks, attach the task security to the VPC endpoints
Completed and Pushed to this branch. I do not have access to create a PR :(
you should have access. share screen shot of what issue you are facing.
@xhagrg , The ticket has been created in this repo. But the code has been pushed in cdk-blockchain-openscience repo. I was talking about not having permissions to create a PR in the cdk-blockchain-openscience repo
Solved: Seems like there was only 1 development branch in that repo which was default one. Hence, no any option for PR was shown because there was only 1 branch. I assumed I did not have permissions to do it.
The goal of this task is to refactor and enhance the existing infrastructure provisioning for blockchain resources by migrating from Terraform to AWS CDK. This shift will help us standardize the IaC process by adopting AWS CDK across all projects.