What on earth needs thousands of instances? Are you building a CDN? Most apps can be a single server or sharded by business/region.
Honestly, this whole leys run loads of nodes seems to have sprung up from languages that are slow oe don't have decent concurrency.