So when I open port 22 and 80 in the default security group I'm not able to ping the domain. I've opened TCP, UDP, and ICMP to all and now it works but of course I need to find another solution. What should I be opening?
Ping uses the ICMP protocol so you need to provide a custom ICMP rule in your security group to allow it through.
On the security group inbound tab select
These are the security group rules I have on a centos instance