Live data from Hacker News

Life after Heroku: What's a dev to do?

reaktor.com

91–100 of 107 posts

Re: Life after Heroku: What's a dev to do?

#91

Earlier quoted context omitted.

> new AWS customers will be able to run a free Amazon EC2 Micro Instance for a year I don't see how that's comparable. it's one instance of a micro server(and a few other things) for one year for a new AWS user and then it's over. heroku was an unlimited number of apps free tier forever with a limit on cpu/database usage for each app.

If you don't need a lot of bandwidth: https://www.oracle.com/cloud/free/ Four CPUs, 300GiB of storage and 24GiB of RAM should last for quite some time. If you do need the compute and bandwidth: pay someone. Pay Heroku or set up a Dokku (or similar) system on your own server.

Yeah but you should count the legal expenses for parsing the Terms & Conditions :-)

This is Oracle. You weren't thinking of agreeing to to the T&Cs without understanding what they actually mean, were you?

Re: Life after Heroku: What's a dev to do?

#92
There are cheap virtual machines that are good enough for most.

In my book Deployment from Scratch I make a case that just a little bit of Bash gets you pretty far.

There is also nothing wrong with Dokku (we used it at one startup) or Capistrano (I didn't really use it but I think it's fine!) and other simple tools for simple deployments.

Re: Life after Heroku: What's a dev to do?

#94

Earlier quoted context omitted.

As someone who uses Node.js and is in the exact same situation as the author, requiring Docker is the #1 reason I'm not going with Fly.io. There's a standard for launching a Node.js project, and that's running the "start" script `npm start`, so switching is trivial. I switched from a Linux machine to my current MacBook and I didn't have to make a single change in any of my Node.js projects. Adding docker means adding…

Using Docker is relatively simple and requires little to no configuration, arguably less than a standard node project. Regardless, as someone who uses a variety of languages and is in the exact same situation, my generic Makefile is probably easier to read and understand than any standard that you have probably achieved.

"my generic Makefile is probably easier to read and understand than any standard that you have probably achieved. "

If you have the need to state this when it's not relevant, then I highly doubt you have readable Makefiles ;)

Re: Life after Heroku: What's a dev to do?

#95

Earlier quoted context omitted.

You know you can also use the heroku build packs on fly.io right?

I don't use any build packs in Heroku? Since a while back Heroku just recognizes the Node project and automatically works with it, no need for any extra file. Or do you mean it's the same in Fly.io? If it auto-detects Node.js (through package.json), or at most allows for a dropdown to say "Node.js project", then that sounds about right for me.

> Or do you mean it's the same in Fly.io? If it auto-detects Node.js (through package.json),

Indeed the docs[1] say Fly automatically detects a Node.js project, so you don't need to create a Dockerfile.

[1]: https://fly.io/docs/languages-and-frameworks/node/#launch-th...

Re: Life after Heroku: What's a dev to do?

#96
post #91

Earlier quoted context omitted.

If you don't need a lot of bandwidth: https://www.oracle.com/cloud/free/ Four CPUs, 300GiB of storage and 24GiB of RAM should last for quite some time. If you do need the compute and bandwidth: pay someone. Pay Heroku or set up a Dokku (or similar) system on your own server.

Yeah but you should count the legal expenses for parsing the Terms & Conditions :-) This is Oracle. You weren't thinking of agreeing to to the T&Cs without understanding what they actually mean, were you?

The terms are actually quite reasonable. You can't even pay for your resources without changing your account type (anything you buy with your free credit gets wiped out after the trial month, only the "always free" stuff remains...) so I'm reasonably certain you can use their service quite comfortably.

The 50mbps uplink isn't spectacular and certainly not enough to run a business on, but for anything the other free tiers are intended for (experimentation and hobby use) it's sufficient.

Juet remember to never give them your credit card number and provide as little personal information as legally allowed. You don't want the lawnmower to come in your direction, the lawnmower doesn't care.

Re: Life after Heroku: What's a dev to do?

#98
post #95

Earlier quoted context omitted.

I don't use any build packs in Heroku? Since a while back Heroku just recognizes the Node project and automatically works with it, no need for any extra file. Or do you mean it's the same in Fly.io? If it auto-detects Node.js (through package.json), or at most allows for a dropdown to say "Node.js project", then that sounds about right for me.

> Or do you mean it's the same in Fly.io? If it auto-detects Node.js (through package.json), Indeed the docs[1] say Fly automatically detects a Node.js project, so you don't need to create a Dockerfile. [1]: https://fly.io/docs/languages-and-frameworks/node/#launch-th...

> At this point, flyctl creates an app for you and writes your configuration to a fly.toml file. You'll then be prompted to build and deploy your app. Once complete, your app will be running on fly.

Well it still creates a fly.toml for you, which is still a new config file that I have to maintain across projects.

Re: Life after Heroku: What's a dev to do?

#99
post #60

$7 is less than a single beer in the pub. If you can afford to devote thousands of hours to learn programming and then hundreds to thousands of hours to build an app then you can afford the hosting cost...

Depends on the pub ;) But this is very true.

Actually, there's a whole set of mental heuristics that are evolving in my head surrounding monthly-recurring-discretionary-fixed-costs, as compared with the cost of a $BEVERAGE at the $VENUE. It runs the gamut from a $5/mo DO droplet, which costs a Bier vom Fass in your average pub in Germany and grants me a public-facing static IP, to a $20/mo donation to Wikipedia, which costs a Singapore Sling at the Raffles Hotel and grants me a clear conscience when I dismiss its increasingly concerning[0] petitions to donate.

All that said, in addition to the booze quotient, one also has to compare the more nebulous cost of _providing payment credentials at all_ to a new party which didn't have them before; i.e., enlarging your digital footprint[1]. This often must include a mailing address and/or a phone number. In the event of a breach, the consequences to the payor range from a mere uptick in spam/robocalls/junk mail to identity theft and all that entails. We can agree the dollar here is a huge wildcard, just like the odds of it happening at all. It varies by individual, is usually unquantified, my point is the cost/benefit gets real muddy, real fast.

Your mileage will vary.

[0]: https://cyounkins.medium.com/jimmy-wales-final-email-de36f39... [1]: https://en.wikipedia.org/wiki/Digital_footprint

Re: Life after Heroku: What's a dev to do?

#100
post #78

I’m personally very happy with switching to a Hetzner dedicated server, I’m saving a ton of money, and the server can handle my busiest months of load with plenty of room to spare. I use docker containers for a rails app and send backups of my db to S3 with restic. Docker compose files and DR scripts are in my repo. If Hetzner goes down I’ll run them on a VPS from any of the million providers. Deploys push a docker c…

Also a Hetzner convert. Their pricing is so cheap for VPS compared to AWS that I worry they’ll have to put up the prices at some point.

They recently increased prices to account for an increase for them on electric costs.

Their business model is sound especially for the server auction dedicated servers.

All that to say I hear your worry but I’m not worried. Hell I was paying more than double on heroku for MUCH less compute resources. So if they double their prices I’d still be ahead.

Post reply on HN