How to use cloud-init and Tailscale | Infrastructure as Code Series Part 1

preview_player
Показать описание
In today's video Alex walks you through the process of creating a Digitalocean droplet cloud instance and pre-configuring it to be a tailnet node using cloud-init.

This is part 1 in a series examining automation and cloud deployment workflows.

Links:
===

00:00 - Start
00:40 - What is cloud-init?
01:27 - Manual deployment
06:32 - Terraform sneak peak
Рекомендации по теме
Комментарии
Автор

Excited for the next one! IaC is such a great concept.

MattManuel
Автор

Nice one, Alex!

In general, we're doing this with a shell script in the user-data, rather than a cloud-config. I haven't worked out yet whether there's much advantage to cloud-init if you mostly just have a sequence of runcmd lines... especially since the next thing we do is run a bunch of Ansible against the new instances... 😊 But I see that cloud-init can natively install Ansible and go and grab a playbook to run. I may have to try that...

quentinsf
Автор

Thanks for this video (and the series). How hard would it be to add it to an AWS Lambda (in a Docker image, or as part of a startup script)? it could be very helpful for debugging startup problems.
OT: Are those speakers the KEF LS50 Metas? If so, do you love 'em?

ChrisShenton
Автор

This should all work with AWS ec2 instances I would think…

Rick-Blaine