AWS EC2 Logs - UnrecognizedClientException

You may have an aws credential file or credentials stored in environment variables that your instance is trying to use before the EC2 role.