My home or for-home infrastructure written as code defining GitOps principles for Kubernetes clusters.
A test harness for deploying a small cluster of VyOS stable routers and Ubuntu testing instances in AWS.
My Home network has some semi-complicated elements (VLANs, VPNs, WAN failover). To confidently make any changes to it I needed an IaC implementation.
Using AWS Marketplace provided AMIs
VyOS AMI requires AWS Marketplace subscription to function.
# TODO: set this up in ci
./external/update-aws-ami.sh
# TODO: hi
alias tf-retry='terraform destroy -auto-approve && terraform apply -auto-approve'
Sometimes terraform destroy fails. gruntwork-io/cloud-nuke is a very destructive command, but it stops the billing.
cloud-nuke aws --region us-west-2