1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
1
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.
beantwortet vor einem Jahr
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 4 Monaten
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.