vipulnaik / working-drafts

A place for initial drafts of articles I publish elsewhere on the Internet (often in places I don't control).
2 stars 1 forks source link

Plan to reduce my Linode cost, to be executed by end of 2021 #6

Open vipulnaik opened 4 years ago

vipulnaik commented 4 years ago

Background

Currently, I'm using the $160/month Linode + $40/month for backups. The specs of this Linode are 32 GB, 8 cores, 640 GB SSD.

The main reason why I'm using such a high-power Linode is disk storage (currently, I am using 216 GB in disk storage out of the 640 GB limit, but the number can fluctuate). The main reason I need that amount of disk storage is Wikipedia Views. Specifically, Wikipedia Views costs about 50 GB for the wikipedia-clickstream folder, and I believe it accounts for at least 30% (and probably closer to 50%) of the 89 GB that mysql is taking up on the Linode.

Wikipedia Views also has a high data growth rate:

Fallback extreme plans

Better plan that involves no sacrifice

A better plan would be to move various folders to Linode block storage:

Once things are moved to block storage, I will then downgrade the Linode instance appropriately. From a disk and RAM perspective, I believe that the solution using $80/month + $20 for backups should be good enough. However, it might be worth invesstigating if we can safely go down to $40/month + $10 for backups.

Alternate option: downgrade first, switch to block storage later?

It may be possible to downgrade to $80/month relatively quickly, because I am not currently using even the full 320 GB of storage. However, if I do this downgrade before switching to block storage, there is a risk of needing to figure out block storage in a few months, which can be tricky.

vipulnaik commented 4 years ago

@riceissa's instructions: https://gist.github.com/riceissa/49e331040a809e3dd14c046a07cd79cf