K8s is so great, they wrote "kompose" to help deploy Compose files, transpiling the Compose YAML into k8s configs. You'd still be running your own DB cluster as a bunch of containers though.
It’s the other way around though. I believe what I wrote there and am writing the tool I wish I had. Surely can’t blame me for trying to make a living at the same time.
Curious if others have considered using Compose (or similar) as the source for declaring their cloud infrastructure. I’ve seen efforts to use LLMs to turn Compose into Terraform, but I’m not convinced code generation is a good substitute. I’d love to hear where this approach breaks down for others.
1. Generate is really just to get you started so it’s pretty primitive. Generating code for complex projects is a startup in itself. Currently the generator supports nodejs, Python, and Go.
2. You can add database or redis to your compose file. During deployment, defang has the option to map those to the respective managed versions, if the target cloud provider had that option.
“We’re getting older and older, which means there are fewer people able to work to support more people who can’t.”
Well, if we’re getting older and older, isn’t that because we’re getting healthier and healthier? Wouldn’t the number of years we’re “able to work to support more people” increase as well?
https://github.com/DefangLabs/pulumi-defang/pull/270