This morning, due to no action on our part, our confluence installation on aws shows a 502: Bad Gateway error. Stopping and restarting the EC2 instances where confluence is installed solves the problem....temporarily. Shortly afterwards (in a couple of hours), the site goes down with the same error again.
Everything was working fine up until yesterday, we've made no changes to the AWS setup or installation files at all. How can we fix this?