This repository consists of Terraform scripts and Bash tools for deploying service stack for the SMAD project to Azure. Main terraform script deploys
- Eclipse Hono
- Prometheus monitoring
- Jaeger tracing
- MongoDB for device registry
- Grafana and set of dashboards
Included testing tools allow setting up and testing deployed Hono instance.
More in-depth setup and configuration can be found at SETUP.md
Architectural description of the codebase can be found at ARCHITECTURE.md
- Create Terraform State storage group and account to Azure
$ terraform apply ./modules/tf_state_storage_azure
- Remember to edit
main.tf
email variable to a real one for TLS certificate - Deploy main service stack
$ terraform apply ./
- Create separate resource group for databases
$ terraform apply ./modules/storage_rg
- Deploy with
use_separate_storage_rg=true
$ terraform apply -var=use_separate_storage_rg=true ./
After deployment you can use following url for accessing services and adapters {terraform-workspace}.westeurope.cloudapp.azure.com
Hono registry: {terraform-workspace}.westeurope.cloudapp.azure.com/registry
Grafana: {terraform-workspace}.westeurope.cloudapp.azure.com/grafana
Jaeger: {terraform-workspace}.westeurope.cloudapp.azure.com/jaeger
This project was created by student group called SMADYASP, from University Of Oulu, Finland