News for hackers. Stuff that matters.

alongub

The main difference is granularity. Terraform runs a plan and applies it as a batch. If something fails, you re-run apply and it retries from the last saved state... but that state is per-resource, not per-API-call.

Alien tracks state at the individual API call level. A single resource creation might involve 5-10 API calls (create IAM role -> attach policy -> create function -> configure triggers -> set up DNS...). If it fails at step 7, it resumes from step 7. Terraform would retry the entire resource.

The other difference is that Alien runs continuously, not as a one-shot apply. It's a long-running control plane that watches the environment, detects drift, and reconciles. Terraform assumes you run it, it converges, and then nothing changes until you run it again.

Thanks so much! If you have any other ideas, I'd really appreciate it if you could shoot them my way (alon AT alien dot dev)
Alien is basically a huge state machine where every API call that mutates the environment is a discrete step, and the full state is durably persisted after each one.

If something fails mid-update, it resumes from exactly where it stopped. You can also point a deployment to a previous release and it walks back. This catches and recovers from issues that something like Terraform would just leave in a broken state.

For on-prem: we're working on Kubernetes as a deployment target (e.g. bare metal OpenShift)

> Would you support simpler deployment targets, like on premises VMs etc?

https://github.com/alienplatform/alien/blob/main/crates/alie... :)

This is true even with fully-managed SaaS though. There are always users who don't want the new UI, the changed workflow, the moved button. But the update mechanism isn't really the problem IMO, feature flags and gradual rollouts solve this much better than version pinning
At least they didn't ask you to TeamViewer into a Windows Server 2012 box and open Event Viewer..
Both are real risks. But supply chain attacks exist whether you self-host or not... you're still running the vendor's code either way. The question is whether you also want that code to stay up to date and properly managed, or drift silently.
> Although unfortunately, we can't maintain _any_ connection back to our servers. Pull or push, doesn't matter.

We're working on something for this! Stay tuned.

In practice, unmanaged self-hosting is often less secure, because you end up with outdated versions, unpatched vulnerabilities, and no one responsible for keeping things healthy.

More and more enterprise CISOs are starting to understand this.

The model here is closer to what companies like Databricks already do inside highly regulated environments. It's not new... it's just becoming more structured and accessible to smaller vendors.

Right, and that's when you do control the environment. Now imagine debugging that when it's your customer's infra, you have no access, and you're relying on them to copy-paste logs on a Zoom call.
It's not RCE. The commands are predefined RPCs written into the deployed code. Customers can review and approve them. Trust between the vendor and the customer is still required and Alien doesn't make it unnecessary.
It's heavily inspired by Databricks' deployment model. And you're right that it's not "execute arbitrary commands". Commands are predefined functions in the deployed code that the developer defines upfront and customers can review.

The metrics/logs part is also core to Alien... telemetry flows back to the vendor's control plane so you actually have visibility into what's running.

Show HN: Alien – Self-hosting with remote management (written in Rust)

Self-hosting is becoming very popular because it lets users keep their data private, local, and inside their own environment.Unfortunately, self-hosting breaks down when someone starts paying for your software. Especially if it's an enterprise customer.Customers usually don't actually know how to operate your software. They might change something small — Postgres version, environment variables,...

( Read More... | 49 comments | 10 points | on HN )

Show HN: Deploy to your customers' AWS/GCP/Azure accounts

Hi HN, I'm Alon, and I'm building Alien (https://alien.dev), an open-source platform for deploying your software into your customers' cloud accounts - AWS, GCP, or Azure — and keeping it fully managed. In my previous startup, I heard the same question from every single enterprise customer over and over again: "My data is sensitive. Can I deploy your product to my own cloud account?"Every...

( Read More... | no comments | on HN )

Show HN: Alien – Ship to your customer's cloud

https://github.com/alienplatform/alien

Hi HN, I'm Alon, and I'm building Alien (https://alien.dev), an open-source platform for deploying your software into your customers' cloud accounts - AWS, GCP, or Azure — and keeping it fully managed.In my previous startup, I heard the same question from every single enterprise customer over and over again: "My data is sensitive. Can I deploy your product to my own cloud account?"Every founder...

( Read More... | no comments | 2 points | on HN )
AgentMail looks amazing!
Re:Auth.js Joining Better Auth on Saturday September 27, 2025 @11:10AM (#45396375)
Exactly
Re:I built Foyer: a Rust hybrid cache that slashes S3 latency on Saturday September 27, 2025 @09:49AM (#45395703)
Foyer is great!
Re:A rapid prototype of Reddit as Material Design 3 on Friday January 19, 2024 @06:44AM (#39054339)
Wow, this looks fantastic!
Re: on Tuesday January 09, 2024 @10:12AM (#38927064)
There's a really neat pattern for building stateful apps on Postgres that can handle millions of entities concurrently.

Traditionally you'd need Kafka / RabbitMQ / other external components. But FOR UPDATE SKIP LOCKED basically make these redundant for some types of applications.

I found it particularly useful for building LLM-based agents that can transition between different states.

I created a short video to demonstrate the concept: https://youtu.be/VvDHi-H0Jck?si=WuUhUyIOuZ6jj8BO

Hope you find it useful!

For sure, this is definitely planned!
I wrote a tool that helps estimate K8s costs by simulating K8s clusters. You write your pods in a simple DSL and it runs kube-scheduler without actual nodes behind the scenes.

It's still really basic but I'd love to hear your feedback!

https://github.com/aporia-ai/kubesurvival

Not exactly a channel, but a few weeks ago I did a live coding session on how to build an ML platform from scratch (the stuff you need to get ML models to production):

https://youtu.be/s8Jj9gzQ3xA

I didn't look into the product itself, but the idea is absolutely genius.

You should build an 'app store' for bots, just like https://wordpress.org/plugins/.

Older »