Error 504 on deployed Kobo instance via Amazon server

We deployed our instance of Kobo on the Amazon server and afterward, we began encountering the issue with having our forms deployed as well as being able to view the forms as a web form. It takes a while to get the forms deployed and takes a long while to edit the forms on the Kobo instance. A screenshot has been attached for further clarification

I am still waiting for a response from anyone within the community on this.

Welcome to the community, @tosynwilliams! Maybe this post discussed previously should help you solve your issue: