3 ms·
The complexity of this setup screams 1 major thing to me: security issues Seeing as we are on this topic, I would like to pose 1 simple and theoretical questio
by phantom_oracle 11y ago
The complexity of this setup screams 1 major thing to me: security issues
Seeing as we are on this topic, I would like to pose 1 simple and theoretical question for all those who only need 1 decently-sized 4GB server to get their small projects running:
=====
What type of setup can be used to get a simple Rails/Sinatra/Flask/Django webapp + Postgres-DB on a single 4GB server that has to be maintained by a single individual where time and complexity are highly-valued commodities?
The least-complex setup will be preferred, as the hundreds of 1-man side-projects will not be able to maintain their 43 container-clusters using x-software on top of y-software that is managed by z-software.
=====
A good answer here will probably help hundreds of individuals here avoid the situation of "I should probably containerize my app because everyone else does it" scenarios.
- TheIronYuppie 11y agoDisclaimer: I work at Google on Kubernetes. I put that disclaimer at the top of all my posts, but this one truly is HIGHLY biased. The absolute easiest way to do what you describe is to use GKE (Google's hosted Kubernetes). For $0.15/hr, we'll manage everything for you, and you can build out teeny tiny clusters that do everything you need. It's even free for clusters <5 nodes. Start it up, use a sample app from this directory (https://github.com/kubernetes/kubernetes/tree/master/examples https://github.com/kubernetes/kubernetes/tree/master/example...) and you're done.
- IanCal 11y agoIs that really the easiest? I couldn't see a sample app there that matched the description. One other issue is that's also over 100 dollars per month. I can rent 32GB SSD backed xeon E3 servers for half that. Or a stack of 10 4G VPS.
- twic 11y agoThat sounds like a job for Ansible: https://github.com/jcalazan/ansible-django-stack https://github.com/jcalazan/ansible-django-stack