Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stefancrain/infra
My home or for-home infrastructure written as code defining GitOps principles for Kubernetes clusters.
https://github.com/stefancrain/infra
ansible aws gitops kubernetes terraform ubuntu vyos
Last synced: 24 days ago
JSON representation
My home or for-home infrastructure written as code defining GitOps principles for Kubernetes clusters.
- Host: GitHub
- URL: https://github.com/stefancrain/infra
- Owner: stefancrain
- Created: 2021-07-22T14:26:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-13T02:09:54.000Z (about 2 months ago)
- Last Synced: 2024-09-13T14:57:18.089Z (about 2 months ago)
- Topics: ansible, aws, gitops, kubernetes, terraform, ubuntu, vyos
- Language: HCL
- Homepage:
- Size: 75.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# 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
- [Ubuntu 20.04](https://aws.amazon.com/marketplace/pp/prodview-iftkyuwv2sjxi)
- [VyOS 1.2.x](https://aws.amazon.com/marketplace/pp/prodview-6i4irz5gqfkru).VyOS AMI requires AWS Marketplace
[subscription](https://aws.amazon.com/marketplace/server/procurement?productId=9c9395f4-e891-4577-82e9-a6d5bccfb3c9) to function.### Updating AMIs
```shell
# TODO: set this up in ci
./external/update-aws-ami.sh
```## AWS
```shell
# TODO: hi
```---
### Notes
```shell
alias tf-retry='terraform destroy -auto-approve && terraform apply -auto-approve'
```Sometimes terraform destroy fails.
[gruntwork-io/cloud-nuke](https://github.com/gruntwork-io/cloud-nuke) is a very
destructive command, but it stops the billing.```shell
cloud-nuke aws --region us-west-2
```### Help from
- [packet-labs/packet-router](https://github.com/packet-labs/packet-router)
- [BlackWebWolf sops hook](https://gist.github.com/BlackWebWolf/6eb9249c1ef63209adb7948897ad2272)