Amazon Web Services, a major provider of cloud hosting that underpins much of the web and everyday online tools, went offline because of a problem with one its core database products.