<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/borealis-isolated-postgres-serious-database-security-for-the-common-runtime-jkgh2ppda" -->

---
title: Borealis Isolated Postgres: Serious Database Security...
description: Borealis Isolated Postgres brings network-isolated PostgreSQL to apps running on Heroku's Common Runtime. Each database cluster runs in its own VPC that blocks...
canonical: https://daily.dev/posts/borealis-isolated-postgres-serious-database-security-for-the-common-runtime-jkgh2ppda
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Borealis Isolated Postgres: Serious Database Security for the Common Runtime | daily.dev
og:description: Borealis Isolated Postgres brings network-isolated PostgreSQL to apps running on Heroku's Common Runtime. Each database cluster runs in its own VPC that blocks...
og:url: https://daily.dev/posts/borealis-isolated-postgres-serious-database-security-for-the-common-runtime-jkgh2ppda
og:image: https://api.daily.dev/og/posts/JkGh2pPDA.png
og:image:alt: Borealis Isolated Postgres: Serious Database Security for the Common Runtime
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Borealis Isolated Postgres: Serious Database Security for the Common Runtime

**[Heroku](https://daily.dev/sources/heroku)** · 6 min read · 0 upvotes · 0 comments

## Summary

Borealis Isolated Postgres brings network-isolated PostgreSQL to apps running on Heroku's Common Runtime. Each database cluster runs in its own VPC that blocks all incoming traffic by default. Access comes through three channels: a buildpack that auto-tunnels app dynos, a CLI plugin with commands like 'heroku borealis-pg:tunnel' and 'heroku borealis-pg:psql', and SSH port forwarding for third-party ETL tools. Security measures include TLS 1.2+ encryption, AES-256 encryption at rest, weekly credential rotation for apps, and per-add-on SSH servers with Fail2ban and SELinux.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.heroku.com/blog/borealis-isolated-postgres>

## Questions this post answers

### How can I get network-isolated PostgreSQL on Heroku without switching to Private Spaces?

Borealis Isolated Postgres provisions each database cluster inside its own VPC that blocks all incoming traffic by default, while still allowing access from Heroku Common Runtime apps. Access is handled through a custom buildpack that auto-establishes a secure tunnel using the existing DATABASE_URL config var, so no code changes are typically needed.

_Developers weighing database isolation options on Heroku can keep track of add-ons like this through daily.dev._

### How do I connect to a Heroku database add-on from my local machine for admin tasks?

With Borealis Isolated Postgres, a CLI plugin integrated into the Heroku CLI lets you create a temporary secure tunnel using commands like 'heroku borealis-pg:tunnel' and 'heroku borealis-pg:psql'. Install it with 'heroku plugins:install borealis-pg-cli'. Connections are read-only by default, but you can pass '--write-access' to allow writes.

_Engineers scripting database access workflows can follow tooling updates like this one on daily.dev._

### What encryption and credential rotation does Heroku's Borealis Postgres add-on provide?

It encrypts all network traffic with TLS 1.2 or higher and encrypts data at rest with AES-256. Heroku app credentials rotate weekly with old credentials invalidated, and every CLI connection issues a brand new, temporary set of database credentials rather than reusing static ones.

_Teams evaluating database security baselines can compare add-on specifics like these via daily.dev._

## Similar posts on daily.dev

- [Announcing Amazon Aurora PostgreSQL serverless database creation in seconds](https://daily.dev/posts/announcing-amazon-aurora-postgresql-serverless-database-creation-in-seconds-mjuwmvc5e) · AWS · 0 upvotes · 0 comments
- [A New Era for Managed Databases: Announcing Heroku Postgres Advanced](https://daily.dev/posts/a-new-era-for-managed-databases-announcing-heroku-postgres-advanced-eacmehfge) · Heroku · 0 upvotes · 0 comments
- [PostgreSQL 18 on Amazon Aurora and Amazon RDS: Security, monitoring, and developer enhancements](https://daily.dev/posts/postgresql-18-on-amazon-aurora-and-amazon-rds-security-monitoring-and-developer-enhancements-9ik7lifyc) · AWS Database Blog · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#aws](https://daily.dev/tags/aws), [#postgresql](https://daily.dev/tags/postgresql), [#heroku](https://daily.dev/tags/heroku)

[View this post on daily.dev](https://daily.dev/posts/borealis-isolated-postgres-serious-database-security-for-the-common-runtime-jkgh2ppda)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Borealis Isolated Postgres: Serious Database Security for the Common Runtime","url":"https://daily.dev/posts/borealis-isolated-postgres-serious-database-security-for-the-common-runtime-jkgh2ppda","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/borealis-isolated-postgres-serious-database-security-for-the-common-runtime-jkgh2ppda"},"datePublished":"2026-11-20T17:39:45.747Z","dateModified":"2026-11-20T17:40:14.226Z","description":"Borealis Isolated Postgres brings network-isolated PostgreSQL to apps running on Heroku's Common Runtime. Each database cluster runs in its own VPC that blocks...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/2f6c471c89a0d3dc35c8f49e6e1840bd?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/2f6c471c89a0d3dc35c8f49e6e1840bd?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Heroku","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Heroku","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/5211c8775c204d88836fcbf15d73b1b5","url":"https://daily.dev/sources/heroku"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/borealis-isolated-postgres-serious-database-security-for-the-common-runtime-jkgh2ppda","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,aws,postgresql,heroku","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Heroku","item":"https://daily.dev/sources/heroku"},{"@type":"ListItem","position":3,"name":"Borealis Isolated Postgres: Serious Database Security for the Common Runtime"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/borealis-isolated-postgres-serious-database-security-for-the-common-runtime-jkgh2ppda#faq","mainEntity":[{"@type":"Question","name":"How can I get network-isolated PostgreSQL on Heroku without switching to Private Spaces?","acceptedAnswer":{"@type":"Answer","text":"Borealis Isolated Postgres provisions each database cluster inside its own VPC that blocks all incoming traffic by default, while still allowing access from Heroku Common Runtime apps. Access is handled through a custom buildpack that auto-establishes a secure tunnel using the existing DATABASE_URL config var, so no code changes are typically needed. Developers weighing database isolation options on Heroku can keep track of add-ons like this through daily.dev."}},{"@type":"Question","name":"How do I connect to a Heroku database add-on from my local machine for admin tasks?","acceptedAnswer":{"@type":"Answer","text":"With Borealis Isolated Postgres, a CLI plugin integrated into the Heroku CLI lets you create a temporary secure tunnel using commands like 'heroku borealis-pg:tunnel' and 'heroku borealis-pg:psql'. Install it with 'heroku plugins:install borealis-pg-cli'. Connections are read-only by default, but you can pass '--write-access' to allow writes. Engineers scripting database access workflows can follow tooling updates like this one on daily.dev."}},{"@type":"Question","name":"What encryption and credential rotation does Heroku's Borealis Postgres add-on provide?","acceptedAnswer":{"@type":"Answer","text":"It encrypts all network traffic with TLS 1.2 or higher and encrypts data at rest with AES-256. Heroku app credentials rotate weekly with old credentials invalidated, and every CLI connection issues a brand new, temporary set of database credentials rather than reusing static ones. Teams evaluating database security baselines can compare add-on specifics like these via daily.dev."}}]}
```

