Co

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

Hacker News

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

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 expose the same Compose-shaped surface. They contain the same Pulumi resources: Project, Build, Service, Postgres, Redis, LLM. Each service in the Compose services map gets provisioned as one of those resources. Moving between clouds should be as simple as changing the import and nothing else. The Project resource sets up private DNS for service discovery, so Compose services can connect using their Compose service names. These providers have been rewritten from scratch in Go and are based on the (internal) TypeScript Pulumi code we've been working on for the last 2 years. We haven't reached parity quite yet, but we encourage everybody to use them and share your feedback. The Pulumi tooling generates SDKs for TypeScript, Python, Go, and C#. The repo has examples for all clouds in all those languages, eg.: const app = new defang_aws.Project("demo", { services: { web: { image: "nginx:latest", ports: [{ target: 80, mode: "ingress", appProtocol: "http" }], }, }, }); export const endpoints = app.endpoints; A few notes: - The Compose surfaces is opinionated. We check the service requirements and map it to a concrete cloud resource. For example, on GCP a service without exposed ports would run on Compose Engine, not Cloud Run. - Portability is at the Compose level. Each cloud's behaviour differs: IAM, native containers, etc. The API is the same, but the materialization isn't. - The Project resource owns the shared infra (VPC, build pipeline, DNS, LB). The standalone Service, Postgres, Redis resources skip that, so the Service needs a built image. - Licensing is dual: the provider engine is AGPL-3.0, because we want forks to contribute back to the community. The generated SDKs are Apache-2.0, so no copyleft in your own Pulumi code. - We're waiting for Pulumi devs to merge our registry PR, so the registry still reflects the old v1 provider docs. - There's support for runtime "config", ie. parameters, using a ConfigProvider interface, which also support interpolation. Repo: https://github.com/DefangLabs/pulumi-defang Happy to dig into how the Compose translation works, where the API diverges between clouds (and why), why Pulumi over CDK/Terraform, or the cloud-specific tradeoffs (AWS uses ECS+ALB, GCP uses Cloud Run with optional CE fallback, Azure uses Container Apps). - Lio

Share card

Actual performance

5points
2comments
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Strong signals: para · Missing: supports, reddit linkedin, podcasting
91%91% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntOn track for Day 1 leaderboard · Strong signals: apps, dock, new · Missing: mac, agents, macos
85%85% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: nginx, ide, pipe · Missing: https docs, excited, just released
55%55% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: apps, para · Missing: mobile apps, ios, personal
42%42% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: interface · Missing: plus, platform, intuitive
35%35% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
18%18% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

AW
AWS Cloud Security assessment – more providers to come40%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

AWS Cloud Security assessment – more providers to come

Hacker News2
Ra
Rawscsi – Ruby Gem for AWS Cloud Search45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Rawscsi – Ruby Gem for AWS Cloud Search

Hacker News5
arhisec.cloud
arhisec.cloud58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

We secure AWS Cloud environments

Indie Hackers1b2b
Al
Alicorn Cloud – Easily move between AWS, GCP and Azure43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Alicorn Cloud – Easily move between AWS, GCP and Azure

Hacker News82
Ru
Runbook.cloud – automated AWS troubleshooting57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Runbook.cloud – automated AWS troubleshooting

Hacker News6
Ta
Talk to Your AWS Cloud65%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Talk to Your AWS Cloud

Hacker News1
Te
Terraform AWS Starterkit47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Terraform AWS Starterkit

Hacker News2
AW
AWS Automator58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

AWS Automator

Hacker News3
AW
AWS Inter Region VPC Peering39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

AWS Inter Region VPC Peering

Hacker News1
Cf
Cfer Is a Ruby DSL for AWS CloudFormation59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cfer Is a Ruby DSL for AWS CloudFormation

Hacker News2