I was at Amzn in 2000 when the internet bubble popped. Capital markets dried up & we were burning $1B/yr. Our biggest expense was datacenter -> expensive Sun servers. We spent a year ripping out Sun & replacing with HP/Linux, which formed the foundation for AWS. The backstory:
My first week at Amzn in '99 I saw McNealy in the elevator on his way to Bezos' office. Sun Microsystems was one of the most valuable companies in the world at that time (peak market cap >$300B). In those days, buying Sun was like buying IBM: "nobody ever got fired for it"
Our motto was "get big fast." Site stability was critical - every second of downtime was lost sales - so we spent big $$ to keep the site up. Sun servers were the most reliable so all internet co's used them back then, even though Sun's proprietary stack was expensive & sticky.
In 2000, brand new Sun servers started appearing on eBay for 10 cents on the dollar as VC-backed start-ups went out of business (this was pre-AWS when you had to roll your own datacenter). Amzn could have negotiated a better deal with Sun, but Jeff chose a more radical approach.
Amazon's CTO was Rick Dalzell - ex-Walmart, hard-charging operator. He pivoted the entire eng org to replace Sun with HP/Linux. Linux kernel was released in '94, same year Jeff started Amzn. 6 years later we were betting the company on it, a novel and risky approach at the time.