Skip to content

Features DB Read Replica for External Tools #430

@anayeaye

Description

@anayeaye

What

This ticket is to provide a persistent document of a RDS read replica maintained by the VEDA Data Services Team and depended upon by users of external systems built on direct database connections. This will hopefully be a way to coordinate user and maintainer needs as well as prevent unexpected outages while dependencies exist.

Contacts

Team Contact
Fire Tracking Lab @mccabete, @eorland, @zebbecker
VEDA @brianna-corremonte, @smohiudd, @anayeaye

Summary

This database is a read replica of the RDS instance maintained for the VEDA Features API

The database is updated by an automated airflow DAG when new files are uploaded to staging bucket using (this step of the vector ingest DAG for details). The source files are generated in the MAAP DPS.

Some possible long term options

The data services team will maintain the RDS and loading infrastructure for the short term while longer term decisions are made. There are a couple of longer term options that should be considered (and other ideas should be raised).

  1. The services built on direct database access transition to using the OGC Features API/Tiles API (this lets the owning team continue standard operations including redirecting urls to new backends when legacy systems are replaced).
  2. The Wildfire Tracking Lab team or ESRI team deploys a copy of the TiPg backend and Airflow system to persist an in-account database for the ESRI tooling. Both projects have open source code that includes IAC for standing up the database and services in an AWS account.

Actions

  • Stakeholders and developer sync on migration to OGC APIs (are there TiPg changes that would support this??) and yearly fires record reset in Nov/Dec 2025
  • Stakeholders and developer sync to plan sunsetting this temporary solution Jan/Feb 2026

Internal Notes:

  • This read replica is hosted in smce-veda us-west-2
  • The Manually creating a read replica database section of the operations wiki describes how the replica was created and configured
  • The connection parameters are stored in the AWS Secrets Manager veda-featuresdb-read-replica-1adbtW

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions