My security group rules allow all incoming traffic, on all ports. Allows all outgoing traffic, all ports.
The route table for the instance’s subnet contains a rule for 0.0.0.0/0 with target to an internet gateway, which contains my VPC and is “attached” state.
The network ACL for the subnet includes rule #100 which allows all traffic, all protocols. Same for outbound.
I have waited until my instance passes both checks.
I created an instance without a key pair, just to check and I couldn’t SSH to that either. So it’s not the key pair.
Also, wild question, but 100.215.34.46 seems to belong to T-Mobile, not AWS. Is it a Wavelength instance? That’d be crazy because I thought only Verizon provides those.
Stop troubleshooting with ssh. This is a network problem, not an app problem. Stop looking at dns, this is a network problem, not a dns problem. Get your public IP, you ought to assign an elastic ip which is free but you don’t have to you can get a random one each time (but that seems silly). See if you can open a connection to tcp/22. Probably not. What ami are you using? Some amis themselves block tcp/22 by default. If you haven’t start with a basic amazon linux 2 ami out of the box no changes. Don’t get caught up in stuff way above the basics of networking at a higher level protocol before you cover the connectivity issue.
Edit: another person mentioned and I agree, you hid your ip (probably not good practice to post make up IPs though on the internet that don’t belong to you, x.x.x.x is fine) but if that isn’t the public one that is obviously your problem.
It’s trying to connect, but not getting further than that. So it’s back to a networking problem.
If the security group allows everything from anywhere, can you ping the public IP? Do you have any network ACLs? There aren’t any by default, but they come in play before the security groups.
Ping isn’t working either. I do have network ACLs, the incoming has: all traffic, all protocol, all port range, source 0.0.0.0/0 = allow. Anything else reject. Outbound has identical rules.