cors-anywhere icon indicating copy to clipboard operation
cors-anywhere copied to clipboard

Heroku Free Plan Expiring

Open abcdeepakr opened this issue 3 years ago • 16 comments
trafficstars

Hey folks, heroku has updated terms and discontinued their free plan, will that affect our deployment Announcement

abcdeepakr avatar Aug 26 '22 04:08 abcdeepakr

I have been using heroku with a free dyno and cors-anywhere for about a year for my little project and as far as i understand all free dynos will be shutdown... It is time to start looking for a similar service...

slayer1ss avatar Aug 26 '22 23:08 slayer1ss

I think https://railway.app is a good alternative. In their recent changelog, they offer a migration guide from Heroku to Railway.

https://railway.app/heroku

It does not have free tier I believe, but it gives free monthly credit that I think is enough (well it depends of course).

iqfareez avatar Aug 27 '22 04:08 iqfareez

I followed this blog post, and it worked perfectly for me, including importing the environment variables. Thank you @iqfareez for the suggestion!

https://blog.railway.app/p/railway-heroku-rails

jengalas avatar Aug 28 '22 22:08 jengalas

~~Thanks for the docs, it was very easy to redeploy on railway~~

EDIT: Railway free tier runs out of credit too soon. I had to redeploy on fly.io & it has worked for me so far

DiegoFleitas avatar Aug 30 '22 00:08 DiegoFleitas

Tried fly.io, very convenient migration (3 clicks basically), https://fly.io/launch/heroku. Happy with the results so far.

mishra-ankit avatar Sep 03 '22 16:09 mishra-ankit

Render worked well for me.

embeddedt avatar Sep 04 '22 21:09 embeddedt

I've just switched my implementation of cors-anywhere over from Heroku to Firebase. You can find it here and set up your server as before.

isoaxe avatar Sep 05 '22 16:09 isoaxe

I've just switched my implementation of cors-anywhere over from Heroku to Firebase. You can find it here and set up your server as before.

That's interesting, but did you have to use Blaze plan or could you have deployed it with the free plan (Spark)?

DiegoFleitas avatar Sep 05 '22 17:09 DiegoFleitas

That's interesting, but did you have to use Blaze plan or could you have deployed it with the free plan (Spark)?

I needed to upgrade to Blaze. But you get 2 million free function calls a month. Details are in the README.

Working fine locally, but has a CORS issue when hosted remotely that I'm working on.

isoaxe avatar Sep 06 '22 01:09 isoaxe

Render worked well for me.

May I ask more details on how you deployed it to render? Thanks in advance

JulienMaille avatar Oct 07 '22 20:10 JulienMaille

Honestly, that was a month ago and it was very easy to set up so I can't remember much of the details. :slightly_frowning_face:

I think I just created a web service, entered https://github.com/Rob--W/cors-anywhere as the source repository, and set the appropriate start command by copying it from the Procfile. I may also have needed to change a few environment variables but it wasn't hard at all.

embeddedt avatar Oct 07 '22 20:10 embeddedt

here

When I start to use that with POST images(blob data), the Firebase functions default parsers gave me some JSON errors.

weilinzung avatar Nov 17 '22 15:11 weilinzung

Based on the suggestions here, I've chosen to migrate to fly.io

Tried fly.io, very convenient migration (3 clicks basically), https://fly.io/launch/heroku. Happy with the results so far.

Railway's free tier only goes up to 500 hours/month, which isn't enough for constant usage.

Render's free tier spins down after 15 minutes of inactivity which can be annoying.

Firebase seems to have some JSON quirks based on other reports here.

fly.io's only downside is they wanted credit card information, even for the free tier, but so did Heroku. Aside from that, it was a very simple migration and everything is working the same as Heroku for my use case. I'd also advise creating a fly.io account before starting the migration process, because I have no idea how to figure out the password for the account it automatically creates for you if you migrate first.

tsunami643 avatar Nov 23 '22 07:11 tsunami643

Based on the suggestions here, I've chosen to migrate to fly.io

Tried fly.io, very convenient migration (3 clicks basically), https://fly.io/launch/heroku. Happy with the results so far.

Railway's free tier only goes up to 500 hours/month, which isn't enough for constant usage.

Render's free tier spins down after 15 minutes of inactivity which can be annoying.

Firebase seems to have some JSON quirks based on other reports here.

fly.io's only downside is they wanted credit card information, even for the free tier, but so did Heroku. Aside from that, it was a very simple migration and everything is working the same as Heroku for my use case. I'd also advise creating a fly.io account before starting the migration process, because I have no idea how to figure out the password for the account it automatically creates for you if you migrate first.

I don't suppose anyone has step-by-step instructions for fly.io? I tried following their instructions but got to the third step and they just stopped instructing so I still haven't been able to migrate. Please help this clueless pseudo-front-end-dev!

callmedeeray avatar Nov 28 '22 17:11 callmedeeray

Based on the suggestions here, I've chosen to migrate to fly.io

Tried fly.io, very convenient migration (3 clicks basically), https://fly.io/launch/heroku. Happy with the results so far.

Railway's free tier only goes up to 500 hours/month, which isn't enough for constant usage. Render's free tier spins down after 15 minutes of inactivity which can be annoying. Firebase seems to have some JSON quirks based on other reports here. fly.io's only downside is they wanted credit card information, even for the free tier, but so did Heroku. Aside from that, it was a very simple migration and everything is working the same as Heroku for my use case. I'd also advise creating a fly.io account before starting the migration process, because I have no idea how to figure out the password for the account it automatically creates for you if you migrate first.

I don't suppose anyone has step-by-step instructions for fly.io? I tried following their instructions but got to the third step and they just stopped instructing so I still haven't been able to migrate. Please help this clueless pseudo-front-end-dev!

If you have cros-anywhere deployed on heroku already then to migrate you only need to fill the form, add payment info & click the deploy button but I'll leave a step by step here for you:

  1. go https://fly.io/launch/heroku
  2. sign in with your heroku account
  3. pick the region & the project name you had for cors-anywhere (ex: quiet-mesa-70368)
  4. click "Deploy heroku app!" button
  5. You should get a warning asking you to add payment info (fill that on another tab & go back to the first form & deploy)
  6. Done. (Fly.io fills your environment variables from Heroku too so you don't need to worry about that)

DiegoFleitas avatar Dec 03 '22 21:12 DiegoFleitas

I've moved my services from Heroku to https://qoddi.com. Haven't spent much time with them yet. Can only say it works so far.

AoDev avatar Dec 08 '22 15:12 AoDev