Nightscout is the open-source follower app for blood glucose readings from the CGM (continuous glucose monitoring) devices that help millions of people with diabetes and pre-diabetes keep an eye on their sugar levels. The way the Nightscout community usually runs it on AWS is a small EC2 box with Docker Compose and a MongoDB Atlas cluster. That means a VM to patch, a container to restart and a database service to keep an eye on.
AWS launched Amplify (Gen 3) on November 30. It bundles a managed Postgres database, sign-in and hosting in one app. This post shows how to run a streamlined Nightscout follower on it. It deploys in about two minutes and costs $0 a month on the Basic plan.
There is one thing to know before you start: the app only works while someone is looking at it.…