Data Galaxy Foundation
BigObject's existing product, Data Planet, runs on premises at each installation. As the first engineer on a new cloud team, I built the identity, analytics, and deployment base for its connected cloud service, Data Galaxy.
How each installation sees only its own data
Blue boxes are what I built. Follow the token from the embedded report down to PostgreSQL, then the release path at the bottom.
1Tenant scope comes from the token, inside our API
- Chose
- Shared Django middleware validates the Keycloak bearer token and derives the tenant from its claims. The embedded Looker Studio report passes a tenant JWT through a community connector to the same API.
- Instead of
- Trusting a tenant identifier in each request, or giving every customer a Google account.
- Result
- A caller cannot reach another installation's metrics through request parameters. Later cloud services can reuse the same access pattern.
2Metrics stay in PostgreSQL
- Chose
- PostgreSQL as the system of record for events, identities, and daily metrics, read only through the authenticated API.
- Instead of
- Copying metrics into BigQuery, as my earlier Linc prototype did.
- Result
- Looker Studio stays a presentation layer. Tenant isolation is enforced in one place.
3Airflow owns ingestion and recovery
- Chose
- Airflow DAGs that move behavior logs from daily Elasticsearch indices and identity records from Keycloak into PostgreSQL, then compute daily metrics with catch-up enabled.
- Instead of
- Chained cron jobs, like the Linc pipeline I worked on before.
- Result
- Missed days catch up through the same tasks.
4Releases do not depend on one machine
- Chose
- Container image builds, a registry, and Ansible paths per environment for the web portal, Keycloak, Data Galaxy, the analytics stack, and Data Planet deployments.
- Instead of
- Deploying from one engineer's machine.
- Result
- The two engineers I mentored continued the system after the handoff.
StackAWS, Python, Django, Keycloak, OAuth2/OIDC, Apache Airflow, PostgreSQL, Elasticsearch, Docker, Ansible, Looker Studio
Full records: identity, deployment, analytics
Authenticated Data Galaxy API
Established a Keycloak-backed Django service boundary for installation identities and tenant-scoped metric queries.
- Problem
- Existing on-premises installations needed access to new cloud services without trusting a tenant identifier supplied in each request or creating a separate authorization model for every API.
- Implementation
- Registered installation identities and service roles in Keycloak, validated OAuth2 bearer tokens in shared Django middleware, derived tenant scope from token claims, and enforced that boundary on the analytics API.
- Reasoning
- Keeping identity, service permissions, and tenant selection in one boundary prevented callers from querying another installation through request parameters alone and gave future cloud services a reusable access pattern.
- Outcome
- Established the authenticated service path used by the prelaunch analytics and BI flows.
AWS environments and repeatable deployment
Established repeatable release paths across AWS-hosted cloud services and connected Data Planet environments using Docker, Ansible, environment inventories, and a container registry.
- Problem
- The new team had to operate a web portal, Keycloak, Data Galaxy, analytics services, and existing installation deployments across multiple environments before the platform or team had stabilized.
- Implementation
- Created environment-specific Ansible paths for the portal, Keycloak, and Data Planet, containerized Data Galaxy and the analytics stack, and separated image build and registry promotion from staging and production-oriented deployment configuration.
- Reasoning
- Encoding service allocation and environment differences made releases reviewable and reproducible instead of depending on one engineer's machine during a fixed four-month engagement.
- Outcome
- Left a deployment foundation that the incoming engineers could continue after the handoff.
Tenant-scoped analytics proof of concept
Validated an end-to-end path from behavior logs and identity data to embedded, tenant-isolated BI without requiring customer Google accounts or moving metrics into BigQuery.
- Problem
- The new cloud service needed to prove it could produce useful per-installation metrics and expose them safely through an embedded report before the product launched.
- Implementation
- Built Airflow DAGs that moved Elasticsearch behavior logs and Keycloak identity records into PostgreSQL, calculated daily metrics with catch-up enabled, exposed them through the authenticated Django API, and passed an embedded tenant JWT through a Looker Studio community connector.
- Reasoning
- Airflow owned scheduling and recovery, PostgreSQL remained the system of record, and the authenticated API enforced tenant isolation while Looker Studio stayed a presentation layer.
- Outcome
- Completed the prelaunch analytics path and validated the BI access mechanism.
- Operating context
- Prelaunch cloud foundation, Fixed four-month delivery window, Development, staging, and production-oriented paths
- Role
- Software Engineer, first engineer on the new cloud-product team
- Ownership
- The authenticated Django service boundary, cloud environments and deployment automation, and an end-to-end tenant-scoped analytics proof of concept.
Where the idea started
At Linc I prototyped a tenant-aware Looker Studio path. Here I built that path with metrics kept behind our own authenticated API.