diff --git a/docs/troubleshoot/fly.io.md b/docs/troubleshoot/fly.io.md index 11de53b3..2267192a 100644 --- a/docs/troubleshoot/fly.io.md +++ b/docs/troubleshoot/fly.io.md @@ -8,6 +8,11 @@ If it's too complex for you the web terminal is an easy alternative. ## Use a web terminal +```{warning} +The web terminal feature was removed from Fly.io. +Documentation will be updated to use a computer and flyctl. +``` + a) In a new browser tab, [sign-in](https://fly.io/app/sign-in) with your fly.io account,then open a web [terminal](https://fly.io/terminal). If you just closed the terminal, you might need to wait some time (20 minutes) before you can open a new session (the message below appears). @@ -188,3 +193,35 @@ Your app should now only be running on one machine. Check [here](https://fly.io/
+ +## Obtain a free shared IP + +Apps migrated from Heroku will use a dedicated IP billed $1.90/month. + +If you want to run your Nightscout site in Fly.io for free, you will need to release the IP and request a shared IP. + +Follow the instructions below. The IP 137.66.11.78 and the site name `example-ns` are examples, yours will be different. Use your own IP and site name. + +``` +$ flyctl auth login # This will open a browser and ask me to authenticate + +$ flyctl app list +NAME OWNER STATUS PLATFORM LATEST DEPLOY +example-ns personal deployed machines 2023-05-26T07:24:51Z + + +$ flyctl ips list -a example-ns +VERSION IP TYPE REGION CREATED AT +v4 137.66.11.78 public global 2022-09-13T14:17:58Z +v6 3b09:8280:1::3:723c public global 2022-09-13T14:18:00Z + +$ flyctl ips release 137.66.11.78 -a example-ns +Released 137.66.11.78 from example-ns + +$ flyctl ips allocate-v4 --shared -a example-ns +v4 shared global +``` + +You do not need to remember your new IP, just continue using your site name as before: https://yoursitename.fly.dev + +
diff --git a/docs/vendors/fly.io/migrate.md b/docs/vendors/fly.io/migrate.md index 9dc046ec..4bc951f3 100644 --- a/docs/vendors/fly.io/migrate.md +++ b/docs/vendors/fly.io/migrate.md @@ -120,6 +120,13 @@ n) If you open this URL you will see it's replicating real time your Heroku Nigh
+```{warning} +Migrated sites will use a dedicated IP, that is a billable feature ($1.90/month). +You will need to release the address and get a shared one. See [here](/troubleshoot/fly.io.md#obtain-a-free-shared-ip) how to proceed. +``` + +
+ ## Step 2 - Remove the Heroku webhook to Fly.io a) By defaut Fly.io has made a link to Heroku so that whatever happens in Heroku (updates, variables changes, etc...) is mirrored to Fly.io. diff --git a/docs/vendors/fly.io/new_user.md b/docs/vendors/fly.io/new_user.md index e5d42e7a..3fa10106 100644 --- a/docs/vendors/fly.io/new_user.md +++ b/docs/vendors/fly.io/new_user.md @@ -67,6 +67,11 @@ Nightscout should run for free within the [allowances](https://fly.io/docs/about ## Step 2: Open the web terminal +```{warning} +The web terminal feature was removed from Fly.io. +Documentation will be updated to use a computer and flyctl. +``` + a) In a new browser tab, open the [terminal](https://fly.io/terminal). Sign-in with the account you created above, if requested.
If you just closed the terminal, you might need to wait some time (20 minutes) before you can open a new session (the message below appears). diff --git a/docs/vendors/railway/new_user.md b/docs/vendors/railway/new_user.md index fab5ae5d..eec3109d 100644 --- a/docs/vendors/railway/new_user.md +++ b/docs/vendors/railway/new_user.md @@ -22,9 +22,10 @@ The free plan has been removed Jul 3rd for new users and Aug 1st for existing us You can easily create a new Railway Nightscout site with a [MongoDB Atlas](/vendors/mongodb/atlas) database or a [Railway MongoDB database](/vendors/railway/database). **Pros**: -* Nightscout fits in the 5$/month Hobby account -* Easy to deploy or migrate an existing site from Heroku -* Simple to use and troubleshoot +* Nightscout fits in the 5$/month Hobby account +* Easy to deploy or migrate an existing site from Heroku +* Simple to use and troubleshoot +* You can host several Nightscout sites within a single Hobby account * Can use a native Railway MongoDB database ($) **Cons**: