People are working on this stuff as we speak. Stuff like https://fly.io/blog/design-and-implementation/