Unfortunately, it's only really possible when you stand on the shoulders of massive companies like Amazon and Google, at which point you're not really doing "dev" and "ops", you're just doing "dev" and outsourcing "ops" to a big company that'll only do half the work for you.
Using recipes, pre-built images, automation, and mostly
opaque system controllers that abstract away all the
underlying detail. That isn't a reliable/secure system and only salesmen and those who have a stake in that model
push it. Unfortunately this is the new normal, fait
accompli.