Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restructure Nightscout is free discussion #149

Merged
merged 8 commits into from
Aug 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 17 additions & 8 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,27 +83,36 @@ You will need:

## How Much Does It Cost?

It is still possible to run Nightscout for free. Classic DIY Nightscout requires free accounts at various companies. All of which will demand some sort of maintenance and will generate sales and warning emails over the course of the years.
Classic DIY Nightscout requires accounts at various companies. All of which will demand some sort of maintenance and will generate sales and warning emails over the course of the years.

DIY Nightscout is unfortunately not set it and forget it and will require upgrades and even platform changes to follow software evolutions or policies of the companies used when you created your site.

Nightscout has grown in complexity and maturity that require resources to sustain, especially if we are talking about uninterrupted working Nightscout for years on end. Most of the free accounts provided have quotas on the resources used that will impact the Nightscout experience in some negative way without payment.
However, there are a few options to start Nightscout cost-free:

Free databases like the Atlas M0 Sandbox provided by [MongoDB](https://www.mongodb.com/) will hold a limited amount of data (512MB). Depending on usage patterns, this may be enough for a few months or a few years before consuming the database capacity. You can increase the database capacity to 2GB/5GB($9/$25 USD/month) by paying for an M2/M5 Shared Cluster if you wish. Some people choose to delete the older data instead. The free storage tier may not offer enough storage for many Nightscout users. When Nightscout database runs out of space, consider securing more storage capacity to allow Nightscout to be a permanent record.

For many people Nightscout is a mission-critical application.
Free hosting hosting promotional offers may not offer enough compute or storage
capacity for Nightscout.
These limited capacities will compound issues with reliability and consistency over time.
The best practice when trying out these resources at low cost or for
free is to secure them them with a small payment, once Nightscout is
working for you.


</br>

## Build your own Nightscout DIY site

<span style="font-size:larger;">Ready to build your free classic Nightscout DIY site?
<span style="font-size:larger;">Ready to build your classic Nightscout DIY site?
You'll find instructions [here](../nightscout/new_user/).</span>

</br>

## Nightscout as a Service
Users taking "[Nightscout is free](https://mailchi.mp/a8960bd21a10/nightscout-beer-and-freedom)" for granted is probably hurting the ecosystem. A decent portion of the issues people need support on are related to using free services for hosting, instead of spending even a few dollars per month on hosting services. Free database running out of space all the time, has required both a ton of support but also feature development in Nightscout so it's easier for non-technical people to delete data.

Nightscout has grown in complexity and maturity that require resources to sustain, especially if we are talking about uninterrupted working Nightscout for years on end. Most of the free accounts provided have quotas on the resources used that will impact the Nightscout experience in some negative way without payment.

The big value for paying *some* money for NS can be to skip the parts that go wrong with installation and no hassle updates & capacity. Incidentally this also means less need to support users, where the support community has also seen a lot of people basically burn out from the endless amount of work supporting new users. Same goes for developers, where developing / maintaining NS is anything but trivial, but frequently users feel entitled to make demands and take offence if someone implies their wishes as customers are not met.

The developers recommend paid support for high quality, reliable service. If you prefer to pay and just use Nightscout as a fully managed service and let somebody else worry about installation and maintenance then you may be interested in a dedicated Nightscout hosting provider. There are two dedicated Nightscout hosting providers. Both of them are run by community members for community members.
The developers recommend paid support for high quality, reliable service. If you prefer to pay and use Nightscout as a fully managed service and let somebody else worry about installation and maintenance then you may be interested in a dedicated Nightscout hosting provider. There are two dedicated Nightscout hosting providers. Both of them are run by community members for community members.

</br>

Expand Down
44 changes: 32 additions & 12 deletions docs/nightscout/new_user.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ You still can [deploy your Nightscout site in Heroku](../../vendors/heroku/new_u
</br>

This documentation will reflect free possible solutions as soon as they are validated.
Consider supporting one of the community supported dedicated hosting providers
if your budget allows.

<img src="../../img/WIP.png" style="zoom:50%;" align="center">

Expand All @@ -24,59 +26,77 @@ This documentation will reflect free possible solutions as soon as they are vali
<td>Complexity</td>
</tr>
<tr>
<td><img src="../../vendors/img/Heroku.png" align="center"></td>
<td>DIY</td>
<td><a href="/vendors/heroku/new_user/"><img src="../../vendors/img/Heroku.png" align="center"></a></td>
<td><a href="/vendors/heroku/new_user/">DIY</a></td>
<td>7$/month</td>
<td><img src="../../vendors/img/Facebook.png"> DIY</td>
<td>Yes</td>
<td>No</td>
<td>Medium</td>
</tr>
<tr>
<td><img src="../../vendors/img/Atlas.png" align="center"></td>
<td>DIY</td>
<td><a href="/vendors/heroku/new_user/#step-3-create-an-atlas-account"><img src="../../vendors/img/Atlas.png" align="center"></a></td>
<td><a href="/vendors/heroku/new_user/#step-3-create-an-atlas-account">DIY</a></td>
<td>Free -</br>9$/month</td>
       <td><img src="../../vendors/img/Facebook.png"> DIY</td>
<td>No</td>
<td>Yes</td>
<td>Medium</td>
</tr>
<tr>
<td><img src="../../vendors/img/T1Pal.png" align="center"></td>
<td>Managed</td>
<td><a href="/vendors/T1Pal/new_user/"><img src="../../vendors/img/T1Pal.png" align="center"></a></td>
<td><a href="/vendors/T1Pal/new_user/">Managed</a></td>
<td>11.99$/month</td>
<td><img src="../../vendors/img/T1Pal.png" align="center"></td>
<td>Yes</td>
<td>Yes</td>
<td>Low</td>
</tr>
<tr>
<td><img src="../../vendors/img/10BE.png" align="center"></td>
<td>Managed</td>
<td><a href="/vendors/10BE/"><img src="../../vendors/img/10BE.png" align="center"></a></td>
<td><a href="/vendors/10BE/">Managed</a></td>
<td>&lt;€5/month</td>
<td><img src="../../vendors/img/10BE.png" align="center"></td>
<td>Yes</td>
<td>Yes</td>
<td>Low</td>
</tr>
<tr>
<td><img src="../../vendors/img/Azure.png" align="center"></td>
<td>DIY</td>
<td><a href="/vendors/azure/new_azure/"><img src="../../vendors/img/Azure.png" align="center"></a></td>
<td><a href="/vendors/azure/new_azure/">DIY</a></td>
<td>variable</td>
       <td><img src="../../vendors/img/Facebook.png"> DIY</td>
<td>Yes</td>
<td>No</td>
<td>High</td>
</tr>
<tr>
<td><img src="../../vendors/img/DO.png" align="center"></td>
<td>DIY</td>
<td><a href="/vendors/digitalocean/"><img src="../../vendors/img/DO.png" align="center"></a></td>
<td><a href="/vendors/digitalocean/">DIY</a></td>
<td>6$/month</td>
       <td><img src="../../vendors/img/Facebook.png"> DIY</td>
<td>Yes</td>
<td>Yes</td>
<td>High</td>
</tr>
<tr>
<td><a href="/vendors/fly.io/"><img src="../../vendors/img/flyio-logo.png" align="center"></a></td>
<td><a href="/vendors/fly.io/">DIY</a></td>
<td>0$-50$/month</td>
       <td><img src="../../vendors/img/Facebook.png"> DIY</td>
<td>Yes</td>
<td>No</td>
<td>High</td>
</tr>
<tr>
<td><a href="/vendors/railway.app/"><img src="../../vendors/img/railway-app-logo.png" align="center"></a></td>
<td><a href="/vendors/railway.app/">DIY</a></td>
<td>0$-5$/month</td>
       <td><img src="../../vendors/img/Facebook.png"> DIY</td>
<td>Yes</td>
<td>No</td>
<td>High</td>
</tr>
<tr>
<td><img src="../../vendors/img/MVPS.png" align="center"></td>
<td>DIY</td>
Expand Down
21 changes: 21 additions & 0 deletions docs/vendors/fly.io/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

# Fly.IO

![](../img/flyio-logo.png)
[Fly.io](https://fly.io) offers a free 500 hour tier
of usage, which is not enough for consistent
service for loopers, but can be a great for a
few weeks or for light users of Nightscout.
The $5 tier should be sufficient for loopers
and anyone depending on Nightscout as a
mission critical app.

## Set up new Nightscout

Fly.io is managed through a command line app.

## Migrate Nightscout

* [Migrate from heroku service](https://fly.io/launch/heroku)

* [Full migration docs](https://fly.io/docs/rails/getting-started/migrate-from-heroku/)
Binary file added docs/vendors/img/flyio-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/vendors/img/railway-app-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions docs/vendors/railway.app/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@


# Railway


![](../img/railway-app-logo.png)

[Railway.app](https://railway.app/) the free 500 hours
of usage is not enough for consistent
service for loopers, but can be a great for a
few weeks or for light users of Nightscout.
The $5 tier should be sufficient for loopers
and anyone depending on Nightscout as a
mission critical app.


## Set up new Nightscout


[ ![]( https://railway.app/button.svg) ](https://railway.app/new/template?template=https%3A%2F%2Fgithub.com%2Fnightscout%2Fcgm-remote-monitor&plugins=mongodb&envs=API_SECRET%2CAUTH_DEFAULT_ROLES%2Cenable%2CMONGODB_URI%2CDISPLAY_UNITS&optionalEnvs=MONGODB_URI&API_SECRETDesc=A+passphrase+that+must+be+at+least+12+characters+long.&AUTH_DEFAULT_ROLESDesc=Possible+values+readable%2C+denied%2C+or+any+valid+role+name.+When+readable%2C+anyone+can+view+Nightscout+without+a+token.+Setting+it+to+denied+will+require+a+token+from+every+visit%2C+using+status-only+will+enable+api-secret+based+login.&enableDesc=Plugins+to+enable+for+your+site.+Must+be+a+space-delimited%2C+lower-case+list.&MONGODB_URIDesc=The+connection+string+required+to+access+your+database+%28where+all+your+data+is+stored+in+the+cloud%29.&DISPLAY_UNITSDesc=Preferred+BG+units+for+the+site%3A+mg%2Fdl+or+mmol%2FL+%28or+just+mmol%29.+Setting+to+mmol%2FL+puts+the+entire+server+into+mmol%2FL+mode+by+default%2C+no+further+settings+needed.&AUTH_DEFAULT_ROLESDefault=denied&enableDefault=careportal+basal+dbsize+rawbg+iob+maker+cob+bwp+cage+iage+sage+boluscalc+pushover+treatmentnotify+loop+pump+profile+food+openaps+bage+alexa+override+speech+cors&referralCode=9Y13IY)


## Migrate Nightscout

4 changes: 2 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ nav:
- 'Heroku Stack Update': 'update/upd_stack.md'
- 'Heroku Multiple Factor Authentication': 'vendors/heroku/index.md'
- 'Heroku Downgrade': 'update/downgrade.md'
- Paid Hosting:
- Dedicated Nightscout services:
- 'T1Pal': 'vendors/T1Pal/new_user.md'
- '10BE': 'vendors/10BE.md'
- Configure:
Expand All @@ -60,4 +60,4 @@ nav:
- 'Dexcom bridge': 'troubleshoot/dexcom_bridge.md'
- 'Connection failure': 'troubleshoot/connection_string.md'
- 'Cleanup': 'troubleshoot/cleanup.md'
- Translation: 'translate.md'
- Translation: 'translate.md'