Nightscout on Google Cloud

xDrip » Features » Nightscout » Nightscout on Google Cloud


Thanks to JamOrHam, the current xDrip lead developer, for the idea, putting it together, implementing the installer, testing everything, and providing instructions.

Thanks to tzachi-dar, senior xDrip developer, for ideas, development of critical code, and for providing support.


You will need a credit card to set up billing. However, it will be free if you meet the requirements.

To complete installation, you will need to go through the first 5 items on the list below. You will need to use menus. This explains what to expect when using the menus. If you have followers, you will also need to complete item 6 after.
It will take a while (about 90 minutes) to complete the entire setup.
The rest of the items you see on this page are optional items on the menu or issues you may run into and how to address them.
Video clips are included to help with setup. They have no sound. To enlarge, click on the square symbol on the right side of the speaker symbol at the bottom of the video frame.

         Installation (14.2.6)

1- FreeDNS sign up

2- Google Cloud project

3- Virtual Machine

4- Linux/Nightscout install

5- Setting up Nightscout

6- Setting up followers


Backup before deleting the virtual machine.


Status page

Nightscout variables

Customize Nightscout (Advanced)

Update platform (not Nightscout itself)

Copy Database

Copy Heroku variables

         How to

Use menus


Access Compute Engine

Access Billing

Switch branches


Delete virtual machine

Access from a Mobile

Update Nightscout

Install Nightscout dev branch

Create a cost table

Increase disk size to 30GB



Heroku variables

Release notes


Snapshots (Advanced)

         Frequently Asked Questions

Can I still get my data from (Heroku) Atlas?

Will this be free?

Will this work in Australia or China?

Why have I been charged?


Connection Failed

Connection via Cloud Identity-Aware Proxy Failed

Hostname blocked at work or in school

Edit variables using a browser does not work!

502 Bad Gateway

Free Trial has ended!

Malfunctioning applications

Development branch of Nightscout fails

Cannot connect - full disk