Superficially, the infrastructure needed to run Alibaba's retail website seems similar to the infrastructure needed to run Amazon's retail website.
What do you think Alibaba does?
What do you think Alibaba does?
However, the overwhelming majority of Alibaba's customers is still Chinese. On the other hand, before AWS takes off, Amazon already sets up data centers in different countries and continents, because they are the leading online retailer over there. Same reason applies to Google. Their cloud business then cloud easily benefit from those established investments.