I actually found an error message in “CodeDeploy -> Deployments” and the deployment that was in progress. And it was a strange one, probably good for starting another topic. AWS displayed the error right at the top of the deployment information page “memory allocation error” for the rm
command! I reset the instances in the deployment autoscaling group and everything works fine.