Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7925265
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T18:13:14+00:00 2026-06-03T18:13:14+00:00

I recently reached the 5mb database limit with heroku, the costs rise dramatically after

  • 0

I recently reached the 5mb database limit with heroku, the costs rise dramatically after this point so I’m looking to move the database elsewhere.

I am very new to using VPS and setting up servers from scratch, however, I have done this recently for another app.

I have a couple questions related to this:

  • Is it possible to create a database on a VPS and point my rails app on heroku to use that database?
  • If so, what would database.yml actually look like. What would be an example localhost with the database stored outside the app?

These may be elementary questions but my knowledge of servers and programming is very much self taught, so I admit, there may be huge loopholes in things that I “should” already understand.

Note: Other (simpler) suggestions for moving my database are welcomed. Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T18:13:16+00:00Added an answer on June 3, 2026 at 6:13 pm

    OK – for starters, yes you can host a database external to Heroku and point your database.yml at that server – it’s simply a case of setting up the hostname to point at the right address, and give it the correct credentials.

    However, you need to consider a couple of things:

    1) Latency – unless you’re hosting inside EC2 East the latency between Heroku and your DB will cause you all sorts of performance issues.

    2) Setting up a database server is not a simple task. You need consider how secure it is, how it performs, keeping it up to date, keeping it backed up, and having to worry day and night about it being up. With Heroku you don’t need to do this as it’s fully managed.

    Price wise, are you aware of the new low cost Postgres plans at Heroku? $15/mo will get you 20Gb (shared instance), and $50/mp will get you a terabyte (dedicated instance). To me, that is absurdly cheap as I value my time much more, and I know how many hours I would need to invest in making my own server to save maybe $10 a month.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Very recently, I started getting the SQL max user connections limit reached error. I
I've been getting this error recently, after several reloads of the same page: System.InvalidOperationException:
Recently I was trying some practice programs in python and I came across this
recently got an issue when loading vs 2008, it displays this... can anyone tell
I've recently reached the stage where an ASP.net MVC application I am developing is
Recently, I feel that I've reached a wall I need to vault over to
Recently the buzz of virtualization has reached my workplace where developers trying out virtual
I've recently started to learn python , and I reached the with statement .
I'm recently working on a semantic web application project using Rowlex. I've reached some
I was looking at some dependency graphs for my primary personal project recently, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.