Skip to content

Terraform module to install Nightscout on AWS using free-tier infrastructure

License

Notifications You must be signed in to change notification settings

dgrebb/terraform-aws-nightscout

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform for Nightscout running on AWS (free-tier)

License: MIT

Description

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.

Installation

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.

Terraform details

Inputs

  • display_units [mmol|mgl] (default: mmol) - The blood glucose level of measurement to be used
  • ec2_ssh_public_key_path (default: config/nightscout-ec2-key.pub) - Path to the public key to be installed on the Nightscout server
  • git_owner (required) - Your GitHub username
  • git_repo (default: cgm-remote-monitor) - The name of the GitHub Nightscout repository to connect
  • my_ip (optional) - The IP address to whitelist for SSH access to the Nightscout server
  • port (default: 80) - The webserver port Nightscout will operate on

Outputs

  • nightscout_url - The IP address for the Nightscout instance that has been created

About

Terraform module to install Nightscout on AWS using free-tier infrastructure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 80.7%
  • Shell 19.3%