I can't ping my ec2 server

0

I spinned up windows server on amazon ec2 and i cannot ping the server. all security groups were enabled, which is smb, http, rdp and all icmp ipv4 enabled. i ping other servers from my local machine but not the server created from my aws account on ec2 even when all necessary security groups has been enabled. do i have an issue in spinning up a server with my account ?

1 Antwort
1
Akzeptierte Antwort

A few things.

1.) Are you trying to hit the server from the internet? If so you could open up ICMP to your IP (Temporarily). Also, you would need to put the instance on a public subnet to ping it (In the case of the internet). If you wanted to access other services like http/https you could also put the instance in a target group and attach it to a load balancer. That would allow you to keep your instance on a private subnet while your ALB would be on a public subnet. Keeping instances private is generally a good idea for production workloads.

2.) Are you trying to hit the EC2 instance from a VPN? If so you would want to check the VPN tunnel status and any possible ACL's on the network side.

Evan
beantwortet vor einem Jahr
  • i am accessing from the internet. I have enabled all icmp4 and still i cannot ping. i don't think my local desktop is the issue because I can ping other servers from that same desktop. pls how do I put the instance on a public subnet because i used the default subnet provided by aws

  • Take a look at this guide. https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Scenario2.html

    Also, check your security group to make sure your IP is allowed ICMP. There should be an option for my address as the source.

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen