Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autobase.tech - Automated database platform for PostgreSQL® #114

Open
nelsonic opened this issue Nov 12, 2024 · 18 comments
Open

autobase.tech - Automated database platform for PostgreSQL® #114

nelsonic opened this issue Nov 12, 2024 · 18 comments
Assignees
Labels
discuss Share your constructive thoughts on how to make progress with this issue enhancement New feature or enhancement of existing functionality priority-1 Highest priority issue. This is costing us money every minute that passes. research Research required; be specific T4h Time Estimate 4 Hours technical A technical issue that requires understanding of the code, infrastructure or dependencies

Comments

@nelsonic
Copy link
Member

Following the Fly.io Postgres fiasco dwyl/auth#325 (comment) we are back to the drawing board when it comes to Postgres. 🔍 💭

We took a look at Managed Postgres on DigitalOcean dwyl/learn-devops#90
and for a simple app that doesn't have many records/updates it would be fine but the moment you need
to scale to a decent size and speed, the costs get out-of-hand compared to self-managing ... dwyl/learn-devops#90 (comment)

Sooooo ... this is what I'm considering: run https://postgresql-cluster.org on Hetzner dwyl/learn-devops#97

image

Using 3 VMs in 3 data centres; eu-central (fsn1), us-west (hil) and ap-southeast (sin): dwyl/learn-devops#97 (comment)

@nelsonic nelsonic added enhancement New feature or enhancement of existing functionality T4h Time Estimate 4 Hours technical A technical issue that requires understanding of the code, infrastructure or dependencies priority-1 Highest priority issue. This is costing us money every minute that passes. discuss Share your constructive thoughts on how to make progress with this issue research Research required; be specific labels Nov 12, 2024
@nelsonic nelsonic self-assigned this Nov 12, 2024
@github-project-automation github-project-automation bot moved this to More ToDo ThanCanEver Be Done in Nelson's List Nov 12, 2024
@asntc
Copy link
Member

asntc commented Nov 19, 2024

We had a brief hiccup where we couldn't make progress ... 🧱
Opened an issue: vitabaks/autobase#811 and got a reply super quick! 🏎️
This gives us confidence that the project is maintained and we are making a good choice to use it. 🤞

@nelsonic nelsonic moved this from More ToDo ThanCanEver Be Done to In progress in Nelson's List Nov 19, 2024
@nelsonic
Copy link
Member Author

Rebranded to "autobase" ... https://github.com/vitabaks/autobase 💭

image

@asntc
Copy link
Member

asntc commented Nov 29, 2024

https://postgresql-cluster.org/ (before the rebrand)
image

full:
image

annoyingly it has scroll-based rendering so some of it is missing. 🤦

image

image

anyway, this is what it looked like when we first considered using it.

@nelsonic
Copy link
Member Author

Managed to deploy the cluster this morning and do a full doc & screen recording! 📝 📺

#insomnia FTW! 😪 🎉

Just have to edit down ~T2h of screen recording down to T7m and we can ship both!! :shipit:
GOTO: dwyl/video#95

@nelsonic
Copy link
Member Author

Currently trying to connect to the Postgres cluster on Hetzner but hitting a brick wall 🧱 🤦‍♂️
Opened issue requesting help: vitabaks/autobase#824

@nelsonic nelsonic changed the title postgresql-cluster.org - Automated database platform for PostgreSQL® autobase.tech - Automated database platform for PostgreSQL® Nov 30, 2024
@nelsonic
Copy link
Member Author

@MikeRund never be afraid of asking a NOOB Question. Having a Beginner's Mind is a Super Power! 🔰

@MikeRund
Copy link
Member

This is a great use-case of not not being afraid to ask the questions, thanks @nelsonic and congrats on deployment! 🚀

@nelsonic
Copy link
Member Author

As noted in vitabaks/autobase#824 (comment) this is all working now. :shipit:
Most importantly, I understand how the deployment works end-to-end. 👌
So ... I'm going to DELETE it all again and re-deploy from a clean slate. 0️⃣

@nelsonic
Copy link
Member Author

nelsonic commented Dec 9, 2024

First PR: vitabaks/autobase#835

@nelsonic
Copy link
Member Author

My PR was merged with the cheaper server types which makes Hetzner significantly more cost-effective! 👌
Re-re-recorded the screencast using the cheaper servers. 💻 ⏺️ ✅

Screenshot 2024-12-19 at 07 11 24

It's not perfect. But I just want to ship this now!! ⏳
Editing. 🧑‍💻

@nelsonic
Copy link
Member Author

nelsonic commented Dec 19, 2024

image

it's not an "update" though ...

image

it's a whole new app that replaces the old!
And for whatever reason is downloading incredibly slowly even on our 1Gbps connection!

I'm already editing while it downloads in the bg. ⏳

@ndrean
Copy link

ndrean commented Dec 19, 2024

@nelsonic do you use Ansible to setup your (VPS?) Hetzner ? Do you use containers?

@nelsonic
Copy link
Member Author

nelsonic commented Dec 19, 2024

@ndrean yeah, autobase uses ansible & containers under the hood.
But my reading is that it’s using a standard Postgres build (Ubuntu) for the DB. 👌

@nelsonic
Copy link
Member Author

I've edited ~T1h of screen recording down to T5m
with a few speed-ups where installation is happening:

image

Just have to record voiceover tomorrow morning when the house is quiet. 🤫

@ndrean
Copy link

ndrean commented Dec 20, 2024

@nelsonic I asked for Ansible because click-ops is for the braves who want to live dangerously 😬. Like using Docker without docker-compose or K8 without manifests. I saw: "You have the option to easily deploy Postgres clusters using the Console (UI) or from the command line with the ansible-playbook command."

Ansible palybook here -> https://github.com/vitabaks/autobase#command-line

@vitabaks
Copy link

vitabaks commented Dec 21, 2024

Hi👋🙂

You might also be interested in a GitOps-based approach for managing database clusters. You can find more details here: https://autobase.tech/docs/management/gitops

@nelsonic
Copy link
Member Author

I deliberately left the DaVinci Resolve project on the MacMini @home in Braga for the Xmas holidays because I know I'm not going to have a lot of quiet time to record the voiceover. 🎤
So will only pick this up again in the new year. ⏳

@ndrean
Copy link

ndrean commented Dec 26, 2024

A book on Ansible: https://github.com/pavankkasturi/books/blob/master/Ansible%20for%20DevOps.pdf

You can add this to your library:


Screenshot 2024-12-26 at 11 02 55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss Share your constructive thoughts on how to make progress with this issue enhancement New feature or enhancement of existing functionality priority-1 Highest priority issue. This is costing us money every minute that passes. research Research required; be specific T4h Time Estimate 4 Hours technical A technical issue that requires understanding of the code, infrastructure or dependencies
Projects
Status: In progress
Development

No branches or pull requests

5 participants