# Source: https://docs.datadoghq.com/database_monitoring/setup_postgres.md

---
title: Setting up Postgres
description: Setting up Database Monitoring on a Postgres database
breadcrumbs: Docs > Database Monitoring > Setting up Postgres
---

# Setting up Postgres

### Postgres versions supported{% #postgres-versions-supported %}

| Version      | Self-hosted | Amazon RDS | Amazon Aurora | Google Cloud SQL | Google AlloyDB | Azure | Supabase |
| ------------ | ----------- | ---------- | ------------- | ---------------- | -------------- | ----- | -------- |
| Postgres 9.6 | yes         | yes        | yes           | yes              |
| Postgres 10  | yes         | yes        | yes           | yes              | yes            |
| Postgres 11  | yes         | yes        | yes           | yes              | yes            |
| Postgres 12  | yes         | yes        | yes           | yes              | yes            |
| Postgres 13  | yes         | yes        | yes           | yes              | yes            |
| Postgres 14  | yes         | yes        | yes           | yes              | yes            | yes   | yes      |
| Postgres 15  | yes         | yes        | yes           | yes              | yes            | yes   | yes      |
| Postgres 16  | yes         | yes        | yes           | yes              | yes            | yes   |
| Postgres 17  | yes         | yes        | yes           | yes              | yes            |

### Setup instructions by hosting type{% #setup-instructions-by-hosting-type %}

To learn how to set up Database Monitoring on a Postgres database, select your hosting type:

- [Selfhosted](https://docs.datadoghq.com/database_monitoring/setup_postgres/selfhosted)
- [RDS](https://docs.datadoghq.com/database_monitoring/setup_postgres/rds)
- [Aurora](https://docs.datadoghq.com/database_monitoring/setup_postgres/aurora)
- [Google Cloud SQL](https://docs.datadoghq.com/database_monitoring/setup_postgres/gcsql)
- [Google Cloud SQL](https://docs.datadoghq.com/database_monitoring/setup_postgres/alloydb)
- [PostgreSQL](https://docs.datadoghq.com/database_monitoring/setup_postgres/azure)
- [PostgreSQL](https://docs.datadoghq.com/database_monitoring/setup_postgres/heroku)