Я столкнулся с той же проблемой несколько лет назад, следующие настройки групповой политики состоят в том, как я разрешил его. Это могло легко быть излишеством, но так как вышеупомянутые ответы не касались вещей от угла групповой политики, здесь идет.
Computer Configuration\Administrative Templates\Network\DNS Client
I would say its a problem with the security group. Make sure apache is installed and traffic from 0.0.0.0/0 is allowed to port 80 on the security group.
You can disable the firewall by doing ufw disable. likewise to enable is ufw enable.
Change security group to allow http(80), https(443), ssh(22), ftp(21) Set up ufw on server to allow http(80), https(443), ssh(22), ftp(21)
Probably also assign an elastic ip to make things easier.