Is there a special case that needs to be handled of code 22 vs any non zero code?  While "unable to communicate with EC2..." isn't as descriptive of 404, vs 503, etc the simplicity would seem to be a good balance.