Home / Companies / Fly.io / Blog / Post Details
Content Deep Dive

Using Heroku Postgres From a Fly App

Blog post from Fly.io

Post Details
Company
Date Published
Author
Dj Walker-Morgan
Word Count
912
Company Posts That Month
5
Language
English
Hacker News Points
-
Post removed?
No
Summary

The article demonstrates how to use Heroku's Postgres database with a native Fly application without migrating the entire application from Heroku to Fly. It provides step-by-step instructions on setting up a new Heroku app, installing add-ons like Postgres, obtaining credentials for the database, and configuring Sequelize in a Node.js application to connect to the Heroku Postgres database. The process involves parsing the connection string from Heroku, creating a Sequelize instance with SSL enabled, and passing the database URL as a secret to the Fly deployment. This method allows users to take advantage of Heroku's database services while deploying their applications on Fly for better performance and proximity to end-users.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Secrets Management 1 408 50 28 +102%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.