I wrote about that years ago and the article is as valid today as it was back then, IMHO.
https://mootoday.com/blog/dev-environments-in-the-cloud-are-...
That being said, I would've preferred it if they were based on something Nix-ish rather than full-on Docker containers, but alas.