Ping from on-premise to all my EC2 instance has packet loss

0

I need to monitor all my EC2 instance using Nagios from on-premise using Ping but when It's shows packet loss nearly 30% many time. I checked my hardware performance include CPU or RAM it is okay. PS: I also monitor using Nagios with service Ping to other EC2 instance on my other account but it's working just fine.

2 Risposte
0

I would start by investigating the connection from on-prem to AWS. Below are two guides that can help to troubleshoot the packet loss. How do I troubleshoot packet loss on my VPN connection? https://repost.aws/knowledge-center/troubleshoot-vpn-packet-loss How can I troubleshoot packet loss for my Direct Connect connection? https://repost.aws/knowledge-center/direct-connect-packet-loss

profile pictureAWS
Matt_E
con risposta un anno fa
  • Thanks, but I didn't use VPN connection nor Direct Connect connection because I ping to my EC2 instance Public IP

0

Hi, this very probably comes from the fact that your different EC2 instances are protected by different security groups: one allowing ICMP (ping) and the other not. So, please, identify those 2 sec groups and align them for ICMP.

See details to allow ping (specifically): https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-rules-reference.html#sg-rules-ping.

If groups are same, the second possible cause is absence of public IP for the failing one. See https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing.html#concepts-public-addresses to check if you have one for your instance and how to add it if not.

profile pictureAWS
ESPERTO
con risposta un anno fa
profile picture
ESPERTO
verificato un anno fa
  • Thanks, but my security group is okay because I can ping normally but I just concern because there is a packet loss sometime not 100% packet loss nor Request time out.

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