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回答
1
承認された回答

ended up being the SG on the VPC endpoint itself

回答済み 5ヶ月前
profile picture
エキスパート
レビュー済み 2ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ