For years, Amazon has been quietly chartering private cargo ships, making its own containers, and leasing planes to better control the complicated shipping journey of an online order. Now, as many retailers panic over supply chain chaos, Amazon's costly early moves are helping it avoid the long wait times for available dock space and workers at the country's busiest ports of Long Beach and Los Angeles. 

"Los Angeles, there's 79 vessels sitting out there up to 45 days waiting to come into the harbor," ocean freight analyst Steve Ferreira told CNBC in November.  "Amazon's latest venture that I've been tracking in the last two days, it waited two days in the harbor."