ctberthiaume / rockserve

Webhook server to receive RockBLOCK short burst data messages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rockserve is a webhook endpoint server for RockBLOCK short burst data messages sent over the Iridium satellite network.

Message processing has been customized for the PipeCyte project at the University of Washington. Parsed messages can be sent along to a downstream Prometheus server for visualization.

The server can be easily deployed on AWS EC2 using terraform.

Build

Build a linux binary

GOOS=linux GOARCH=amd64 go build -o rockserve.linux-amd64 main.go

Run

rockserve --address :8080 --prometheus

Deploy

Install Terraform.

Make a copy of env-template.sh, let's say to env.sh, edit with appropriate values, then source the file to set up your environment.

source env.sh

Then deploy with terraform

terraform plan
terraform apply

To bring the server down

terraform destroy

About

Webhook server to receive RockBLOCK short burst data messages

License:MIT License


Languages

Language:Go 48.1%Language:Shell 31.4%Language:HCL 20.5%