ECS fargate container cannot connect to Amazon Managed Blockchain Peer endpoint

0

We have VPC endpoint setup. I have simplified the connection problem down to a netcat command

when ran directly from an ECS container shell it hangs then times out

$ nc -v nd-wdas<removed>.managedblockchain.us-east-1.amazonaws.com 30003
nc: (10.0.0.77:30003): Operation timed out

from an ec2 ssh console the same netcat command returns:

$ nc -v nd-wdas<removed>.managedblockchain.us-east-1.amazonaws.com 30003
Ncat: Version 7.93 ( https://nmap.org/ncat )
Ncat: Connected to 10.0.0.77:30003.

The ECS security group for the container is the same SG that the working EC2 uses which allows all outbound connectivity. As a side note, we dont have any issues connecting to EC2 services from ECS (everything is all in the same VPC, same subnets)

This problem seems to relate to routing ECS traffic over the VPC endpoint to Amazon Managed Blockchain. Any ideas?

1 Answer
1
Accepted Answer

ended up being the SG on the VPC endpoint itself

answered 5 months ago
profile picture
EXPERT
reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions