/infra

My home or for-home infrastructure written as code defining GitOps principles for Kubernetes clusters.

Primary LanguageHCL

Router - NOT FOR RELEASE

A test harness for deploying a small cluster of VyOS stable routers and Ubuntu testing instances in AWS.

WHY?

My Home network has some semi-complicated elements (VLANs, VPNs, WAN failover). To confidently make any changes to it I needed an IaC implementation.

OS images

Using AWS Marketplace provided AMIs

VyOS AMI requires AWS Marketplace subscription to function.

Updating AMIs

# TODO: set this up in ci
./external/update-aws-ami.sh

AWS

# TODO: hi

Notes

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

Help from