Ribbit-Network / ribbit-network-dashboard

The web dashboard for the world's largest crowdsourced network of open-source, low-cost, CO2 Gas Detection Sensors.
MIT License
17 stars 16 forks source link

Identify Best Dashboard Hosting Service #100

Closed keenanjohnson closed 1 year ago

keenanjohnson commented 2 years ago

Currently, the website dashboard is hosted on the Heroku Free Tier of dynos. However, the free tier is being removed.

Since I am not aware of another free hosting service, we will need to start paying for hosting somewhere.

We should evaluate the best options and what would be the most cost-effective, while still easy to use hosting provider for the Ribbit Dashboard.

image

pascaljoly commented 2 years ago

I've asked a friend who works for Platform.sh if they have discounts for non-profits. they are a direct competitor with Heroku.

On Fri, Sep 30, 2022 at 11:55 AM Keenan Johnson @.***> wrote:

Currently, the website dashboard is hosted on the Heroku Free Tier of dynos. However, the free tier is being removed.

Since I am not aware of another free hosting service, we will need to start paying for hosting somewhere.

We should evaluate the best options and what would be the most cost-effective, while still easy to use hosting provider for the Ribbit Dashboard.

[image: image] https://user-images.githubusercontent.com/2559382/193337761-42549301-5dbc-4e5b-9250-543568f95e71.png

— Reply to this email directly, view it on GitHub https://github.com/Ribbit-Network/ribbit-network-dashboard/issues/100, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEGEMUCIHHMHESB3IOBAFCTWA4ZS7ANCNFSM6AAAAAAQ2AWC3I . You are receiving this because you are subscribed to this thread.Message ID: @.***>

pascaljoly commented 2 years ago

also, have you looked at https://www.interserver.net/about/ ? they are free for non profit. I don't know how much flexibility they offer compared to a traditional PaaS.

keenanjohnson commented 2 years ago

I have not! @abhinavtripathy was going to compile a table of options this weekend I believe (or was that for the database hosting?)

If so, we should consider it!

abhinavtripathy commented 2 years ago

Made an initial table of comparing supabase and firebase as options. Will add more. Others, please feel free to add more onto it. After

Platform Database Type Database Storage Database Reads/Writes Hosting Limits Auth Serverless Support? Serverless Functions Limits Comments?
Firebase NoSQL 1 GB total 10 GB/month egress, 20k/day writes, 50k/day reads 10GB storage, 360MB/day transfer Yes, 50k/month active users Yes Only on pay as you go plan, 2 million invocations/month There is decently high vendor lock in
Supbase SQL (postgres) 500 MB total 2 GB/month egress No hosting available Yes, unlimited users Yes 500k invocations per month Decently high vendor lock in

@keenanjohnson I am actually quite interested in the free tier of AWS, they have fairly high limits for beginner projects. On top of that we can reach out here for a non-profit grant: here.

pascaljoly commented 2 years ago

Do you have the optimal sizing specs of what we need? Is the database between NoSQL and SQL? what about the web server hosting for the dashboard? storage sizing? @abhinavtripathy @keenanjohnson

keenanjohnson commented 2 years ago

The database we currently are using is InfluxDB, though that is up for debate pending the results of #81.

There is no storage for the web server at the moment on the free heroku tier.

pascaljoly commented 2 years ago

Is influxDB a db or a service? What would be our desired specs for a db? What about the web server?On Oct 4, 2022, at 1:11 AM, Keenan Johnson @.***> wrote: The database we currently are using is InfluxDB, though that is up for debate pending the results of #81. There is no storage for the web server at the moment on the free heroku tier.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

keenanjohnson commented 2 years ago

Hey @pascaljoly ! it's a bit confusing, because InfluxDB is a database, but we use the hosted version of InfluxDB which is also a service called InfluxDB cloud. Our hosting isn't changing there, so I think discussing that is a bit out of scope for this issue and we should keep that conversation to #81. This is specifically just about the web server to host the front end page.

keenanjohnson commented 2 years ago

@abhinavtripathy thanks for starting that comparison! I wonder how AWS would compare to something like Digital Ocean which has a similiar grants program for non-profits: https://www.digitalocean.com/community/pages/hollies-hub-for-good

Would you be able to add AWS and Digital Ocean to your comparison table?

abhinavtripathy commented 2 years ago

@keenanjohnson sure! I will add digital ocean and AWS to the table. Give me a few days to go through the details.

abhinavtripathy commented 2 years ago

Also on a side note, I am a huge fan of digital ocean, they do some great work!

pascaljoly commented 2 years ago

Let's add platform.sh to the list. https://platform.sh/. thanks!

pascaljoly commented 2 years ago

sorry about that I misunderstood. If it's just the web server then it's much simpler.

On Tue, Oct 4, 2022 at 9:43 AM Keenan Johnson @.***> wrote:

Hey @pascaljoly https://github.com/pascaljoly ! it's a bit confusing, because InfluxDB is a database, but we use the hosted version of InfluxDB which is also a service called InfluxDB cloud. Our hosting isn't changing there, so I think discussing that is a bit out of scope for this issue and we should keep that conversation to #81 https://github.com/Ribbit-Network/ribbit-network-dashboard/issues/81. This is specifically just about the web server to host the front end page.

— Reply to this email directly, view it on GitHub https://github.com/Ribbit-Network/ribbit-network-dashboard/issues/100#issuecomment-1267278847, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEGEMUGDTZFC3H25XDV4S2TWBRND7ANCNFSM6AAAAAAQ2AWC3I . You are receiving this because you were mentioned.Message ID: @.***>

keenanjohnson commented 2 years ago

Thanks @pascaljoly and @abhinavtripathy !

keenanjohnson commented 1 year ago

Thanks to our friends at platform.sh, they have offered us hosting on their platform for free as a non-profit, so we have migrated our site there.

I'm going to update the links on our main page and close out this issue.

keenanjohnson commented 1 year ago

platform.sh site is live at main-bvxea6i-lqkafs6clpkma.us-4.platformsh.site

pascaljoly commented 1 year ago

do we have a plan to update the DNS to have a ribbitnetwork alias? we can then update the links "Live Data" from the website

keenanjohnson commented 1 year ago

Yes I’m actually working that in discord right now :). I’ll update this issue with links once I have everything configured properly :)

On Wed, Nov 16, 2022 at 6:28 PM outdoorclone @.***> wrote:

do we have a plan to update the DNS to have a ribbitnetwork alias? we can then update the links "Live Data" from the website

— Reply to this email directly, view it on GitHub https://github.com/Ribbit-Network/ribbit-network-dashboard/issues/100#issuecomment-1317970344, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATQ3FV4XGTX357N6INNZPDWIWJ6FANCNFSM6AAAAAAQ2AWC3I . You are receiving this because you modified the open/close state.Message ID: @.*** com>