News for hackers. Stuff that matters.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by jopsen on Wednesday November 29, 2017 @04:48AM (#15805711)
it's just a lot harder to automate reliably without any form of userdata.

packet.net I do coreos and provision with userdata specifying what docker image to run... that's all it takes to have immutable deployment :)

Re:EC2 Bare Metal Instances with Direct Access to Hardware by KaiserPro on Wednesday November 29, 2017 @06:02AM (#15805981)
... not really, it just requires different infrastructure/systems.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by jopsen on Thursday November 30, 2017 @04:25AM (#15814482)
You end up having to build your own moving parts...

Building a high-availability metadata store is not easy. And ensuring that incoming request IPs aren't spoof is a little non-trivial to reason about.

UserData is a good way to provide a one-time token that can be used to fetch data...

Using SSH for provisioning is just plain dirty... and almost impossible to do reliably... You'll need global locks and timeouts to recover in case one of your master crashes... Plus some garbage collection to cleanup things that where not fully provisioned.

This is a LOT of unreliable state to manage. And ton of corner cases. Having the right architecture matters for reliable automation.