Amazon Web Services is a bright spot in an otherwise loss-making quarter for Amazon.