This repository holds the necessary Terraform code to spin up an instance of the COVID Trace backend infrastructure. Many values would need to be replaced, for example references to Google Cloud project/region, bucket names, and likely many others. This is a good starting place, however.
COVID Trace depends heavily on Google Cloud Platform components. As such, deploying to a different cloud provider will require both code changes and architectural changes.
Services are deployed from the code in the repositories below. In general, services are built into Docker containers and executed using Google Cloud Run. This provides an exceedingly simple way to run scalable stateless services.
- covidtrace/aggregator
- covidtrace/operator
- covidtrace/notary
- covidtrace/proxy (technically optional, though highly recommended for safety)
Fork this repository, modify the configuration values accordingly, and terraform apply
. You will likely have to enable many Google services and APIs in the process.