4 ms·
I do this today with Terraform. If you have any existing cluster, disaster recovery is as easy as swapping the name in your tfvars, then running a new apply. [1
by robszumski 9y ago
I do this today with Terraform. If you have any existing cluster, disaster recovery is as easy as swapping the name in your tfvars, then running a new apply. [1] All new infra + kubernetes is set up. I then have a very simple bash script that is just ~30 `kubectl create` lines. I executed this when our automatic clean up script nuked my cluster due to incorrect tagging on my part. Time from monitoring critical alert to back up was under an hour.
[1]: https://coreos.com/tectonic/docs/latest/install/aws/manual-boot.html#deploy-the-cluster https://coreos.com/tectonic/docs/latest/install/aws/manual-b...
- hardwaresofton 9y agoThe link you posted is to AWS -- have you ever used terraform on a bare-metal machine? I feel like I've said this at least 5 times so far, but every time I read the Terraform documentation, I get the distinct feeling it's not really for "bare metal" (that's what everyone seems to be calling a machine you actually own in someone's data center) I really want to use Terraform, but it just doesn't look like it really wants to do the single server use case.