
Building a Centralized Data Catalog, Governance, and Lineage Platform
Explore how to deploy OpenMetadata on AWS and build a centralized data catalog for your environment. This hands-on guide covers cloud-native architecture, metadata ingestion, data discovery, lineage, governance, and data quality, integrating services such as Amazon S3, Redshift, RDS, AWS Glue, and OpenSearch.
Modern cloud environments generate enormous amounts of data across databases, data warehouses, object storage, analytics platforms, and data pipelines.
As organizations adopt cloud-native architectures, managing data becomes increasingly complex. Data is distributed across multiple services, teams use different tools, and understanding where information originates or how it is consumed can become a significant challenge.
Questions that should be easy to answer often require significant investigation:
- Where is a particular dataset stored?
- Who owns and maintains a database table?
- Which dashboards depend on a specific data source?
- What happens if a database schema changes?
- How can we identify data quality problems?
- Which datasets contain sensitive information?
This is where OpenMetadata comes into the picture.
OpenMetadata is an open-source platform that provides a centralized approach to metadata management, data discovery, governance, data quality, and lineage.
Instead of navigating multiple systems to understand the data landscape, teams can use a unified platform to discover data assets, understand their relationships, and establish ownership and governance.
In this article, we'll explore how to introduce OpenMetadata into an AWS environment and build a scalable, cloud-native metadata management platform.
1. What is OpenMetadata?
OpenMetadata is an open-source metadata platform designed to bring data assets and their associated context into one centralized location.
It provides a unified interface for discovering, understanding, and managing data across different technologies.
Its main capabilities include:
Data Discovery
- Centralized data catalog.
- Search across databases, tables, dashboards, and pipelines.
- Technical and business metadata.
- Data ownership and documentation.
Data Lineage
- Table-level lineage.
- Column-level lineage.
- Upstream and downstream dependencies.
- Impact analysis for data changes.
Data Governance
- Data classification and tagging.
- Ownership and domain management.
- Business glossary.
- Access policies and governance workflows.
Data Quality and Observability
- Data profiling.
- Data quality tests.
- Freshness monitoring.
- Data health indicators.
Integrations
OpenMetadata supports integrations across databases, storage platforms, messaging systems, BI tools, and data orchestration technologies.
This makes it particularly useful in environments where data is distributed across multiple cloud services.
2. Why OpenMetadata on AWS?
AWS provides a broad ecosystem of services for building modern data platforms.
A typical architecture might include:
- Amazon S3 for object storage and data lakes.
- Amazon Redshift for analytical workloads.
- Amazon RDS for relational databases.
- AWS Glue for data cataloging and ETL.
- Amazon Athena for querying data in S3.
- Amazon EKS for containerized applications.
Each service maintains information about its own resources, but organizations still need a unified view across these systems.
OpenMetadata provides that central metadata layer.
The goal is not to replace AWS services such as Glue Data Catalog. Instead, it is to connect information from different systems and make it accessible through a common discovery and governance experience.
3. Reference Architecture on AWS
For a production-oriented deployment, I would use Amazon EKS as the application platform and managed AWS services for persistent infrastructure.
Architecture components
Component | AWS service | Responsibility |
|---|---|---|
Application platform | Amazon EKS | Runs OpenMetadata |
Metadata database | Amazon RDS PostgreSQL | Stores metadata |
Search engine | Amazon OpenSearch Service | Metadata indexing and search |
Object storage | Amazon S3 | Data lake metadata discovery |
Data warehouse | Amazon Redshift | Warehouse metadata |
Data catalog | AWS Glue | Data catalog integration |
Data ingestion | Kubernetes Jobs | Executes ingestion workflows |
Identity and access | IAM / AWS Secrets Manager | Secure access and credentials |
Network | VPC / Private Subnets | Private connectivity |
Logical architecture
flowchart TB subgraph AWS["AWS Cloud"] subgraph DATA["Data Sources"] S3["Amazon S3"] RED["Amazon Redshift"] RDS["Amazon RDS"] GLUE["AWS Glue"] ATH["Amazon Athena"] end
subgraph EKS["Amazon EKS"] ING["Metadata Ingestion Jobs"] OM["OpenMetadata Server"] UI["OpenMetadata UI"] end
PG["Amazon RDS PostgreSQL"] OS["Amazon OpenSearch Service"] SM["AWS Secrets Manager"] end
DATA --> ING ING --> OM UI --> OM OM --> PG OM --> OS ING --> SM OM --> SMThe architecture separates the application layer from the persistence and search layers.
This provides better control over scaling, availability, security, and maintenance.
4. Deploying OpenMetadata on Amazon EKS
The deployment uses Kubernetes and Helm.
For production environments, I recommend using external database and search services instead of relying on bundled dependency containers.
Step 1: Create the Kubernetes namespace
kubectl create namespace openmetadataStep 2: Add the Helm repository
helm repo add open-metadata \ https://helm.open-metadata.org/
helm repo updateStep 3: Prepare production configuration
Create an
openmetadata-values.yaml file.The following is a configuration outline. Database and search authentication values should be supplied through Kubernetes Secrets rather than committed to Git.
openmetadata: config: database: host: <RDS_ENDPOINT> port: 5432 driverClass: org.postgresql.Driver dbScheme: postgresql dbUseSSL: true databaseName: openmetadata
auth: username: <DATABASE_USERNAME> password: secretRef: openmetadata-postgresql-secrets secretKey: openmetadata-postgresql-password
elasticsearch: host: <OPENSEARCH_ENDPOINT> port: 443 scheme: https searchType: opensearchThe exact values and authentication configuration must match the OpenMetadata release and AWS search-service compatibility requirements.
Step 4: Configure Kubernetes Secrets
For an initial deployment, Kubernetes Secrets can hold database credentials:
kubectl create secret generic \ openmetadata-postgresql-secrets \ --namespace openmetadata \ --from-literal=openmetadata-postgresql-password='<PASSWORD>'For production, integrate with AWS Secrets Manager using External Secrets Operator or another approved secret-delivery mechanism.
Avoid placing credentials directly in Helm values, Terraform state, or Git repositories.
Step 5: Deploy OpenMetadata
helm upgrade --install openmetadata \ open-metadata/openmetadata \ --namespace openmetadata \ --values openmetadata-values.yamlPin the Helm chart and application versions in a real deployment, and verify the external database and OpenSearch versions against the selected release's compatibility matrix.
Step 6: Validate the deployment
kubectl get pods -n openmetadata
kubectl get svc -n openmetadata
kubectl get events \ -n openmetadata \ --sort-by=.lastTimestampCheck the application health endpoint:
kubectl port-forward \ svc/openmetadata 8585:8585 \ -n openmetadataThen access:
http://localhost:8585For production, expose the application through an internal or appropriately protected ingress endpoint with TLS.
5. Connecting AWS Data Sources
Once OpenMetadata is running, the next step is connecting data sources.
This is where the platform starts delivering value.
Amazon Redshift
Connect Redshift to discover:
- Databases.
- Schemas.
- Tables and columns.
- Table descriptions.
- Query usage.
- Data lineage where supported and configured.
Amazon S3
Connect S3 to discover data lake assets and supported file formats, including:
- Parquet.
- CSV.
- JSON.
- TSV.
Use a dedicated IAM role with only the permissions required for the selected buckets and ingestion workflows.
AWS Glue
AWS Glue integration helps collect metadata about catalog databases, tables, and supported ETL workflows.
This allows teams to connect information from their data catalog and processing environment.
Amazon RDS
Connect supported relational database engines to collect database, schema, table, and column metadata.
For each integration, create a dedicated service identity instead of reusing administrative credentials.
6. Understanding Data Lineage
One of the most valuable features of OpenMetadata is data lineage.
Data lineage provides visibility into how data moves between systems and how different data assets depend on each other.
Consider the following example:
Amazon S3 | vAWS Glue ETL | vAmazon Redshift | vCustomer Analytics Table | vBusiness Intelligence DashboardWith lineage information, engineers and data teams can understand:
- Where the data originated.
- Which transformations were applied.
- Which downstream tables depend on it.
- Which dashboards may be affected by a change.
This becomes particularly important when operating large data platforms with multiple teams and independently maintained pipelines.
Instead of investigating dependencies manually, engineers can use lineage and impact analysis to understand the potential consequences of a change.
7. Data Governance and Ownership
A centralized data catalog is useful, but a catalog without governance quickly becomes another documentation system that nobody maintains.
OpenMetadata provides capabilities for assigning ownership, organizing assets into domains, defining business terminology, and applying classifications.
For example:
Data asset | Owner | Classification |
|---|---|---|
Customers | Customer Data Team | Confidential |
Transactions | Payments Team | Restricted |
Analytics | BI Team | Internal |
Product Events | Platform Team | Internal |
This establishes accountability and helps organizations understand the business context behind technical data assets.
It is also important to remember that metadata classification does not automatically enforce access restrictions in the underlying databases. Database permissions and AWS IAM policies must still be enforced independently.
8. Security and Operational Best Practices
For production deployments on AWS, I recommend considering the following:
Network Security
- Run EKS workloads in private subnets.
- Keep RDS and OpenSearch endpoints private.
- Restrict security group access to required application and ingestion workloads.
- Expose the UI through an authenticated endpoint.
Identity and Access Management
- Use dedicated IAM roles for AWS integrations.
- Prefer EKS Pod Identity or IAM Roles for Service Accounts where supported.
- Apply least-privilege policies.
- Avoid long-lived AWS access keys.
Secrets Management
- Use AWS Secrets Manager.
- Integrate secrets with Kubernetes through a controlled mechanism.
- Avoid storing credentials in Git or Helm values.
High Availability
- Deploy application replicas across availability zones where supported.
- Use Multi-AZ RDS.
- Configure appropriate OpenSearch availability and capacity.
- Establish database backup and recovery procedures.
Monitoring
- Monitor application health.
- Track ingestion failures and execution duration.
- Monitor database connections and resource utilization.
- Monitor OpenSearch cluster health and indexing performance.
- Integrate application logs and metrics with your existing observability stack.
Lifecycle Management
- Pin application and Helm chart versions.
- Test upgrades in a non-production environment.
- Back up the metadata database before upgrades.
- Validate migrations and search indexing after upgrades.
9. What Does This Architecture Deliver?
Introducing OpenMetadata creates a centralized metadata management capability across the data platform.
The expected operational benefits include:
- Improved data discovery: Teams can locate datasets without searching through multiple systems.
- Better visibility: Engineers can understand relationships between databases, pipelines, and dashboards.
- Faster impact analysis: Lineage helps identify downstream dependencies before making changes.
- Clear ownership: Data assets can be associated with responsible teams.
- Stronger governance: Classifications, documentation, and policies help establish consistent data management practices.
- Improved data quality visibility: Profiling and tests provide additional context about data health.
These outcomes depend on connector coverage, ingestion frequency, metadata quality, and organizational adoption.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article