Rob--W / cors-anywhere

CORS Anywhere is a NodeJS reverse proxy which adds CORS headers to the proxied request.
MIT License
8.5k stars 5.92k forks source link

Heroku Free Plan Expiring #434

Open abcdeepakr opened 1 year ago

abcdeepakr commented 1 year ago

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

slayer1ss commented 1 year ago

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...

iqfareez commented 1 year ago

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).

jengalas commented 1 year ago

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

DiegoFleitas commented 1 year ago

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

mishra-ankit commented 1 year ago

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

embeddedt commented 1 year ago

Render worked well for me.

isoaxe commented 1 year ago

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.

DiegoFleitas commented 1 year ago

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)?

isoaxe commented 1 year ago

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.

JulienMaille commented 1 year ago

Render worked well for me.

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

embeddedt commented 1 year ago

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.

weilinzung commented 1 year ago

here

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

tsunami643 commented 1 year ago

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.

callmedeeray commented 1 year ago

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!

DiegoFleitas commented 1 year ago

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)
AoDev commented 1 year ago

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.