Live data from Hacker News

Show HN: Hasura – A Postgres BaaS and Kubernetes PaaS on Your Own Infrastructure

hasura.io

31–40 of 72 posts

Re: Show HN: Hasura – A Postgres BaaS and Kubernetes PaaS on Your Own Infrastructure

#31

We built Hasura over the last few years to help us build products fast. We didn't know what it would look like when we started, but we've ended up with something like a Parse + Heroku but on your own infra so that you can mess around with the internals when required. Key features: 1. Data APIs on a Postgres database 2. Deploy with git-push, or any docker image 3. Expose HTTP services on the API gateway over subdomain…

If you can launch this with a tutorial on using it with Digital Ocean and build in VPC/VPN around your VM orchestration I imagine you'll see a pretty significant response.

Re: Show HN: Hasura – A Postgres BaaS and Kubernetes PaaS on Your Own Infrastructure

#32
Looks great. How does it handle networking? E.g. if you are on AWS or Google you are fine with your VPC. But as far as I understood on Digital Ocean the private subnet is shared across all customers in this region. Do you employ an overlay network with encryption, e.g. Weave.net? Or do you deploy a VPN (tinc, peervpn) and Kubernetes on top?

Re: Show HN: Hasura – A Postgres BaaS and Kubernetes PaaS on Your Own Infrastructure

#33
post #29

This is super useful. I'd wager 80% of API's are single data API's and Hasura would speed up development time by a significant factor while still allowing for more flexibility than just building on top of something like Parse. I think eventually most API's will use managed frameworks like this or go serverless so that a lot of the repetitive wiring code is abstracted out.

:) Thanks. This is one of the key thoughts that inspired Hasura! We kept refining these data APIs on Postgres over the various products that we helped our clients build.

Re: Show HN: Hasura – A Postgres BaaS and Kubernetes PaaS on Your Own Infrastructure

#34
post #32

Looks great. How does it handle networking? E.g. if you are on AWS or Google you are fine with your VPC. But as far as I understood on Digital Ocean the private subnet is shared across all customers in this region. Do you employ an overlay network with encryption, e.g. Weave.net? Or do you deploy a VPN (tinc, peervpn) and Kubernetes on top?

You're right! On AWS and Google we use VPC. But on Digital Ocean we create single-node clusters only. We do not encourage multi-node clusters on Digital Ocean. Hopefully DO will address this soon!

Re: Show HN: Hasura – A Postgres BaaS and Kubernetes PaaS on Your Own Infrastructure

#36

Earlier quoted context omitted.

Currently installation on cloud providers (that you own) happens through hasura.io. Register at https://beta.hasura.io and you can create a project. If you want to install on your own, we will be releasing docs over the next 2 weeks.

Okay. I am more interested in testing this on Openshift running on our infrastructure. Thanks!

We've never tried on OpenShift, but it works on vanilla Kubernetes cluster.

Re: Show HN: Hasura – A Postgres BaaS and Kubernetes PaaS on Your Own Infrastructure

#37
post #35

How do I change some part of controller function of a DB table ? i.e can I change generated code (what language is the code?) or is it like hook functions available in cloud ?

The Data APIs are not actually generated. The Data API service exposes a JSON query language on any Postgres table.

So if you want to customise the controller, the easiest thing to do is to write a custom API endpoint (which you can deploy to your server using a heroku style git-push or a docker image) which in turn can contact the data APIs or even the Postgres database directly.

Re: Show HN: Hasura – A Postgres BaaS and Kubernetes PaaS on Your Own Infrastructure

#39

Looks great... may be just what I have been looking for. PS: The illustrations are awesome !

Illustrations: They are indeed. These are the colorful demigods of Hinduism. More: https://www.google.com/search?q=mahishasura
Post reply on HN