This Terraform project has been developed to deploy a Nightscout instance on AWS using free-tier resources that best replicate the operating experience of Heroku.
While every effort has been made to ensure only free-tier resources are used, this may change as Amazon adjust their offering and we take no responsibility for the services deployed to your own AWS account. You can read more about what services are offered in their free-tier here.
Detailed instructions on how to use this project are located in this repository's wiki.
There is also a step-by-step walkthrough video available on YouTube, which follows the setup guide in the wiki.
The project is setup to access AWS credentials in its config
and not system defaults such as ~/.aws/credentials
. If you're an experienced Terraform/AWS user you may wish to change this and can do so by modifying the providers.tf
file as per Terraform's instructions.
If doing this I suggest forking & modifying this repo instead of cloning it.
display_units
[mmol|mgl] (default: mmol) - The blood glucose level of measurement to be usedec2_ssh_public_key_path
(default: config/nightscout-ec2-key.pub) - Path to the public key to be installed on the Nightscout servergit_owner
(required) - Your GitHub usernamegit_repo
(default: cgm-remote-monitor) - The name of the GitHub Nightscout repository to connectmy_ip
(optional) - The IP address to whitelist for SSH access to the Nightscout serverport
(default: 80) - The webserver port Nightscout will operate on
nightscout_url
- The IP address for the Nightscout instance that has been created