启动新的 AWS 实例后出现 504 Gateway 错误

here is a post you can check that might help you