This is access from WITHIN an EC2 outbound to anywhere. (EC2-BAD)
I can get INTO the instance via ssh and I can run my webserver on port 80 and I can ping from another EC2 (EC2-GOOD) in the same VPC. The latter EC2-GOOD is the instance I cloned.
Ping to EC2-GOOD from EC2-BAD using local ip address does not work. Nor of course to anywhere I try like github.com.
The security group allows all outbound traffic everywhere.
I temporarily modified the SG to allow all inbound traffic from everywhere. That then allowed ping to EC2-GOOD instance in same VPC via private ip address. public address still failed.
EC2-BAD is an image of EC2-GOOD. The same SG is used on both EC2-BAD and EC2-GOOD. Same VPC, same subnet.
Its an 'exact copy', what can possibly be different?
Thanks for your consideration.
Security group. sg-1e749271 is itself.
SSH TCP 22 sg-1e749271 (linux-securitygroup) RDP TCP 3389 220.127.116.11/32
HTTPS TCP 443 sg-1e749271 (linux-securitygroup)
Custom TCP Rule TCP 4545 18.104.22.168/32
SSH TCP 22 22.214.171.124/32
Custom TCP Rule TCP 4545 sg-1e749271 (linux-securitygroup)
HTTP TCP 80 126.96.36.199/32 MYSQL
TCP 3306 sg-1e749271 (linux-securitygroup)
HTTPS TCP 443 188.8.131.52/32
HTTP TCP 80 sg-1e749271 (linux-securitygroup)