# \#databases

**URL:** https://community.fly.io/tag/databases/42.md

[Latest](https://community.fly.io/latest.md) · [Categories](https://community.fly.io/categories.md) · [Tags](https://community.fly.io/tags.md)

---

## [Running MariaDB on Fly?](https://community.fly.io/t/running-mariadb-on-fly/28135)

<div class="topic-metadata">

**Author:** [@c111](https://community.fly.io/u/c111)\
**Replies:** 10\
**Last updated:** [June 22, 2026, 6:55am UTC](https://community.fly.io/t/running-mariadb-on-fly/28135 "2026-06-22T06:55:52Z")

</div>

Hi folks. I’m consider running Ghost (the CMS) on Fly. And then I would need a MariaDB as the database. I could either run the db on Fly or elsewhere (a VM on AWS/DigitalOcean/whatever). I’m curious to hear your gener…

---

## [Does managed Postgres backup to the managed region?](https://community.fly.io/t/does-managed-postgres-backup-to-the-managed-region/28122)

<div class="topic-metadata">

**Author:** [@michaelglenn](https://community.fly.io/u/michaelglenn)\
**Replies:** 1\
**Last updated:** [June 17, 2026, 4:38pm UTC](https://community.fly.io/t/does-managed-postgres-backup-to-the-managed-region/28122 "2026-06-17T16:38:49Z")

</div>

For regulatory reasons I’m considering Fly.io run in yyz (Toronto, Canada) with managed Postgres. Can Fly.io confirm that automated backups for a Postgres instance in yyz are also backed up to a yyz location? Competitors…

---

## [Resized database app can't find volume](https://community.fly.io/t/resized-database-app-cant-find-volume/27910)

<div class="topic-metadata">

**Author:** [@akarpodinis](https://community.fly.io/u/akarpodinis)\
**Replies:** 4\
**Last updated:** [May 19, 2026, 10:36pm UTC](https://community.fly.io/t/resized-database-app-cant-find-volume/27910 "2026-05-19T22:36:21Z")

</div>

My postgres app recently stopped working because I hit the size limit, so I ran fly volumes extend. When I went to deploy I had to add an image, so I also added image = "postgres:16.2-bullseye" in the \[build\] section. …

---

## [IPv6 outbound from gru to Supabase 100% packet loss](https://community.fly.io/t/ipv6-outbound-from-gru-to-supabase-100-packet-loss/27739)

<div class="topic-metadata">

**Author:** [@gkpacker](https://community.fly.io/u/gkpacker)\
**Replies:** 6\
**Last updated:** [May 2, 2026, 11:20pm UTC](https://community.fly.io/t/ipv6-outbound-from-gru-to-supabase-100-packet-loss/27739 "2026-05-02T23:20:08Z")

</div>

Hi team, Since around 2026-04-28 21:27 UTC, all deploys of my Phoenix app on Fly have started failing because the BEAM can’t open new connections to my Supabase Postgres database. After investigating, the root cause is o…

---

## [Are my Fly MPG backups safe?](https://community.fly.io/t/are-my-fly-mpg-backups-safe/27732)

<div class="topic-metadata">

**Author:** [@benji](https://community.fly.io/u/benji)\
**Replies:** 1\
**Last updated:** [April 28, 2026, 1:52pm UTC](https://community.fly.io/t/are-my-fly-mpg-backups-safe/27732 "2026-04-28T13:52:22Z")

</div>

Following the news about Railway and PocketOS getting their DB and all of their backups destroyed by an agent (who would have thought); we are looking to make sure that our MPG database backups will be persisted without …

---

## [Managed Postgres - additional region support (ams, nrt, sin, sjc)](https://community.fly.io/t/managed-postgres-additional-region-support-ams-nrt-sin-sjc/25882)

<div class="topic-metadata">

**Author:** [@simon-flyio](https://community.fly.io/u/simon-flyio)\
**Replies:** 6\
**Last updated:** [March 19, 2026, 1:09pm UTC](https://community.fly.io/t/managed-postgres-additional-region-support-ams-nrt-sin-sjc/25882 "2026-03-19T13:09:39Z")

</div>

Quick note - Fly.io Managed Postgres is now available in additional regions - ams - Amsterdam, Netherlands nrt - Tokyo, Japan sin - Singapore sjc - San Jose, California (US) For reference the current list of supported…

---

## [Zombie Phoenix App](https://community.fly.io/t/zombie-phoenix-app/27257)

<div class="topic-metadata">

**Author:** [@PeteVanCoot](https://community.fly.io/u/PeteVanCoot)\
**Replies:** 2\
**Last updated:** [March 1, 2026, 7:14pm UTC](https://community.fly.io/t/zombie-phoenix-app/27257 "2026-03-01T19:14:21Z")

</div>

Evening all, I seem to have a zombie app or machine running. Only noticed it as something is handling an Oban job I have before the application does (theres some logging thats running on the new version and its not show…

---

## [Connection to DB at AWS EU Ireland](https://community.fly.io/t/connection-to-db-at-aws-eu-ireland/27199)

<div class="topic-metadata">

**Author:** [@timharding](https://community.fly.io/u/timharding)\
**Replies:** 2\
**Last updated:** [February 24, 2026, 1:13am UTC](https://community.fly.io/t/connection-to-db-at-aws-eu-ireland/27199 "2026-02-24T01:13:36Z")

</div>

Hi, we’ve just cut our app over from Heroku (Ireland hosting) to Fly in London region. Our database is at AWS in Ireland and we’re seeing 10x more latency on DB queries. Is this expected/normal? I’d have expected some …

---

## [Unable to reach Cassandra database via Flycast from another app in same org](https://community.fly.io/t/unable-to-reach-cassandra-database-via-flycast-from-another-app-in-same-org/26849)

<div class="topic-metadata">

**Author:** [@CitizenAbacus](https://community.fly.io/u/CitizenAbacus)\
**Replies:** 4\
**Last updated:** [January 16, 2026, 6:15pm UTC](https://community.fly.io/t/unable-to-reach-cassandra-database-via-flycast-from-another-app-in-same-org/26849 "2026-01-16T18:15:09Z")

</div>

Hi, all, thanks in advance for any help. I am broadening my horizons, database-wise and using Cassandra for an app I’m working on. The database uses a pretty simple Dockerfile FROM cassandra:5 COPY ./cassandra.yaml /et…

---

## [Health check for your postgres database has failed. Your database is malfunctioning](https://community.fly.io/t/health-check-for-your-postgres-database-has-failed-your-database-is-malfunctioning/26776)

<div class="topic-metadata">

**Author:** [@Swasthik](https://community.fly.io/u/Swasthik)\
**Replies:** 8\
**Last updated:** [January 16, 2026, 2:54pm UTC](https://community.fly.io/t/health-check-for-your-postgres-database-has-failed-your-database-is-malfunctioning/26776 "2026-01-16T14:54:22Z")

</div>

We are frequently encountering this issue on our unmanaged PostgreSQL server and would like to identify the root cause of the recurring health check failures. Fly checks : Check Status Output Updated pg passing …

---

## [Phoenix with Managed Postgres Guide](https://community.fly.io/t/phoenix-with-managed-postgres-guide/25967)

<div class="topic-metadata">

**Author:** [@kaelynH](https://community.fly.io/u/kaelynH)\
**Replies:** 3\
**Last updated:** [January 11, 2026, 7:31pm UTC](https://community.fly.io/t/phoenix-with-managed-postgres-guide/25967 "2026-01-11T19:31:21Z")

</div>

We’ve published a new guide to make it easier for folks running Phoenix with Fly.io’s Managed Postgres (MPG). It’s focused on the key changes developers need to make when connecting Phoenix to MPG, helping you skip the u…

---

## [Will Fly offer Dgraph support?](https://community.fly.io/t/will-fly-offer-dgraph-support/26390)

<div class="topic-metadata">

**Author:** [@kokosice](https://community.fly.io/u/kokosice)\
**Replies:** 2\
**Last updated:** [November 12, 2025, 12:06am UTC](https://community.fly.io/t/will-fly-offer-dgraph-support/26390 "2025-11-12T00:06:59Z")

</div>

Hi Dgraph cloud got shut down one of the devs told me „If you like fly.io, I created a repo from which you could launch a cluster on that service: dgraph-tools/deploy/fly at main · matthewmcneely/dgraph-tools · GitHub …

---

## [Unable to connect MongoDB ("Could not connect to any servers in your MongoDB Atlas cluster")](https://community.fly.io/t/unable-to-connect-mongodb-could-not-connect-to-any-servers-in-your-mongodb-atlas-cluster/26420)

<div class="topic-metadata">

**Author:** [@jitendra](https://community.fly.io/u/jitendra)\
**Replies:** 1\
**Last updated:** [November 9, 2025, 6:14pm UTC](https://community.fly.io/t/unable-to-connect-mongodb-could-not-connect-to-any-servers-in-your-mongodb-atlas-cluster/26420 "2025-11-09T18:14:47Z")

</div>

Since today morning, my application stopped connecting to mongodb. its getting timeout. 48ed670c0dddfa:/app# node \<\<‘EOF’ \> const mongoose = require(‘mongoose’); \> \> const uri = process.env.MONGODB\_URI; \> \> console…

---

## [Clickhouse deployment with additional configs](https://community.fly.io/t/clickhouse-deployment-with-additional-configs/25955)

<div class="topic-metadata">

**Author:** [@puneethkumarvh](https://community.fly.io/u/puneethkumarvh)\
**Replies:** 6\
**Last updated:** [September 18, 2025, 7:42pm UTC](https://community.fly.io/t/clickhouse-deployment-with-additional-configs/25955 "2025-09-18T19:42:51Z")

</div>

Hi, I am trying to deploy ClickHouse database using custom docker file. When the config file is empty, the deployment is happening well and I am able to use the database. When I add any configurations (as recommended by …

---

## [Managed Postgres Metrics](https://community.fly.io/t/managed-postgres-metrics/25883)

<div class="topic-metadata">

**Author:** [@kyle](https://community.fly.io/u/kyle)\
**Replies:** 0\
**Last updated:** [September 10, 2025, 12:27pm UTC](https://community.fly.io/t/managed-postgres-metrics/25883 "2025-09-10T12:27:14Z")

</div>

We haven’t only been working on adding new regions for MPG, we’ve been quietly churning out some new features, too. The kind of things you’d expect from a managed service. We’ll get to them all in good time, but for n…

---

## [does rails' multi db works with HA and global replication?](https://community.fly.io/t/does-rails-multi-db-works-with-ha-and-global-replication/25877)

<div class="topic-metadata">

**Author:** [@luizkowalski](https://community.fly.io/u/luizkowalski)\
**Replies:** 0\
**Last updated:** [September 9, 2025, 9:01pm UTC](https://community.fly.io/t/does-rails-multi-db-works-with-ha-and-global-replication/25877 "2025-09-09T21:01:04Z")

</div>

I haven’t tried this yet because I don’t want to break production, but I wonder if anyone has done this: HA will give you one primary and n replicas: ID STATE ROLE REGION CHECKS IMAGE …

---

## [Static IP egress for release command](https://community.fly.io/t/static-ip-egress-for-release-command/25702)

<div class="topic-metadata">

**Author:** [@superedsteve](https://community.fly.io/u/superedsteve)\
**Replies:** 0\
**Last updated:** [August 20, 2025, 7:02pm UTC](https://community.fly.io/t/static-ip-egress-for-release-command/25702 "2025-08-20T19:02:22Z")

</div>

Is it possible to assign a static IP egress for release command instances? Situation: I have an RDS database that I am connected to from Fly. Previously, I used wireguard peering to do this. However, I am seeing unexpla…

---

## [Machine in EZE down, app does not work](https://community.fly.io/t/machine-in-eze-down-app-does-not-work/25652)

<div class="topic-metadata">

**Author:** [@nczemerinski](https://community.fly.io/u/nczemerinski)\
**Replies:** 5\
**Last updated:** [August 15, 2025, 11:52pm UTC](https://community.fly.io/t/machine-in-eze-down-app-does-not-work/25652 "2025-08-15T23:52:29Z")

</div>

Hello everyone! I have an app deployed with Fly.io and I am getting the following Fly Platform Status 0 A Service Interruption yesterday Some of your apps in EZE are on a host which has suffered a hardware failure and…

---

## [Requests to a suspended machine are taking a long time](https://community.fly.io/t/requests-to-a-suspended-machine-are-taking-a-long-time/25483)

<div class="topic-metadata">

**Author:** [@paulactually](https://community.fly.io/u/paulactually)\
**Replies:** 8\
**Last updated:** [July 29, 2025, 11:36pm UTC](https://community.fly.io/t/requests-to-a-suspended-machine-are-taking-a-long-time/25483 "2025-07-29T23:36:22Z")

</div>

When my machine is put into suspend mode due to inactivity, the first request that triggers the wake up takes a long time to be returned (or never returns) to the user The logs actually show the machine waking up correc…

---

## [How to replicate 3 MongoDB instances for read, write, reporting then access it from an app?](https://community.fly.io/t/how-to-replicate-3-mongodb-instances-for-read-write-reporting-then-access-it-from-an-app/25465)

<div class="topic-metadata">

**Author:** [@rbbaprianto](https://community.fly.io/u/rbbaprianto)\
**Replies:** 8\
**Last updated:** [July 23, 2025, 7:54pm UTC](https://community.fly.io/t/how-to-replicate-3-mongodb-instances-for-read-write-reporting-then-access-it-from-an-app/25465 "2025-07-23T19:54:16Z")

</div>

hi all, please help, i want to replicate 3 mongodb. primary for write access secondary for read access analytics for reporting query testing access from hrm-test-app . please help why i can’t use the internal ne…

---

## [You won't believe this release command question! (egress IP)](https://community.fly.io/t/you-wont-believe-this-release-command-question-egress-ip/25354)

<div class="topic-metadata">

**Author:** [@mbellm](https://community.fly.io/u/mbellm)\
**Replies:** 4\
**Last updated:** [July 11, 2025, 3:15am UTC](https://community.fly.io/t/you-wont-believe-this-release-command-question-egress-ip/25354 "2025-07-11T03:15:02Z")

</div>

I’m running database migrations from Fly release commands. Because release commands are run from an ephemeral VM, the IP addresses there can’t be whitelisted by my database. What’s best practice for accessing my DB thr…

---

## [Deployment failing: "P1011: Error opening a TLS connection" during prisma migrate](https://community.fly.io/t/deployment-failing-p1011-error-opening-a-tls-connection-during-prisma-migrate/25336)

<div class="topic-metadata">

**Author:** [@karimmahmoudi](https://community.fly.io/u/karimmahmoudi)\
**Replies:** 1\
**Last updated:** [July 9, 2025, 5:32pm UTC](https://community.fly.io/t/deployment-failing-p1011-error-opening-a-tls-connection-during-prisma-migrate/25336 "2025-07-09T17:32:49Z")

</div>

Hi Fly.io team, I’m having trouble deploying my application, easycodform. The deployment consistently fails during the release\_command (npx prisma migrate deploy) with the following error: Error: P1011: Error opening a…

---

## [IPv6 errors dfw](https://community.fly.io/t/ipv6-errors-dfw/25327)

<div class="topic-metadata">

**Author:** [@jgrugru](https://community.fly.io/u/jgrugru)\
**Replies:** 2\
**Last updated:** [July 8, 2025, 10:17pm UTC](https://community.fly.io/t/ipv6-errors-dfw/25327 "2025-07-08T22:17:20Z")

</div>

I see that there were ipv6 errors earlier today that were marked as resolved. I dont think this is the case. Our instance that hosts pocketbase is having ipv6 issues. None of our clients can connect via ipv6 to the pocke…

---

## [fly\_app\_release\_command overrides primary\_region based on your IP](https://community.fly.io/t/fly-app-release-command-overrides-primary-region-based-on-your-ip/25302)

<div class="topic-metadata">

**Author:** [@mmark](https://community.fly.io/u/mmark)\
**Replies:** 2\
**Last updated:** [July 6, 2025, 1:09pm UTC](https://community.fly.io/t/fly-app-release-command-overrides-primary-region-based-on-your-ip/25302 "2025-07-06T13:09:05Z")

</div>

Hi, So, finally figured this out. Whenever I would run fly deploy or fly deploy -e PRIMARY\_REGION=xxx (regardless that I set the proper env in my fly.toml) the runner will launch from a region related to my current VPN …

---

## [Cannot connect to PostgreSQL my-chat-app-db-vittorio - "FATAL: password authentication failed"](https://community.fly.io/t/cannot-connect-to-postgresql-my-chat-app-db-vittorio-fatal-password-authentication-failed/25294)

<div class="topic-metadata">

**Author:** [@sbirringa](https://community.fly.io/u/sbirringa)\
**Replies:** 5\
**Last updated:** [July 5, 2025, 8:54pm UTC](https://community.fly.io/t/cannot-connect-to-postgresql-my-chat-app-db-vittorio-fatal-password-authentication-failed/25294 "2025-07-05T20:54:26Z")

</div>

The persistent error I’m receiving is: FATAL: password authentication failed for user "postgres" This error occurs both when my FastAPI backend (running locally and connecting via an SSH tunnel) tries to connect, and c…

---

## [Load balancing based on the pool of connections to the database](https://community.fly.io/t/load-balancing-based-on-the-pool-of-connections-to-the-database/25053)

<div class="topic-metadata">

**Author:** [@wknslf](https://community.fly.io/u/wknslf)\
**Replies:** 1\
**Last updated:** [June 4, 2025, 8:29pm UTC](https://community.fly.io/t/load-balancing-based-on-the-pool-of-connections-to-the-database/25053 "2025-06-04T20:29:27Z")

</div>

Is there any way to balance the load between machines depending on the pool of connections to the database? Let’s say I have 4 VMs, and each VM has a limit of 40. Is it possible to somehow transfer users to the machine w…

---

## [Connection to external MongoDB Database from Fly.io](https://community.fly.io/t/connection-to-external-mongodb-database-from-fly-io/25009)

<div class="topic-metadata">

**Author:** [@Raizan](https://community.fly.io/u/Raizan)\
**Replies:** 4\
**Last updated:** [June 2, 2025, 3:21pm UTC](https://community.fly.io/t/connection-to-external-mongodb-database-from-fly-io/25009 "2025-06-02T15:21:09Z")

</div>

Hello! I am working on deploying the backend server of my ExpressJS project on Fly.io. The server connects to MongoDB Database (Atlas, the free version). I was successfully connecting to it when running the server locall…

---

## [Can’t get volume to attach to multi-process app - “needs volumes” error won’t go away](https://community.fly.io/t/can-t-get-volume-to-attach-to-multi-process-app-needs-volumes-error-won-t-go-away/24922)

<div class="topic-metadata">

**Author:** [@geronimo](https://community.fly.io/u/geronimo)\
**Replies:** 3\
**Last updated:** [May 21, 2025, 12:45am UTC](https://community.fly.io/t/can-t-get-volume-to-attach-to-multi-process-app-needs-volumes-error-won-t-go-away/24922 "2025-05-21T00:45:54Z")

</div>

I’m deploying a two-process Fly app: \[\[mounts\]\] source = "earnings\_data" destination = "/app" processes = \["app"\] \[\[mounts\]\] source = "datomic\_volume" destination = "/app/storage" processes = …

---

## [Static outbound IP issues: not used for deploys, extremely slow](https://community.fly.io/t/static-outbound-ip-issues-not-used-for-deploys-extremely-slow/24807)

<div class="topic-metadata">

**Author:** [@dennis2](https://community.fly.io/u/dennis2)\
**Replies:** 2\
**Last updated:** [May 11, 2025, 3:49pm UTC](https://community.fly.io/t/static-outbound-ip-issues-not-used-for-deploys-extremely-slow/24807 "2025-05-11T15:49:18Z")

</div>

Problem: I want to secure my external database by restricting inbound access to a whitelisted IP address. For my Phoenix app on Fly, it seems the only way to do this is by using a static outbound IP. But I hit two issues…

---

## [how to attach a volume snapshot to a vm?](https://community.fly.io/t/how-to-attach-a-volume-snapshot-to-a-vm/24780)

<div class="topic-metadata">

**Author:** [@yuvalp98](https://community.fly.io/u/yuvalp98)\
**Replies:** 3\
**Last updated:** [May 7, 2025, 6:01am UTC](https://community.fly.io/t/how-to-attach-a-volume-snapshot-to-a-vm/24780 "2025-05-07T06:01:52Z")

</div>

I accidently deleted my db in my volumes, so I want to use its latest snapshot to restore the data. I created a new volume based on this snapshot but I cant attach it to a VM. How do I do it? should I delete the VMs with…

[Next page](https://community.fly.io/tag/databases/42.md?match_all_tags=true&page=1&tags%5B%5D=databases)
