前記事(「Nightscoutを無料で使い続ける:Heroku有料化への対応策」)でRailwayに移行する予定と書いたが、その後の情報で心変わりしている。
主要な対応策のPros&Cons
これまでに分かった対応策のPros & Cons(長所と短所)をまとめた情報↓が判断の参考になる。
上記の資料から一部を引用。
Heroku⌁
Heroku was a very popular platform for Nightscout until now. Most of the documentation is based on a Heroku Nightscout.
On August 25th 2022, Salesforce decided to drop the free plan. In order to keep your Nightscout running in Heroku, you can upgrade to a Hobby account.
You can create your new Nightscout site with Heroku using a Hobby account plan (7$ / month).
Pros:
Large platform with a reliable history
Well documented, well known by the communityCons:
For a Nightscout site 7$ per month is not really worth it
Relying on the MongoDB Atlas database
Azure⌁
Nightscout DIY was originally created with Azure but most users dropped it after costs increased.
A new deployment method is being worked on... stay tuned.
Pros:
Large platform with a reliable history
Well known by the community IT specialists
Using a local database.Cons:
We'll see
Railway.app⌁
You can easily migrate from Heroku to Railway or create a new Railway Nightscout site with a MongoDB Atlas or a Railway MongoDB database.
Pros:
Nightscout fits in the free tier
Easy to deploy or migrate an existing site from Heroku
Simple to use and troubleshoot
Can use a native Railway MongoDB databaseCons:
Startup company
A large amount of Nightscout users might have a negative impact on Railway financials and force them to review the free plan conditions
M5Stack_NightscoutMon users experience network issues provoking devices reset
Azureの利用
Railwayはスタートアップ企業の運営なので、将来の変更(例えば料金体系の改定、M&Aによる事業主体が変わる等)とサービスの信頼性に不安を感じている。
Herokuを提供するSaleceforceはグローバルIT企業なので、しっかりしたビジネス基盤があるので、対比するとそのような懸念をかなりの人が感じていると思う中で、先週から脚光を浴び始めているのが、マイクロソフトのCloudサービスAzureを使う方法。
CGM in the CloudのFacebookグループでに、10/6、Azureを無料で利用する方法が投稿され、かなり注目されている。この方法が主流になる予感がする。投稿のコメントが200を超えていることがそれを示している。
約25分のセットアップ方法の動画で詳しく解説されている。
Azureを利用する場合は、データをAzureのCosmoDBに保管するので、MongoDB Atlasに蓄積した過去のデータを引き継げない。これはデメリットになるが、過去のデータを諦めれば良いので、これは大きな問題ではない。
今週末にAzureのセットアップにチャレンジしてみようと考えている。
〔10/15 追記〕
Nightscout on Azureをテストしている人たちが増え、バグの報告が出ている(現在は実験台を買って出た人たちGuinea pigsによる試行段階)。ガイドが改訂されるようなので、しばらく様子を見ることにした。