# Databases

## Enroll your first database

The Teleport Database Service provides secure database access with short-lived certificates via SSO, RBAC with Access Requests, and audit logs. Improve access control and visibility while centralizing management across infrastructure.

[Get started with database access](https://goteleport.com/docs/enroll-resources/database-access/getting-started.md)

[Enroll your first database](https://www.youtube.com/embed/rPX_973PoW8)

#### [Access control](https://goteleport.com/docs/rbac)

Apply RBAC to databases for users to access required data.

#### [Troubleshooting](https://goteleport.com/docs/troubleshooting)

Common Database access issues with Teleport and their solutions.

## Enrolling databases

- ### [AWS databases](https://goteleport.com/docs/enroll-resources/database-access/enrollment/aws.md)

  Enroll and protect AWS managed databases.

  - [DocumentDB](https://goteleport.com/docs/enroll-resources/database-access/enrollment/aws/aws-docdb.md)
  - [DynamoDB](https://goteleport.com/docs/enroll-resources/database-access/enrollment/aws/aws-dynamodb.md)
  - [ElastiCache for Redis and Valkey](https://goteleport.com/docs/enroll-resources/database-access/enrollment/aws/redis-aws.md)
  - [MemoryDB](https://goteleport.com/docs/enroll-resources/database-access/enrollment/aws/aws-memorydb.md)
  - [ElastiCache Serverless for Redis and Valkey](https://goteleport.com/docs/enroll-resources/database-access/enrollment/aws/elasticache-serverless.md)
  - [Keyspaces (Apache Cassandra)](https://goteleport.com/docs/enroll-resources/database-access/enrollment/aws/aws-cassandra-keyspaces.md)
  - [OpenSearch](https://goteleport.com/docs/enroll-resources/database-access/enrollment/aws/aws-opensearch.md)
  - [RDS Oracle](https://goteleport.com/docs/enroll-resources/database-access/enrollment/aws/rds/rds-oracle.md)
  - [RDS Proxy MySQL](https://goteleport.com/docs/enroll-resources/database-access/enrollment/aws/rds-proxy/rds-proxy-mysql.md)
  - [RDS Proxy for PostgreSQL](https://goteleport.com/docs/enroll-resources/database-access/enrollment/aws/rds-proxy/rds-proxy-postgres.md)
  - [RDS Proxy for Microsoft SQL Server](https://goteleport.com/docs/enroll-resources/database-access/enrollment/aws/rds-proxy/rds-proxy-sqlserver.md)
  - [RDS and Aurora](https://goteleport.com/docs/enroll-resources/database-access/enrollment/aws/rds.md)
  - [RDS for SQL Server](https://goteleport.com/docs/enroll-resources/database-access/enrollment/aws/rds/sql-server-ad.md)
  - [Redshift Serverless](https://goteleport.com/docs/enroll-resources/database-access/enrollment/aws/redshift-serverless.md)
  - [Redshift](https://goteleport.com/docs/enroll-resources/database-access/enrollment/aws/postgres-redshift.md)

- ### [Azure databases](https://goteleport.com/docs/enroll-resources/database-access/enrollment/azure.md)

  Enroll and protect Azure managed databases.

  - [Azure SQL Server](https://goteleport.com/docs/enroll-resources/database-access/enrollment/azure/azure-sql-server-ad.md)
  - [Azure Database for PostgreSQL](https://goteleport.com/docs/enroll-resources/database-access/enrollment/azure/azure-postgres-mysql.md)
  - [Azure Redis](https://goteleport.com/docs/enroll-resources/database-access/enrollment/azure/azure-redis.md)

- ### [Google Cloud databases](https://goteleport.com/docs/enroll-resources/database-access/enrollment/google-cloud.md)

  Protect and enroll databases hosted on Google Cloud.

  - [PostgreSQL](https://goteleport.com/docs/enroll-resources/database-access/enrollment/google-cloud/postgres-cloudsql.md)
  - [MySQL](https://goteleport.com/docs/enroll-resources/database-access/enrollment/google-cloud/mysql-cloudsql.md)
  - [Cloud Spanner](https://goteleport.com/docs/enroll-resources/database-access/enrollment/google-cloud/spanner.md)
  - [AlloyDB](https://goteleport.com/docs/enroll-resources/database-access/enrollment/google-cloud/alloydb.md)

- ### [Managed databases](https://goteleport.com/docs/enroll-resources/database-access/enrollment/managed.md)

  Protect and enroll databases managed as a dedicated cloud platform.

  - [MongoDB Atlas](https://goteleport.com/docs/enroll-resources/database-access/enrollment/managed/mongodb-atlas.md)
  - [Oracle Exadata](https://goteleport.com/docs/enroll-resources/database-access/enrollment/managed/oracle-exadata.md)
  - [Snowflake](https://goteleport.com/docs/enroll-resources/database-access/enrollment/managed/snowflake.md)

- ### [Self-hosted databases](https://goteleport.com/docs/enroll-resources/database-access/enrollment/self-hosted.md)

  Protect and enroll self-hosted databases.

  - [Cassandra and ScyllaDB](https://goteleport.com/docs/enroll-resources/database-access/enrollment/self-hosted/cassandra-self-hosted.md)
  - [Clickhouse](https://goteleport.com/docs/enroll-resources/database-access/enrollment/self-hosted/clickhouse-self-hosted.md)
  - [CockroachDB](https://goteleport.com/docs/enroll-resources/database-access/enrollment/self-hosted/cockroachdb-self-hosted.md)
  - [Elastic](https://goteleport.com/docs/enroll-resources/database-access/enrollment/self-hosted/elastic.md)
  - [MongoDB](https://goteleport.com/docs/enroll-resources/database-access/enrollment/self-hosted/mongodb-self-hosted.md)
  - [MySQL](https://goteleport.com/docs/enroll-resources/database-access/enrollment/self-hosted/mysql-self-hosted.md)
  - [Oracle](https://goteleport.com/docs/enroll-resources/database-access/enrollment/self-hosted/oracle-self-hosted.md)
  - [PostgreSQL](https://goteleport.com/docs/enroll-resources/database-access/enrollment/self-hosted/postgres-self-hosted.md)
  - [Redis Cluster](https://goteleport.com/docs/enroll-resources/database-access/enrollment/self-hosted/redis-cluster.md)
  - [Redis](https://goteleport.com/docs/enroll-resources/database-access/enrollment/self-hosted/redis.md)
  - [SQL Server with PKINIT authentication](https://goteleport.com/docs/enroll-resources/database-access/enrollment/self-hosted/sql-server-ad-pkinit.md)
  - [Vitess](https://goteleport.com/docs/enroll-resources/database-access/enrollment/self-hosted/vitess.md)

### Database automatic user provisioning

Eliminate the need for shared accounts or manually creating individual ones.

#### [PostgreSQL databases (self-hosted and Amazon RDS)](https://goteleport.com/docs/enroll-resources/database-access/auto-user-provisioning/postgres.md)

#### [MySQL databases (self-hosted and Amazon RDS)](https://goteleport.com/docs/enroll-resources/database-access/auto-user-provisioning/mysql.md)

#### [MariaDB databases (self-hosted and Amazon RDS)](https://goteleport.com/docs/enroll-resources/database-access/auto-user-provisioning/mariadb.md)

#### [Amazon Redshift databases](https://goteleport.com/docs/enroll-resources/database-access/auto-user-provisioning/aws-redshift.md)

#### [MongoDB databases (self-hosted)](https://goteleport.com/docs/enroll-resources/database-access/auto-user-provisioning/mongodb.md)

### Deployment configuration

Configurations for deploying the Teleport Database Service

- #### [High availability](https://goteleport.com/docs/enroll-resources/agents/high-availability.md)

  Deploy multiple instances of the Teleport Database Service to proxy the same set of databases.

- #### [Dynamic registration](https://goteleport.com/docs/enroll-resources/database-access/guides/dynamic-registration.md)

  Add or remove databases without redeploying the Database Service.

- #### [Health checks](https://goteleport.com/docs/enroll-resources/database-access/guides/health-checks.md)

  Configure Teleport database health checks and quickly spot issues.

- #### [Auto-discovery](https://goteleport.com/docs/enroll-resources/auto-discovery/databases.md)

  Automatically discover and enroll databases from cloud providers.
