This is the github repo for the masto.nyc v2.0 infrastructure. This is essentially what the old kubernetes-only code looks like now that it's migrated to Digital Ocean. It's pretty quiet here, but feel free to open an issue or reach out to us on mastodon. We'll try and keep todo items in the issues list.
Since we came from a bare metal Kubernetes setup, we wanted to maintain as much of that infrastructure as possible- and we also wanted to follow our server principals of supporting NYC-based companies whenever possible. Luckily, Digital Ocean not only offered a k8s package but is also based out of NYC!
Replace tofu with terraform if that's your drug of choice 🤷
terraform.tfvars
file. Populate it with the correct do_token
(from step 1), state_bucket
, and state_key
variables.tofu init -backend-config="secret_key=YOURSECRETKEY" -backend-config="access_key=YOURACCESSKEY"