The Pentagon late Friday announced it has awarded a controversial 10-year $10 billion contract for cloud computing services to Microsoft Inc. (MSFT) - Get Report .

The Redmond, Wash.-based software giant beat out rival Amazon.com (AMZN) - Get Report in the final round for the Joint Enterprise Defense Infrastructure, or JEDI, deal. IBM Corp. (IBM) - Get Report and Oracle Corp.  (ORCL) - Get Report were eliminated in earlier rounds of consideration.

Amazon dominates the cloud computing space with about 33% of the business, while Microsoft trails with about 16%.

President Donald Trump called for a review of the contract process last summer as incoming Defense Secretary Mark Esper took office. That move came as many pundits were expecting Amazon to win the deal.

Trump has famously feuded with Amazon CEO Jeff Bezos, who owns the Washington Post newspaper. At the time of the review, Trump said he'd received multiple complaints from other companies about the bidding process.

Microsoft and Amazon are holdings in Jim Cramer's Action Alerts PLUS member club.

Save 57% during our Halloween Sale. Don't let this market haunt you. Join Jim Cramer's Investment Club, Action Alerts PLUS. Click here to sign up!