What stops Amazon from establishing a separate company called Totally Not Amazon, which employs 1 person, and hosts your software for the rest of Amazon, and has revenue much less than 1M$ so they can use it for free?
If they need more capacity than 1M would plausibly buy them from themselves, just establish however many more identical companies are necessary, none of which exceed 1M$.