Cloud Agnostic Way

TLDR:

Stack:
Ubuntu
Microk8s
Postgres

Cherries on top:
Grafana
Metabase

Cloud Agnostic Way

You probably seen crazy amount of credits cloud providers give? The only is issue is that you will stuck with them and pay 3-10x more than market p…


This content originally appeared on DEV Community and was authored by Van0SS

TLDR:

Stack:
Ubuntu
Microk8s
Postgres

Cherries on top:
Grafana
Metabase

Cloud Agnostic Way

You probably seen crazy amount of credits cloud providers give? The only is issue is that you will stuck with them and pay 3-10x more than market price after that.

The solution? Be Cloud Agnostic.

We are at SellMeThisPen AI decided to minimize our cloud expenses since we are bootstrapped company and revenue is literally our lifeline.

All cloud providers have Ubuntu. So why not just use it?

Don'ts:
Don't depend on built-in cloud monitoring tools. Use Grafana
Don't depend on custom Kubernetes, use opensource e.g. Microk8s
Don't depend on lock-on DBs (e.g. DynamoDB), use opensource Postgres. Managed solution is fine though if easy to migrate away.
Don't use anything which has vendor name in unless you see clear path to easily switch

So far we jumped from AWS to Azure in less than a weekend, no hard fillings Microsoft, but we can jump to any cloud after that too.

Overhead

There definitely will be overhead for managing it in the begging, and lack of expertise to make it work. But with ChatGPT and god's help you can quickly make it work. As a bonus you will know a lot more about the whole infra and maybe create your own cloud one day :D

If you are very far from it's okay to start with everything managed for you, but beware it will get exponentially harder to migrate away when time pass.

Forgotten Pros

As on the bright side - you can tweak your infra as you like. Websockets? No problem. Open specific port for some obscure software - check? Install any Postgres extension - you got it. If you need to grow to the very big scale - you would have to build your own infra anyway (not very likely though, but let's stay optimists :))

Overall

Don't fall for managed/worry free/serverless marketing, you are an engineer and can handle it with less additional black boxes which can fail on you. Good luck!


This content originally appeared on DEV Community and was authored by Van0SS


Print Share Comment Cite Upload Translate Updates
APA

Van0SS | Sciencx (2024-10-20T19:41:10+00:00) Cloud Agnostic Way. Retrieved from https://www.scien.cx/2024/10/20/cloud-agnostic-way/

MLA
" » Cloud Agnostic Way." Van0SS | Sciencx - Sunday October 20, 2024, https://www.scien.cx/2024/10/20/cloud-agnostic-way/
HARVARD
Van0SS | Sciencx Sunday October 20, 2024 » Cloud Agnostic Way., viewed ,<https://www.scien.cx/2024/10/20/cloud-agnostic-way/>
VANCOUVER
Van0SS | Sciencx - » Cloud Agnostic Way. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/10/20/cloud-agnostic-way/
CHICAGO
" » Cloud Agnostic Way." Van0SS | Sciencx - Accessed . https://www.scien.cx/2024/10/20/cloud-agnostic-way/
IEEE
" » Cloud Agnostic Way." Van0SS | Sciencx [Online]. Available: https://www.scien.cx/2024/10/20/cloud-agnostic-way/. [Accessed: ]
rf:citation
» Cloud Agnostic Way | Van0SS | Sciencx | https://www.scien.cx/2024/10/20/cloud-agnostic-way/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.