I am new to AWS and launched my first EC2 instance (Amazon Linux), got a public IPv4 address for it.
The SSH port is closed and the instance does not respond to ping. It looks as if it was totally disconnected from the internet.
All the help I found online was related to security groups and opening the proper ports (or ICMP) but I already did this, in fact I even set the corresponding security group to allow all inbound traffic.
The instance shows Online and reachabiliy check shows ok. The route table of the subnet directs 0.0.0.0/0 to the igw.
What else could this be??? There must be something else that I am forgetting.
Thanks!
EDIT: (this is still not resolved, the suggestions below, although good, did not help)
Screenshots of everything: https://florianbador.com/pub/aws-issue-screenshots/
EDIT 2:
I found what the problem is (or at last the real symptoms). The machine is available through the network for about 1 minute after its creation then it is like offline (although still on).
I tested twice with 2 other machines and the same thing happened: for 1 minute I could log via ssh, then the terminal froze as if someone put an iptables DROP rule there, and I could never reach the server again. I tried from different IP addresses, it doesn't seem to be that something blacklists my IP, it's the whole server that becomes unreachable, from anywhere.
Any idea what this could be?
EDIT 3:
As a confirmation of Amit's answer below, here's a screenshot showing that indeed Amazon blocks accounts even when they have been reactivated, and there is no way to tell that an account is somehow blocked on their network because everything shows as normal in the portal.
I decided not to use AWS because I cannot risk to put 20 businesses in jeopardy, risking to see them all down one day for some administrative reasons that take days to debug/understand.
