Creates a freebsd 11.0 instance and a dns record for radachy.com with terraform on Digital Ocean. Remote state backed by Google Drive.
- Doctl
brew install doctl
- run
doctl auth init
and add your access token
- Google Drive
brew install google-drive
- Terraform
brew install terraform
- Create an SSH key
~/.ssh/do
ssh-keygen -t ed25519 -f "~/.ssh/do"
- Use a strong password
- Copy the public key
cat ~/.ssh/do.pub | pbcopy
- Add the SSH key to your Digital Ocean account
source ./setup.sh
terraform apply
ssh-add ~/.ssh/do
ssh freebsd@radachy.com