Till now I tried to launch a production Forem in VPS(Digital Ocean Droplet) but actually failed and shifted to Heroku.
Finally, I was able to configure all the environment variables in Heroku and able to have a successful production Forem.
But facing a small issue, I would like to take suggestions from the experienced.
My Heroku Configuration
So, for you to have a glimpse of how I was able to do that, here are some important steps I followed.
- I was using Elastic Search from Elastic Cloud
- Using Redis from Redis Cloud
- Datadog and Honeybadger API's
- Postgresql Database hosted in Cloudcluster
- PG and Datadog build packs in Heroku
- Configured every possible Environment Variable from
.emv_sample
So, I guess, now you would be a bit more familiar with what I'm trying to do. I am trying to use Heroku as a core server and attaching all the other services (Like ElasticSearch, Redis, PostgreSQL Database; Hosted in the cloud, through another service provider)and attaching them using the Environment Variables.
My Issue
It's all good, but I came across an error 500, (Internal Error). So I have quickly gone through the error log and realised that it was an error due to ** Memory Quota Exceeded **
Error in Browser
Error log in Heroku
So, I would like you to suggest me the best Heroku Tier to choose?
- Hobby?
- Standard 01?
- Standard 02?
If it requires more than this, I can't afford in Heroku xD xD
Wating for your comment :)
Top comments (3)
Currently I'm planning to
If any suggestions, please let me know.
Youβll need standard 2 in general, but weβre working on lessening the resource needs across the board. Good luck, and keep up with updates so we can help this be more successful over time.
What is the expected RAM needed? Our site seems to hover between 1.5-2gig. When we launched with Standard 2 it was extremely sluggish, so we needed to bump it to a Preformance-M.
SideKiq is on a Standard 1 without any issues it seems.