diff --git a/content/posts/migrating-to-vultr.md b/content/posts/migrating-to-vultr.md new file mode 100644 index 0000000..b25c7a6 --- /dev/null +++ b/content/posts/migrating-to-vultr.md @@ -0,0 +1,64 @@ +--- +title: Migrating to Vulr +description: Finally moving away from AWS little by little +date: 2024-10-27T20:59:05-07:00 +draft: false +category: article +--- + + +# What and Why + + +For some time now I've been trying my best to get away from using AWS +for my infrastructure due to the constantly rising price of everything. + + +## Main causes for higher cost + +* Fargate + +This one is mostly my own fault lmao since Fargate ( without an application load +balancer ) is actually not that bad in terms of pricing. The issue comes in +if you are trying to host a variety of services like myself on one host. +Services which, are only ever really used for personal and singular use. + +Recall that with fargate we are paying for things on a core count and if you +containize everything this effectively means you are paying per container +more/less. Couple this with lots of contains and your pricing starts to +get really expensive really fast. + +* Application Load Balancer + +These are just expensive for small projects what else can I say... +I wouldn't suggest hosting personal sites behind one of these basically ever. + +* Scaling + +If you seriously need an ALB to sit in front of lots of microservices then +you're probably dealing with either an interesting project or just a need +to handle a lot of traffic. After a while I didn't really want a web server +to be my "interesting project" since this ended up eating way more of my time +than I would have ever liked it to... + + + +# Why Vultr + +shit's cheap yo... + +10$ - 20$ roughly for a bare minimum Kubernetes cluster or about 10$ per +host as I'm doing now. Provision hosts with Terraform then configure with +Ansible and you have a somewhat reasonable infrastructure for hosting +personal projects. + +## What Do I host now? + +* shockrah.xyz +* git.shockrah.xyz <-- Gitea instance +* temper.tv <-- vr/funsies blog + +Basically I'm hosting more stuff more effectively and it's an infrastructure +that is ""(([[{{platform agnostic}}]]""given its all Terraform anyway and +Ansible can be used basically anywhere there's a host. +