Airborne - real time flights
The fetcher is a lambda function that periodically fetches current flight info from the Opensky Network and writes these flight states to Dynamo.
The provider is a chalice microservice that serves these results on demand, with CORS enabled.
The infrastructure directory contains a simple Terraform config to define the flight states Dynamo table.
Install apex, chalice, terraform
Deploy the fetcher lambda
cd fetcher apex init apex deploy
Add dynamo db full access to lambda role
Add CloudWatch timer trigger to lambda
Deploy the chalice microservice
cd provider chalice deploy
- Use terraform to define CloudWatch event rule, Lambda trigger, Lambda role
- Store and display historical flight states, not just current