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 Resposta
1
Resposta aceita

ended up being the SG on the VPC endpoint itself

respondido há 5 meses
profile picture
ESPECIALISTA
avaliado há 2 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas