News for hackers. Stuff that matters.

lionello

There's a PR in that repo to add a crewai sample: frontend, worker, postgres, redis, and chat, embedding models.

https://github.com/DefangLabs/pulumi-defang/pull/270

Show HN: Compose-to-Cloud Pulumi Providers for AWS, GCP, and Azure

https://github.com/DefangLabs/pulumi-defang

Hi HN,These are three FOSS Pulumi providers (defang-aws, defang-gcp, defang-azure) that take a Docker Compose-like project and provision it as real infrastructure to the respective cloud: VPC, subnets, load balancers, serverless containers (ECS Fargate, Cloud Run, Container App), builds, managed PostgreSQL, Redis, LLMs, and public/private DNS.Develop once, deploy anywhere: all three providers...

( Read More... | 2 comments | 4 points | on HN )
Re:Infrastructure-as-Code is the wrong abstraction on Wednesday February 18, 2026 @10:18PM (#47069466)
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.
Re:Infrastructure-as-Code is the wrong abstraction on Wednesday February 18, 2026 @10:15AM (#47061878)
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.
Re:Infrastructure-as-Code is the wrong abstraction on Tuesday February 17, 2026 @06:01PM (#47054684)
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.
Re:Show HN: deploying a website just to transfer a file on Thursday November 21, 2024 @05:19PM (#42209274)
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.

Re:Show HN: deploying a website just to transfer a file on Wednesday November 20, 2024 @01:33PM (#42196807)
Yeah compose is awesome. Makes sense to use it for local development and deployments.
Re:Show HN: deploying a website just to transfer a file on Wednesday November 20, 2024 @12:32PM (#42196258)
I edited the post instead to share the code right at the start. Hope that's better.
Re:Show HN: deploying a website just to transfer a file on Wednesday November 20, 2024 @12:14PM (#42196062)
Looks like I can no longer edit the title.
Re:Show HN: deploying a website just to transfer a file on Wednesday November 20, 2024 @12:12PM (#42196044)
Hm, yeah I see. Since it can be tried, I thought it'd be a good fit.

I'll remove the Show HN.

Re:Show HN: deploying a website just to transfer a file on Wednesday November 20, 2024 @10:06AM (#42194520)
Author here. Happy to answer any questions.

Show HN: deploying a website just to transfer a file

https://www.lunesu.com/2024/11/19/Nailed-it-with-Defang.html

Hi HN!My name is Lio. I'm the author of the article and CTO of Defang: a CLI tool to deploy Docker Compose projects to the cloud(s).This story on how I deployed a website just to transfer a file got many chuckles in my friend circle and it was suggested I blog about it, so here it is.Yes, it's ridiculous, but it got the job done, and hopefully you'll enjoy the story, and perhaps the tool, too.AMA

( Read More... | 11 comments | 8 points | on HN )
I have an M1 Pro with 32GB
“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?