For me it was a problem with the linked instance, it did not belong to the same security group, so had to make a change.
This medium article helped me understand what was wrong https://nadtakan-futhoem.medium.com/aws-load-balancer-503-service-temporarily-unavailable-e1e91c0dfcdb