Someone from outside wants to access your EC2 instance. What configurations are required?
To allow outside access to an EC2 instance, you must configure a Public IP address so it is reachable, place it in a public subnet with an Internet Gateway route, and open the correct ports in both the Security Group and Network ACL to permit the traffic.