TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Are you leaving Heroku?

88 点作者 seancoleman超过 2 年前
It seems like Heroku has been dying on a vine. The platform is still incredible and unmatched in Developer Experience, but recent security incidents (along with a severely prolonged resolution), downtime, and (just yesterday) a DNS-related issue is making me reconsider and quite possibly will move some mission-critical apps to AWS.<p>Are you migrating away from Heroku? If so, which cloud provider are you using (AWS, Google Cloud, Azure, etc)? What&#x27;s your stack and what service are you migrating to (ECS, Elastic Beanstalk, etc)?

48 条评论

buf超过 2 年前
Short answer: no.<p>Every year I try out new things (fly, render), but stick with heroku because I&#x27;d rather focus on building products and not devops.<p>I&#x27;m a solo dev making $700k a year on my projects. I&#x27;m happy to pay the extra cost for things to just work.<p>If there is a catastrophic issue though, I do have backups elsewhere that I will use.
评论 #32582134 未加载
评论 #32606981 未加载
评论 #32583301 未加载
cguess超过 2 年前
Today I went to restore a backup from three weeks ago on a new test instance and I saw it broke. I was getting some utterly weird messages about the pgcrypto extension not being available anymore (problem since I use UUIDs as my ids).<p>After HOURS of messing around I found this <a href="https:&#x2F;&#x2F;devcenter.heroku.com&#x2F;changelog-items&#x2F;2446" rel="nofollow">https:&#x2F;&#x2F;devcenter.heroku.com&#x2F;changelog-items&#x2F;2446</a>. None of which was communicated to anyone, and it completely breaks all old backups. There&#x27;s no mitigation listed on the page, and from what I can tell no one can figure out the proper way to do this without manually dumping, manually changing all references, pushing it back up and hoping to god nothing breaks.<p>I find it absolutely, utterly, unacceptable to do something like this with no migration path documented. Most people (including myself) use Heroku because we&#x27;re willing to pay more over being a sysadmin. I <i>can</i> run my own infrastructure on bare metal machines, but it&#x27;s something I deeply, deeply, don&#x27;t want to do. Much less manually editing 15gb SQL files.<p>So yes, I&#x27;m considering leaving if this isn&#x27;t mitigated quickly.
评论 #32584426 未加载
HermanMartinus超过 2 年前
I was pretty unhappy with the outage last night. All the user blogs for <a href="https:&#x2F;&#x2F;bearblog.dev" rel="nofollow">https:&#x2F;&#x2F;bearblog.dev</a> went down for about an hour and a half (and I had so many emails to respond to this morning).<p>I&#x27;m looking to move Bear over to either a Digital Ocean droplet (I have the staging server running on one with SQlite and Litestream running, and believe it could actually scale well), or to Fly.io (to be seen).
评论 #32582141 未加载
评论 #32591032 未加载
nkotov超过 2 年前
This thread will be filled with a ton of alternatives suggesting a &quot;heroku-like experience&quot; on top of some other cloud provider. My honest opinion, don&#x27;t waste your time with these &quot;shortcuts&quot;. Just use the cloud providers directly.
评论 #32582278 未加载
评论 #32582167 未加载
countspongebob超过 2 年前
Hi all... I&#x27;m the new-ish Heroku&#x2F;DX GM for Salesforce, and in prior job was the Kubernetes GM for AWS. I always read these threads with great interest. Very much appreciate the unvarnished feedback about Heroku we get here.
评论 #32602738 未加载
评论 #32602732 未加载
shakezula超过 2 年前
I left Heroku in favor of just a hand-configured DigitalOcean droplet. I might try Fly.io but honestly, for what I’m doing, the flexibility of a full Ubuntu box is just too good, even in 2022.
评论 #32583145 未加载
beeboop超过 2 年前
Reposting this because fuck Heroku:<p>A former employer was mad at me for daring to leave my job and made a malicious DMCA claim against my website. Heroku took it down with zero notice and treated me like a criminal when I called them to quit their bullshit.<p>They said I was not allowed to ever host the falsely claimed content on Heroku ever again. They said that I should pursue external avenues for disputing the claim. I took my site off Heroku and kept it offline because of the implicit threats of lawsuits from my previous employer. The site was my online portfolio of work and experience I was using for job hunting. However, my Heroku account was also used to host my profit-generating website&#x2F;business, and instead of taking down only my portfolio site, they took down every site on my account. My account was completely disabled and I wasn&#x27;t able to even remove the specific site and put my other ones back online, which is why I had to call them to re-enable it, but only after they treated me like shit and like I was murdering babies even though I told them the DMCA claim was malicious.
rcarmo超过 2 年前
Those of you interested in the Heroku lifestyle and willing to have a quick and painless deployment experience (for simple apps) are welcome to try out Piku, a tiny Heroku-inspired PaaS for your own servers:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;piku&#x2F;piku" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;piku&#x2F;piku</a>
评论 #32582017 未加载
评论 #32582098 未加载
hpeinar超过 2 年前
We left Heroku last spring with a project consuming around 5k$&#x2F;mo worth of Heroku services.<p>Main reason for the move was pretty simple, we just needed more control over our own infrastructure and Heroku wasn&#x27;t able to offer that. Things like HTTP2 support, access to load balancer configurations, timeout settings, different auto-scaling options and better monitoring are first things that come to mind.<p>We are now using AWS directly (EKS, RDS, Lambda etc) and even though the move itself did cost a bit, I wouldn&#x27;t say monthly costs went up too much (but it&#x27;s bit hard to compare as we&#x27;re using more services at AWS and scaled up right after migration).<p>Basically, we just grew out of Heroku.<p>And personally I wouldn&#x27;t choose them again even if opportunity appeared.
samwillis超过 2 年前
We plan to, but not quite yet. The only thing keeping us on Heroku is the &quot;point in time restore&quot; for Postgres, once another platform (such as Render) has that we will probably make the switch.<p>Having had to use the point in time restore feature before, it&#x27;s indispensable.<p>Just taken a look at Appliku as others have mentioned it (we are a Django app), that on DigitalOcean with their managed Postgres could be a strong option.
评论 #32582224 未加载
评论 #32583956 未加载
评论 #32582164 未加载
ceejaytkachenko超过 2 年前
I gravitate towards small indy vendors more. They&#x27;re reliable and have better customer support than all these big players combined. My fav is Appliku. I cannot praise this app enough. It&#x27;s just all that I need and now I don&#x27;t have to break my head thinking which provider to choose
eddof13超过 2 年前
All of the companies I&#x27;ve worked for in the last few years who were Rails stack on Heroku have or were migrating to k8s deployments on the big three (AWS&#x2F;GCP&#x2F;Azure). For personal apps I&#x27;m looking at consolidating my stuff to Digital Ocean.
评论 #32584304 未加载
jrochkind1超过 2 年前
Not yet. Feel like I should, but the pain isn&#x27;t quite enough yet to make me do it. I like heroku a lot when it&#x27;s working, nothing else I&#x27;ve compared has the DX features I want (although render is getting <i>close</i>. I wish it had better command line tooling, and ability to run tasks on one-off &#x27;run&#x27; machines).<p>(I develop a pretty small-scale app for a non-profit)<p>So, no, not yet. But I am worried I may regret it.
AntonioCao超过 2 年前
Honestly you should checkout open source + self-host alternatives like porter (<a href="https:&#x2F;&#x2F;github.com&#x2F;porter-dev&#x2F;porter" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;porter-dev&#x2F;porter</a>). I tried it in a project before and the developer experience was surprisingly good.
petercooper超过 2 年前
Yes. No new projects there (using Fly.io instead as it provides a similar, simple DX but even better and cheaper too unless you are heavily Elements dependent) but am being somewhat slow to actually move things off.. The stack deprecations will probably push me to do it before long though.
评论 #32581707 未加载
aantix超过 2 年前
The new Hatchbox v2 ( <a href="https:&#x2F;&#x2F;hatchbox.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;hatchbox.io&#x2F;</a> ) coupled with a low cost instance from Linode has been a dream for me.<p>Multiple apps can be deployed to a single server without incurring more costs.<p>Hatchbox does all of the provisioning.
verdverm超过 2 年前
You might also note there has been little to no feature development for Heroku in some time
评论 #32581501 未加载
frading超过 2 年前
I moved to <a href="https:&#x2F;&#x2F;render.com" rel="nofollow">https:&#x2F;&#x2F;render.com</a>, and it works pretty well so far
rychco超过 2 年前
Had a hobby project on heroku that I&#x27;ve moved to render.com pretty painlessly. It&#x27;s a simple rust (actix + sqlite) project. I now have a go (gin + sqlite) project that is intended to replace the rust project that I also plan to set up on render. Overall it&#x27;s been incredibly pleasant &amp; I&#x27;ve had no issues.<p>To be clear though, these are <i>very</i> small&#x2F;cheap projects between friends so I haven&#x27;t needed to evaluate costs (beyond a few bucks a month) and I don&#x27;t have any complex requirements beyond avoiding docker as much as possible.
评论 #32585615 未加载
dopeboy超过 2 年前
Left it awhile ago - we&#x27;ve gone all in on Render. Aside from these weird intermittent DNS issues Sentry has been flagging, it&#x27;s been smooth. Our engs love it.
bnrosa超过 2 年前
We are building a cheaper and better alternative over at <a href="https:&#x2F;&#x2F;app.build.io" rel="nofollow">https:&#x2F;&#x2F;app.build.io</a> ; you can start importing your Heroku apps to our platform or create new apps on it, it automatically builds apps with continuous delivery from your GitHub repository. When you import your app from Heroku we get your buildpacks (or detect them if you didn&#x27;t manually set them) and sync your environment variables with Heroku, so you can keep your addons running on Heroku but save money with our cheaper and faster &quot;dynos&quot; (we call them instances).
zbettenbuk超过 2 年前
All these &quot;big clouds&quot; are a risk when it comes to global outages. Heroku, Cloudflare, AWS... etc. Using indy or smaller developer focussed clouds can mitigate this problem, but those come with other risks for sure. I think every tech decision makers (CTOs, architects, lead engineers...) need to know at least some of these tools and give them a try to keep a list of plan-Bs at hand.
评论 #32581963 未加载
评论 #32586246 未加载
krn超过 2 年前
&gt; Are you migrating away from Heroku? If so, which cloud provider are you using (AWS, Google Cloud, Azure, etc)? What&#x27;s your stack and what service are you migrating to (ECS, Elastic Beanstalk, etc)?<p>I see only two real Heroku competitors: Render and Fly.io.<p>It seems that Render is currently better at developer experience, and Fly.io – at geographical availability.
major505超过 2 年前
I been using Heroku for simple apps for a long time, but recently I started moving them to Azure. Nowdays all my projects contains a Dockerfile so there&#x27;s no reason to stuck with only one server option.<p>Azure was kind of a pain to configure the first time, but after I got it all running, I have no trouble moving my projects to there.
JanSt超过 2 年前
I‘m on DigitalOcean App Platform and pretty happy with it. They keep getting better.<p>Very easy to use and cheaper than heroku.
评论 #32582116 未加载
rikkipitt超过 2 年前
Oh. So there was a DNS issue yesterday? A custom of mine was complaining that my apps weee down and blamed CloudFlare. They didn’t inform me of this issue, I had to find out via HN&#x2F;customers.<p>130 apps to get off Heroku is going to a massive pain to get through but it’s looking more and more likely…
leerob超过 2 年前
Related: I wrote about Heroku a few months ago and there was some good disucssion[1] here.<p>[1]: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31559270" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31559270</a>
jrochkind1超过 2 年前
I am not very familiar with any of these, but here is the short list of things I&#x27;ve compiled from past HN threads, that might be alternatives to heroku that provide similar affordances to heroku.<p>Most of them I have done no more than look at the website and determine that, yeah, it was similar to heroku for my personal criteria of what makes something similar to heroku. (Some things suggested in past threads did not meet them and I didn&#x27;t keep on my list).<p>render.com<p>fly.io<p>platform.sh<p>railway.app
评论 #32593840 未加载
评论 #32584837 未加载
mr90210超过 2 年前
I don’t know about the unmatched part of your statement.<p>I use Heroku at work, and DigitalOcean for my personal stuff, and I can tell you that Heroku’s DX has fallen behind.
rnmp超过 2 年前
I had a small project hosted in Heroku. After the whole debacle with security I wanted to get ahead of any more potential disruptions and migrated over to AWS EC2 + RDS + Dokku. Being my first time with AWS, I thought it was more straightforward than I thought. RDS seemed like a nice early optimization too (and also mimics how Heroku handles Databases normally by having a separate server for them off the get-go).
johnklos超过 2 年前
To be honest, no service is either too big or too small to run their own DNS. Any company with DNS issues that can&#x27;t be temporarily fixed by reverting to a pre-issues config until they can address things is doing things quite poorly.<p>I don&#x27;t use Heroku, but this trend of people and businesses taking no direct responsibility for critical services is a bad one, and I&#x27;d skip any business I could that does this.
r_singh超过 2 年前
I was happy with Heroku for a while but had to leave it because of request timeouts being limited to 60 seconds (my app is a scraping api and sometimes requests take more time).<p>I switched to Appliku and never looked back. Setting up CI&#x2F;CD pipeline for EC2 can be complicated and with AppLiku I get the Heroku experience without the limitations.
brianfitz超过 2 年前
We needed a tool that gave us the same experience as Heroku but on AWS, so we went with Nullstone (<a href="https:&#x2F;&#x2F;nullstone.io" rel="nofollow">https:&#x2F;&#x2F;nullstone.io</a>). Everything is nicely managed in a style you&#x27;ll be familiar with and takes advantage of open source Terraform modules they publish.
iaresee超过 2 年前
Moved my T1D stuff off Heroku a few months back. Moved it to Render. Very happy with the cost and it&#x27;s been stable.<p>Notes here: <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;ianchesal&#x2F;5c96c566ab99b60c2c557711fa52a720" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;ianchesal&#x2F;5c96c566ab99b60c2c557711fa...</a>
truthling超过 2 年前
I&#x27;m using Appliku for <a href="https:&#x2F;&#x2F;app.ankihub.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;app.ankihub.net&#x2F;</a>. So far so good! I&#x27;m really hoping it continues to grow and succeed.
kainosnoema超过 2 年前
Yes, have been planning on it for awhile but yesterday&#x27;s outage was last straw for us. Probably moving to Fly.io (<a href="https:&#x2F;&#x2F;fly.io" rel="nofollow">https:&#x2F;&#x2F;fly.io</a>).
CSMastermind超过 2 年前
Yes. I will be moving my company off of Heroku. The DNS issue yesterday increased the importance of this in my mind.<p>We&#x27;ll probably end up going with AWS though I might take a serious look at Azure.
truthling超过 2 年前
I&#x27;m using Appliku for <a href="https:&#x2F;&#x2F;app.ankihub.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;app.ankihub.net&#x2F;</a> right now. So far so good!
teknolog超过 2 年前
I moved one of my smaller projects from Heroku to AppEngine in the spring. Took me about a day to set up the infra and move the DNS. Hosting went from $30 to $1 a month.
caseymarquis超过 2 年前
This seems like it would make a good poll. Could you convert it? My answer is the same as someone else before, and I&#x27;d love to get some numbers back on this.
waspight超过 2 年前
How is it compared to Digitalocean app platform?
vertigo-prime超过 2 年前
Given the update to eliminate the free tier today, this thread hits differently.
ninjaa超过 2 年前
gonna migrate to vercel and serverless infra like planetscale db<p>still on heroku for now though. it&#x27;s really aged but held up very well for popular use cases at a not obnoxious price.
pftg超过 2 年前
nope, still other alternatives requires some invest in integration and onboarding
glenngillen超过 2 年前
I&#x27;ve not found the time to write up the entirety of my experience unfortunately, but I did move a bunch of stuff off Heroku over the past couple of years and directly onto AWS. It was a very piecemeal approach which had the double benefit of being low&#x2F;no impact to end users while also letting me do it at my leisure. My general approach was:<p>* Import my current Heroku config into Terraform resources so I can co-ordinate changes across multiple platforms as a single atomic change. * Embrace a strangler pattern (<a href="https:&#x2F;&#x2F;www.redhat.com&#x2F;architect&#x2F;pros-and-cons-strangler-architecture-pattern" rel="nofollow">https:&#x2F;&#x2F;www.redhat.com&#x2F;architect&#x2F;pros-and-cons-strangler-arc...</a>). I used Cloudfront, but you could put any CDN in front.<p>* My databases + workers were a large part of my Heroku bill, and I had a very spikey usage profile (potentially days with near zero usage, with brief peaks), so I used it as an opportunity to refactor towards a serverless infrastructure (<a href="https:&#x2F;&#x2F;www.redhat.com&#x2F;architect&#x2F;pros-and-cons-strangler-architecture-pattern" rel="nofollow">https:&#x2F;&#x2F;www.redhat.com&#x2F;architect&#x2F;pros-and-cons-strangler-arc...</a>). This was entirely superfluous to the migration though. If I&#x27;d not taken that approach the alternate would have been to provision and RDS Postgres instance, add the required IAM profiles to my Heroku app. Work out how&#x2F;when to schedule a window to cutover to RDS being the primary DB. Update the DATABASE_URL accordingly. Again, doing all of this via Terraform to make it happen. But doing it in small incremental steps where possible (i.e., adding the IAM profiles to the app first). Once cut-over, take a final snapshot of the Heroku Postgres database and then shut it down.<p>* Updating the code on my workers to be idempotent.<p>* Make sure config vars are imported to Terraform and are sync&#x27;d to the various places they need to be (probably just the Heroku app for now).<p>* Have the workers run inside containers on AWS (doing them just one worker at a time), exposing the required config vars for them to work. Let the Heroku + AWS workers both process the work for a period of time, hence the need for being idempotent. Once I&#x27;m confident the AWS ones work as intended, shut down the Heroku workers.<p>* Picking off individual paths&#x2F;API endpoints to serve from AWS. In my case I also migrated all of this to API gateway + lambda. An ALB with EC2&#x2F;ECS would have also been an alternative. Add a new path based route to your CDN (e.g., &#x2F;v2&#x2F;the-existing-path) and have it&#x27;s origin point to your non-Heroku service. Test it. Once it works, update the existing path that users are using to now go to the new origin. It means if you discover some issue you can quickly update the routing to have Heroku resume serving that route. Once you&#x27;re confident, rinse and repeat the next path. Continue through until all traffic is ultimately served by the new host.<p>* If there&#x27;s nothing left then scale down the remaining processes on Heroku.<p>I&#x27;ve gone an all-in AWS approach, but the same general principle could apply to whatever platform you want to run on. I think the biggest thing people I&#x27;ve spoken to in the past about this overlook is that you don&#x27;t have to make some big wholesale switch. There&#x27;s ways to derisk it and take an incremental approach to migrating. Which also drastically reduces the cost of making the wrong decision. If you can run just one route through AWS&#x2F;Fly&#x2F;DigitialOcean&#x2F;whatever then you can get a sense for whether it will _actually_ work for your needs, and quickly roll back if you change your mind.
econner超过 2 年前
Yes.
appliku超过 2 年前
3 years ago, I tried Heroku and was quite impressed by it. Although the price is prohibitive for a hobby project that needed resources but wasn&#x27;t generating any revenue, I had to start seeking other options.<p>Ended up developing my own Heroku but focused on Django deployments.<p>Three years later, it works like a charm and has many happy folks who thank me for making it.<p>Meet Appliku: <a href="https:&#x2F;&#x2F;appliku.com" rel="nofollow">https:&#x2F;&#x2F;appliku.com</a>
评论 #32581645 未加载
throwaway1777超过 2 年前
Lots of astroturfing in this thread. Suggest everyone do their own research before making any moves.
评论 #32583080 未加载