Creating automatic nodes for EC2 instances?

Hi everyone!

I’m automatic short-lived EC2 instances for a sort of HPC cluster. I’d like these instances to join my Tailscale network when they’re created, with Magic DNS and etc, so I can access them easily while the computation runs, and then they die when they’re done.

Is there a way to do so without having to manually log into each node and enter my credentials/key?

Thanks for any help!"

Yup, try preauth keys:

1 Like

Fantastic, exactly what I needed, thank you!