1 回答
- 最新
- 投票最多
- 评论最多
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.
已回答 1 年前
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 8 个月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 7 个月前
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.