Linode Managed PostgreSQL: networking, security, and backups #49

Closed
opened 2026-11-23 16:05:23 -05:00 by bobby · 1 comment
Owner

Part of #44

Question

What does Linode's managed PostgreSQL offering provide today? Cover available Postgres versions, plans/HA options, networking (VPC/private access vs public with IP allowlist), TLS, user/role management, backups and point-in-time restore, maintenance windows, extensions, pricing, and Terraform provider support.

Part of #44 ## Question What does Linode's managed PostgreSQL offering provide today? Cover available Postgres versions, plans/HA options, networking (VPC/private access vs public with IP allowlist), TLS, user/role management, backups and point-in-time restore, maintenance windows, extensions, pricing, and Terraform provider support.
bobby added the wayfinder:research label 2026-11-23 16:05:23 -05:00
bobby added a new dependency 2026-11-23 16:05:34 -05:00
Author
Owner

Answer (current Aiven-based generation, platform: rdbms-default; the legacy generation is being migrated away)

  • Private access: yes, through a VPC. A cluster can attach to a same-region VPC (private_network). Its hostname then resolves to a private VPC IP, and public access is off by default. Self-managed k8s nodes on Compute can join the same VPC through a VPC interface. Caveat: VPC for Managed DBs launched as beta on 2025-09-30 ("may cause disruptions in certain production environments"), and I found no GA changelog entry as of 2026-11-23.
  • Fallback: public endpoint plus IP allowlist. The ACL is deny-by-default and also applies to VPC clients, so allowlist the subnet CIDR. The LKE 10-minute auto-allowlist doesn't cover self-managed clusters.
  • TLS is mandatory (ssl_connection must be true). The CA cert is available, so verify-full works. VPC traffic itself isn't encrypted.
  • Versions: PG 15-18. Plans are shared or dedicated with 1/2/3 nodes. Three nodes gives HA with automatic failover; two nodes is dedicated-only.
  • Backups: daily, 14-day retention, PITR inside that window. Restores always create a new forked cluster. There's no off-platform export, so we'd run our own pg_dump for longer or independent retention.
  • Users: akmadmin only, no superuser, and no API for roles. App roles get created in SQL. The TF default for password_encryption is md5, so set scram-sha-256.
  • Maintenance: weekly 4-hour window (day and hour in UTC are configurable). Single-node clusters go down during it.
  • Pricing: Shared 1 GB costs $16/mo for one node or $37/mo for three.
  • Terraform: use linode_database_postgresql_v2 (v1 removed) plus linode_database_access_controls. Provider v4.10.0 supports private_network.

Context: branch research/linode-managed-postgres, file https://git.bobbypalko.com/bobby/hapi/src/branch/research/linode-managed-postgres/docs/research/linode-managed-postgres.md

## Answer (current Aiven-based generation, `platform: rdbms-default`; the legacy generation is being migrated away) - **Private access: yes, through a VPC.** A cluster can attach to a same-region VPC (`private_network`). Its hostname then resolves to a private VPC IP, and public access is off by default. Self-managed k8s nodes on Compute can join the same VPC through a VPC interface. **Caveat:** VPC for Managed DBs launched as **beta** on 2025-09-30 ("may cause disruptions in certain production environments"), and I found no GA changelog entry as of 2026-11-23. - **Fallback:** public endpoint plus IP allowlist. The ACL is deny-by-default and also applies to VPC clients, so allowlist the subnet CIDR. The LKE 10-minute auto-allowlist doesn't cover self-managed clusters. - **TLS** is mandatory (`ssl_connection` must be true). The CA cert is available, so `verify-full` works. VPC traffic itself isn't encrypted. - **Versions:** PG 15-18. Plans are shared or dedicated with 1/2/3 nodes. Three nodes gives HA with automatic failover; two nodes is dedicated-only. - **Backups:** daily, 14-day retention, PITR inside that window. Restores always create a new forked cluster. There's no off-platform export, so we'd run our own `pg_dump` for longer or independent retention. - **Users:** `akmadmin` only, no superuser, and no API for roles. App roles get created in SQL. The TF default for `password_encryption` is `md5`, so set `scram-sha-256`. - **Maintenance:** weekly 4-hour window (day and hour in UTC are configurable). Single-node clusters go down during it. - **Pricing:** Shared 1 GB costs $16/mo for one node or $37/mo for three. - **Terraform:** use `linode_database_postgresql_v2` (v1 removed) plus `linode_database_access_controls`. Provider v4.10.0 supports `private_network`. Context: branch `research/linode-managed-postgres`, file https://git.bobbypalko.com/bobby/hapi/src/branch/research/linode-managed-postgres/docs/research/linode-managed-postgres.md
bobby closed this issue 2026-11-23 16:09:19 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: bobby/hapi#49