504 Gateway-fout na het starten van een nieuwe AWS-instantie

here is a post you can check that might help you