Confluence AWS Quick start 502 Bad Gateway

Have the same issue today. Though not with Confluence but with Jira Software. Seems that Jira isn’t installed on the ec2 instance.