Live data from Hacker News

CapRover: Build your own PaaS

caprover.com

41–50 of 183 posts

Re: CapRover: Build your own PaaS

#41
post #26
post #7

Slightly nitpicky, but is something a PaaS if you run it yourself? Anything as a Service isn't a service if you're running it yourself. It's just ... infrastructure.

Not nitpicky at all - this is an important distinction to highlight for pointy-haired decision makers. This product is undoubtedly the P in PaaS, but there is no service behind it. If your company uses this as an alternative to a real Heroku/AWS/xyz PaaS, you must have engineers at hand for 24/7 ops, scaling servers and fixing bugs. In my opinion, this is quite risky for anything running in production and should not…

> should not survive a cost-benefit analysis

I completely disagree, the difference of price between dedicated servers and even EC2 instances is completely amazing.

This is what you get for less than $200/month with a dedicated server:

1× AMD EPYC 7281 CPU - 16C/32T - 2.1 GHz, 2 × 1 To NVMe, 96 Go DDR4 ECC, unmetered 750 Mbps

In one of my companies the AWS bill is just completely insane, we have like half that hardware, with a really small bandwidth, which is metered, for more than $800/month, which is fine while we're on free credits.

I love working for cloud companies, it's a lot of fun, but when it comes to my money then I never go for anything but a dedicated server.

Re: CapRover: Build your own PaaS

#44
post #38

Earlier quoted context omitted.

Nope, you have IaaS (Infrastructure as a Service) like OpenStack, and PaaS (Platform as a Service) like OpenShift, KelProject, CapRover ... The idea is that you ask OpenStack a VM and it will give it to you, dealing with the lower level details for you. PaaS means that you ask it to deploy a service and it will deploy it for you, dealing with lower level details for you.

Neither you nor the parent are wrong but I'd argue that you don't really see IaaS or PaaS used all that much for on-prem platforms these days. (And the definition of PaaS was always a bit fuzzy--something like an abstraction that is in between IaaS and SaaS. You're probably more likely to see OpenStack called a private cloud or on-prem cloud than "IaaS" these days. And OpenShift is usually called a Container Platform…

The definitions have always been pretty clear to me, but all right then, thanks for the heads up, I guess CapRover people and I are also what we call "old school devops" these days.

"Container platform" seems pretty vague to me, PaaS means something I know right away.

I mean, k8s is a container platform too isn't it ? But you'll need to build what we called a PaaS on top of it yourself (or use something like Kelproject, OpenShift ...)

Re: CapRover: Build your own PaaS

#46
post #2

Curious as to how this compares to Dokku ( http://dokku.viewdocs.io/dokku/ )?

There is someone working recently on swarmlet (https://github.com/swarmlet/swarmlet) - a Dokku inspired Docker swarm solution.

Swarmlet seems to be very young and not production ready. Still, I am exited to see how this project will evolve with time.

Re: CapRover: Build your own PaaS

#47
post #8

I can recommend in getting in k8s with something like microk8s from ubuntu: You will learn k8s and you will get the same thing as they do but with open components, industry standards and a whole industry moving in this direction. I have already microk8s running at home with argocd. I have never had IaC that quick and that simple setup. With traefik you can have your domains as well. Then just go to gitlab (or now to…

How does the deployment process differ from CapRover/Dokku? Deploying a simple app with a database with Dokku is something like: 1. Run command to create a database of your choice(Postgres, MySQL, Redis etc) 2. Run command to create application 3. Run command to link the database to the application 4. Push to the Dokku repo to deploy the application.

Both can solve the same issue and both are similiar as they orchestrate your platform.

Kubernetes is just the future, used by much more people and you have the additional benefit of learning kubernetes which might help you in your job/day to day business etc.

If you are already thinking of operating CapRover/Dokku, i would strongly considering using kubernetes instead.

Re: CapRover: Build your own PaaS

#48

(non dev) looking to run my own installation of https://github.com/excalidraw/excalidraw for team. Could I use this app? Straightforward to do? How would I estimate the costs?

As long as you have a (sub) domain you can use and a bit of free time, you could go to your favourite cheap 'cloud' provider, i.e. Digital Ocean, Scaleway, ...

Spin up a cheap instance (DO has a preconfigured image ready to go), git pull and caprover deploy to test. I am pretty sure even the cheapest ones will be able to run that.

Re: CapRover: Build your own PaaS

#49
post #8

I can recommend in getting in k8s with something like microk8s from ubuntu: You will learn k8s and you will get the same thing as they do but with open components, industry standards and a whole industry moving in this direction. I have already microk8s running at home with argocd. I have never had IaC that quick and that simple setup. With traefik you can have your domains as well. Then just go to gitlab (or now to…

How does the deployment process differ from CapRover/Dokku? Deploying a simple app with a database with Dokku is something like: 1. Run command to create a database of your choice(Postgres, MySQL, Redis etc) 2. Run command to create application 3. Run command to link the database to the application 4. Push to the Dokku repo to deploy the application.

Don't bother k8s is like the lvl of the dragon in front of something like dokku, If you don't really look for auto scaling, or you are running a business alone, don't go for k8s

Re: CapRover: Build your own PaaS

#50
I find it surprising that they choose nginx as routing/reverse proxy while Traefik does the job very seamless in a matter of minute with benefit of docker container tag for live configuration. and with full integration of letsencrypt.
Post reply on HN