I am running a PHP server from an AWS EC2 instance. It seems whenever I close my laptop (which is running a terminal session to the EC2 instance), the EC2 instance goes into sleep mode, and all incoming http requests from remote clients fail.
This is an T2.micro EC2 instance. And Hibernation is not enabled.
What should I do to keep the EC2 instance from going to sleep?