How to Setup Your Own PaaS with Dokku and Node and React and Mongodb and Nginx
albertgao.xyz
albertgao.xyz
To add to the example in the blog post, I've played around with containerizing Django with Docker and deploying it to Dokku (Heroku should also be possible I guess): https://github.com/mimischi/django-docker
It's also possible to spin-up your own Sentry instance (open source error tracking) with Dokku (https://github.com/mimischi/dokku-sentry), as well as Minio, a simple S3 clone: https://github.com/slypix/minio-dokku/issues
Anyone who has tried dokku's postgres database solution ? Where to store state is IMO the big missing piece from these Paas tools. They solve the stateless compute part nicely (with Flynn you can even setup something Dokku-like on multiple servers with automatic failover) but there's nothing offering automatic failover for a database that doesn't require you to be a db admin.
What I'd love is something Dokku-like in simplicity for setting up HA/master-slave postgreSQL. A tool that I just install on two servers and it does everything needed for HA such as replicate continuously.
Even without the HA, just continuous replication, this would be a great complement to Dokku.
If you need replication, failover, automatic backups, scaling, or something of that order, Dokku is probably not what you're looking for. If you just have an app with a handful of users, it's absolutely amazing.
I looked into Flynn as well, but it seemed way too complicated for my use case: it's a bit overkill to spin up three machines when there's probably only one user at a time and it's idle all but 5 minutes a day.
Their standard mode prioritizes your apps over their management layer so if you happen to deploy an app that eats up all the RAM, expect to hard reboot that host in order to get the management layer back.
One thing they didn't mention was specifically MongoDB management - Backing up, restore etc.
Personally I was planning on using Nomad (or K8S if I could get into the GCP K8S Engine Hybrid Cloud Preview) to manage my clusters.
Then, I automated buying a ton of them into one bill as they generally don't allow you to bulk buy (which lead to a failed bill as it broke their billing. This lead their sales team to contact me to discuss my usage. Then they provided me with a better quote than the one on Lowendbox).
I wrote $15 / yr as that's the "discounted" price on Lowendbox. But if you bulk buy or buy with a commitment for 3 yrs - it's even cheaper (or you can negotiate to get more stuff for the same price). I can't talk about how much I end up paying as we've a special deal based on our usage.
Not exactly saying your host will do the same, but there's a reason almost all the hosts offer same locations (NY, LA and Chicago), and those specs with that price (even without discount) is unbelievable cheap, maybe too cheap
I had noticed that almost all of them had the exact same website, emails and billing software. I assumed that it was like how all sites using Wordpress are essentially the same if you take away the flashy JS stuff.
I am currently paying for a year and if all goes well, maybe update to a 3 yr contract. My plan is to architect the cloud in a way that I can immediately migrate / scale to GCP at the first sign of trouble - so my data / customers etc. should ideally not have issues. But from a cost standup, it's definitely going to be difficult.
I was highly sceptical of it at first, as I had preferred managing deployments on a lower level—and for some good reasons(similar criticisms with Heroku itself). That said, I have adapted and it's been good. Once we had some customizations in place it worked out great. And the plugins are generally well-done. Very little is too obscured.
It solves lots of problem I had with dokku in the past.
Note: I'm the maintainer of Dokku. Feel free to reach out privately with any thoughts as well :)
I hope it has been fixed.
Once it's set up on a host, you can push Heroku-compatible applications to it via Git. They'll build using Heroku buildpacks and then run in isolated containers.
> Dokku helps you build and manage the lifecycle of applications
Is there a way we can make what we do more clear?
The terms IaaS, PaaS and SaaS are defined under the "Service Models" section.