Hey guys. Cheers.
Have been using flyio for sometime and recently i just migrated a postgres database to fly postgres.
Currently my postgresql database is utilizing the free allowance. The postgres is hosted with only 1 machine with the lowest VM and 256mb ram only.
first of all, am not trying to avoid paying. am just starting and trying out how this whole things work out for us.
There are a few things i am not quite sure about flyio when it comes to machine or app and the relationship between them. Please correct me if am wrong.
Since this app is only hosted with 1 MACHINE. I assume that if that 1 machine has issue and is down, the whole postgres is down. correct?
so now comes the real question:
how do i make sure that mini postgres server never go down or less chances to go down?
My assumption is to utilize horizontal scaling
my understanding is that it adds one more machine in another region, so there are 2 server handling the postgres, so in case 1 machine is down, another machine will still be available to handle the connections.
the " Scale Postgres VMs" i guess i don’t need that yet. since the database has low volume and i guess the shared-cpu-1x 256mb ram is still capable.
So, is my understanding of the above “scale vm” and “horizontal scaling” correct? if correct, that means what i need is horizontal scaling. right?
and lastly, the free allowances give us 3x shared-cpu-1x 256mb VMs.
Currently my web app (not postgres app) is using 2 machines of shared-cpu-1x
and the postgres app is using 1 machine of shared-cpu-1x as i mentioned above. So i guess once i scale the postgres app horizontally by adding 1 more machine, i will have to start paying?
thanks in advance. These might be some weird questions but please allow me because i came from VPS background, this machine and app things is so new to me. and one of the reasons i move away from VPS is the community around here.