I've checked my firewall on the server and the ports are open. What else can I check?
You should check your security groups in the Amazon EC2 portal. By default, they block the cPanel, WHM, or Webmail ports.
Check out this documentation from Amazon to find out how to manage the security groups in Amazon EC2: