unable to communicate between ec2 on same private vpc

0

The network in yellow does not work, the instances connected to this internal and private network within the AWS infrastructure are not able to communicate with each other.

internal vpc ec2

posta 5 mesi fa222 visualizzazioni
1 Risposta
0
Risposta accettata

Hello.

Do the inbound rules for the security groups configured on each EC2 allow the required communication?
For example, if you are communicating on HTTP port 80, you need to allow port 80 in the security group's inbound rules.
If you want to check communication using ping, you need to allow ICMP in the security group's inbound rules.
https://docs.aws.amazon.com/vpc/latest/userguide/security-group-rules.html

profile picture
ESPERTO
con risposta 5 mesi fa
  • the security group for the internal ec2 is free all rules are permissive for all traffic

  • How do you confirm communication? Also, is the security group attached to the instance correct? Did you edit the wrong security group? From the diagram you shared, it looks like you are using EC2 like a NAT instance. Have you configured "Disable source/destination checks" in the ENI? https://docs.aws.amazon.com/vpc/latest/userguide/VPC_NAT_Instance.html#EIP_Disable_SrcDestCheck

  • I am trying to remove the other network interface to leave the instance with only the internal network interface and it won't let me, I get that error. Image is in question

  • I don't think you need to remove the network interface. Also, You are trying to remove the primary ENI from the error content, but the primary ENI cannot be removed.

  • Thank you for the suggestion. That fixed the problem. We were having multiple interfaces per ec2. We reverted to having the one original.

    Have you configured "Disable source/destination checks" in the ENI? We fixed using this.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande