Heroku Is Dead, Here's What I Recommend
Vložit
- čas přidán 7. 06. 2024
- The death of Heroku does not mean the death of your hobby projects!!! There are SO MANY great solutions for full stack web development
Links to some of my favs:
railway.app/?ref=theo
planetscale.com/?ref=theo
vercel.com/?ref=theo
JOIN OUR DISCORD t3.gg/discord
THANK YOU IDEZ AND MIR FOR THE EDIT - Věda a technologie
Easily the most helpful video I've ever seen on CZcams. Always good content, but this one is pure gold. Thank you
Heroku was good for startups and MVPs. When startups hit production and start making profit, they begin to scale and purchase more services on their platform (Heroku). Honestly I thought this was their business model, if not they are messing up badly
I'm not really involved in any of this and didn't know what Heroku was before, but out of curiosity I went to the website and all I got out of it is that they host a bunch of weird apps, that no one uses and I didn't see anything about other types of services on there. Pretty sure they are just trying to make more money and focusing on the handful of small successes they have, rather then all the random everything else, free users do with them that's basically farts in the wind. I don't know what I'm talking about though, this is just makes sense to me. Also some free users have tons of apps and they're basically charging per "slug", which basically translates to per charging per app. So it's to get people that do that to either pay through the nose, reduce their usage, or move on.
@@dickrichard626 Heroku free tier used by millions, many new developers who started to learn hosted their hobby site there. I would say Heroku was lucky if 1 out of 1000 would upgrade to paid tier. It was definitely a money sink.
5 a 7u tu
and school/college project
man, I'm watching you for quite a while now. you're very authentic and interesting, I never skip one of your videos and I'm really grateful to get all this knowledge for free.
I took my company an boost jumped it a couple of levels with the t3 stack!
We're using next with trpc, prisma with planetscale on vercel.
thank you! I don't remember when I enjoyed developing this much.
This shill
is
not
authentic
I just found out about Heroku 2 days ago and noticed they are removing their free tier.
I'm deploying all of my frontends on Vercel anyway, but I needed a solution for hosting a Strapi instance which is not so easy on Vercel.
So this video comes just in time. Thanks Theo, helpful as always!
Great tips! Definitely considering Planetscale and Railway. Those had definitely pulled my interest for what I'm building.
Yep, planetscale is a great option lol
This quickly became my favorite web dev channel (with web dev simplified)! I really love the pace, the tone, the insights!
Thanks Theo
Same hahaha web dev and Theo are amazing check his previous videos and join twitch if you can when its live
sure if you have all day to watch youtube but 12 minute video for really a 3 minute content is very lowly
Web Dev Simplified is just a hack who copycats the greats 3-4 weeks late. Also his tik-toky style cringes the juice out of me.
10 seconds into the first video and already agree!
Just yesterday I was talking with a friend about where to host databases/websites/etc. This helped a lot, thanks!
Started mainly with frontend development and recently dipping my toe into the backend using the MERN stack. I was so naive just trying to deploy my server and client files all into vercel. Came across Heroku but their free their plan was gone. Wasted something a little more cheaper and then came across your channel! Gotta try out railway :D thanks for this video!
You, from the past, sounds like me, from the present. Right now I'm doing exactly that. I am trying to deploy my expressjs server and nextjs client files all into vercel. I don't know why that's naive. Can you help me?
@@curiously-cinnamonI'm in same position as you, i tried hosting server side on vercel , my main objective was to host a websocket but turn out vercel doesn't provide service to host node socket io express server
I switched to another free service which allows websocket hosting using node , but only problem is after few hours they turn off the server to save their cost (for free users I think).
500 MB RAM + 8 vCPU:
Heroku = $7
Railway = $165
1 GB RAM + 1 vCPU:
DigitalOcean = $6
Railway = $30
The above is true supposing you use 100% of the resources constantly for the entire month. While for most people, that won't be the case, I rather pay $5-10 a month max than saving that same money and pray my service don't grow cause it can get out of hands.
The 8 vCPU come handy in Heroku for high traffic services, in my tests, Heroku was able to handle 10-15x more traffic than DigitalOcean. The clear limitation is the low RAM memory as you have to run a light service, or one that uses a lot of third parties APIs.
will always be digital ocean fan. their blog content has saved my ass on more than 30 occasions - deploy an open source container management server for $5/mo and deploy container after container to f**k around with and learn, awesome.
Exactly
yup, it still works for me
Thank you for the video. I am grateful for your time and contribution. Kind regards, Akira.
I really like how you explain things, I've spent 3 days trying to understand the differences between some of the companies you mention, and your opinionated point of view is really helpful
To put into perspective how far gone Heroku is, I used it for years to learn and to prototype ideas. After they dropped the free tier AND had a security incident in the same year, I did everything i could to migrate a current production app that I’m building to AWS. I don’t think I’m ever going back. End of an era tbh.
So glad he didn't mention firebase
Firebase gets a lot more of undeserved hate.
😄😄😄👌 Men you're on point
Why? I don’t currently use Firebase, but I’ve played with it before and found it quite nice. Legit just wondering why you believe that Firebase isn’t good? Thanks
@@silvio2402 I'm not too, I'm in supabase, but I've already listened Theo saying about the price for the service is too expensive.
@@rogerlima8961 Oh, got it. But I think the free tier is already pretty powerful. I thought this was more going in the direction of mere hate towards Google.
Very underrated channel, it became my favorite channel in couple weeks. Thanks Theo! We appreciate you!
Wow! Thanks man, really helpful content!
Great content, man. I'm already using Vercel for my APIs and MongoDB (free tier) for my databases. But still I need a free SQL hosting. Thank you very much. 👏👏👏
for sql i am using planetscale
The video I was looking for. Thanks!
RIP Heroku, we will miss you😥. Still we have a Netlify❤
Not for backend
It IS very helpful - thanks so much!
Thanks Theo! This is the best explanation of the landscape that I've seen.
Tried Railway for the first time today. Created a Node/Express/SQLite project, created a repository, and Railway did the rest. Database costs are nihil because of SQLite. Very impressed by how easy it was to set up. Only downfall for me is the location of the server - west coast USA to Down Under.. Hope this will improve in the coming year.
Fly has a region in Sydney, maybe a good alternative
Does it support cookie storage tho?
@@radagon6919 cookie storage is part of the browser and has nothing to do with the server.
The intro is hilarious. That's enough for a subscription
Have you heard of Altogic it's kinda like Firebase actually a direct competitor would love to hear about your opinions on it
Thank you for always giving us so much delicious info. 🤤
This is very useful. Good preach!
Just learn AWS. And if you learn it well it can help you a lot with your career. Nobody will ask you if you know Railway or Render in any serious company. But if you know AWS that's a huge plus.
Thanks for the short videos.
We use a CentOS server set up on Digital Ocean. Was a bit of work to get set up perfectly, but now we can deploy pretty much any type of application in a couple clicks, fed through an Nginx reverse proxy.
Any tips for simplifying the process of logging in to multiple services just to manage the different components of your app?
Yeah dude, teaching myself web dev became much more fun when I learned about netlify. You can throw html css and js into a folder, drag and drop it, and then point a domain to your project and then boom--you have your own website.
Cloud Run (GCP) is _for sure_ my particular “go to” for running a Docker Image. It’s a real stand out in terms of ease of use, at least for me. I’d put that under “easy” or “medium.” Just for that, GCP ranks high on my docker hosting list.
Very straightforward and easy to follow thank you!
Thank you so much, you help me to solve a lot of time in learning php i think if i am learn it i can host my app in heroku but now i will continue with python and js which i already know it, thank you for the second time (and i am sorry if you don't understand some thing because my english is bad)
Isn't cloudflare pages as easy as netlify for deploying websites?
Which do you recommend for hosting a message queue service?
8:33 is a gem of a comment. Awesome overview.
an excellent guide, thank you
u know the best thing about ur video is that with problems u are providing solution and alternatives to them also
Excelente vídeo 😋
Great video ! I would love it if you will make one for serverless computing . I have been using vercel (easy ) and Aws (hard)
Last time I tested Railway I missed the option from Heroku to just shutdown a project and let it sleep while I am not using/developing it. But I don't found this. Only chance to stop consuming the free hours was to delete all the instances 😢and then I need to redeploy and then I start with a empty database.
I miss this pause option at RailWay
Where can I deploy my MERN project? I am having problems when i want to unwrap this with vercel.
Great, thanks Theo
I have a feeling that some of these free tiers won't last too long in this economy
@@mikeonthebox they have? damnit!
You can still install Dokku yourself
does RAILWAY support Spring Boot deployment for REST API backend?
Great video!
Please talk about the different _x_ Driven Development's in next stream; what their differences are and when you should use which 🙏. All these different processes like TDD, BDD, CDD, DDD, FDD, more like crippling OCD lmao. What's most common in fast moving startups?
Thanks again for this. My old webhost just hit me with a price hike so I'm looking to switch things up.
Why didn't you mention Linode or Digital Ocean as an option?
When you say host a website, I assume this means frontend and backend? and then the DB is there or somewhere else? I suppose I am just not very experienced with multi-cloud setups. Every site I have built has been fully within a single cloud. What about like VPCs and all that? These DBs are just exposed publicly (Only secured by the password)? A full demo deployment would be pretty cool (Frontend + Backend + DB)
I recently discovered self-hosted Caprover. I love it. Especially for my small hobby projects. I have ~$10 2-core and 4 GB VPS and I can have multiple databases, projects on this one instance
Make sure you configure cache, otherwise your server can freeze randomly like mine did
coolify is also really cool alternative to caprover
Is this per month ? I'm looking for a free tier Linux server
@@thvozdovic how do you do that?
In kimsufi you get a dedicated machine for 5 bucks.
Qovery is a good alternative, await for a review by you !! :D
So there isn't an option to have buckets,db and ssr sites hosting? Render is almost there but it has only static hosting.. :/
Am trying to host a website on heroku couldnt deploy it because of static files directory not found. Would it be easier to host Django web on railway
Hello, great video, on netlify is possible have website in wordpress?
How to deploy spring boot? Previously using heruko
can i pause my railway mySQL instance so i'ts only up during development? for my hobby project so that the free tier doesn't hit the limit of 500h/month
Yes
Thank you dude
Hello! If I want to make a web app for free, can I just use both free website hosting and free database hosting? Would it work as one app? Thank you!
video on storage options for t3?
Started using railway for myswl backend, its amazing. However I dont like the 500 hour limit, this means you only have 21 days (from what i understand) while its live. Wish there was something like railway but with unlimited run time.
I completely understand your pain!🙂
Can you do a video on Azure with a local agent for next js?
I am getting "unable to get local issuer certificate" While giving heroin login. Can you help on this
good video, props to you
Thanks, saves me some money and yeah Heroku was nice as long as it lasted. PS! Wher was this video 5 months ago :D
What about Linode for deploying rails apps?
your videos are great and hit the nerve of the time
which one would be the cheapest for dynamic Nextjs app
I wonder if railway will handle docker compose
Thanks 🙏 man.
I just got a notification by Heroku.
It was so sudden.
They didn't made the limitations stricter, they just killed their free tier as a concept.
🤮
What works for dynamic website like wordpress? I am designing my own theme
It's Render for me. Their monorepo stuff combined with Docker support is something no one else is even coming close to. Combined with Preview Deployments that clone prod to those envs is :chef_kiss:
thank you for the intel chief very helpful time to rebuild my apis which will die soon!
4 years back I used Heroku, in final year college project.
It was awesome to use as beginner.
great video
where can I host spring boot API?
Thank you very much man.. I am looking for a place to deploy nodejs express to host API
Firebase was pretty easy to set up a website on with a custom domain, probably harder than Vercel though
Frontend guys really need to stop fearing databases, websockets etc...
Just saying
They just sound scary, okay?! 😂
I was really scared and didn't really *get* backend until I learned about express, and later on next.js. Then also understood it in other languages
i afraid not databases but bad databases design ;D It's brings so much pain
How can I deploy a Docker container in railway?
ty for this video, i've just recently discovered heroku and deployed 2 pet projects there, but few days later they decided to remove free plans lol. Time to find a new place to settle, i guess 😅
I wish Theo had also commented on Dokku
Cloud9 IDE used to be a great free alternative for hobbyist projects... until it got absorbed by AWS and buried deep under the mountain of their paid services. It was instrumental in my learning about web dev but also Linux in general, setting up servers like Nginx/Caddy/Apache, deploying to Heroku (interestingly enough)… even though I had a potato laptop that could barely stay on for 2hrs at a time and was so slow that it was a miracle it could run a Firefox browser at all 😅As long as my potato could communicate with my c9 workspace, only it had to be snappy and stable.
That was almost 10 years ago ! Fun times 😊
OMG...I'm pretty sure I've heard of Cloud9 sometime during my very early projects. And I'm almost sure it was related to a Rails app.
what you guys think of next js, with rest api and frontend hosted on cloud run? Worrying about ssg/ssr.
I tried this, it works okay if you set it to always keep a "warm" instance to avoid cold starts. If you always have to deal with cold starts, however, it takes way to long to spin up your container.
It's a viable solution, if you have about 200k requests per mount with a minimum number of instances set to 1, you will be spending about 20 USD per month.
Since the point of this video is finding free solutions, I assume spending 20 USD/month is not the goal, so I don't think it would fit as a viable alternative.
@@aleksandermirowsky7988 I don't think cold start is that big of an issue as you make it to be. As far your container is not oversized, the cold starts are pretty quick. I am using Cloud run currently for my Nextjs app. Rest you are right about. It is not free so you will have pay for container resources.
@@sanesanyo I was under the impression that container size did not affect startup times.
Quoting Cloud Run docs: "Because of Cloud Run's container image streaming technology, the size of your container image does not affect cold start or request processing time. The container image size also does not count towards the available memory of your container."
Admittedly, I haven't attempted this in a while (more than one year) and both NextJS and Cloud Run have received updates/upgrades since, so I guess it could have improved. I will test it out again, thanks for the tip!
@@aleksandermirowsky7988 Well you could be right but that has been my experience with cloud run. Smaller images start faster. Once they start, the response times are rather similar. But in one case I just deployed an API using fastapi serving a ml model so the comparison is not fair. Nonetheless I don't think cold start is that big an issue at the start. Once you reach scale, cold start wont be a problem. Let me know how it goes for you :).
Whats the easiest one to host a node api app ???
Been using cloud run for awhile. Now that Azure Container Apps are a thing I'm using that a lot since most other stuff we do is Azure.
awsome bro thak you
The planetscale recommendation aged reall well
Whar about hosting nodejs express ?
I have 100$ in azure. Is it worth the time to learn platform? Why its not considered here for hosting? I feel like Microsoft is getting pretty nice for open source with WSL2 and github and openAI. I'm actually more hyped for them than Amazon or even Google.
Would a dynamic Flask webapp that uses a db fall in one of these catagories? Im not familiar with the term docker image..
yes
@@SandraWantsCoke Which one?
Thank you very much.
Where does hosting a fullstack MERN project with running a NodeJS server fall into (with MongoDB Atlas in the cloud)?
probably aws/gcp/azure and the like
Render, cyclic, railway.
Definitely i'm having the best experience with Railway, every week those guys improve soooo many things on the platform
the best thing right now is using cheap vps and deploy with dokku, because railway charge for cpu and ram usage, and that's getting pricy when your app scale or simply getting viral.
Would be cool to see an annual update to this video
Been using Railway for small projects for almost 2 months now and it's great.
I dont get the trail period thing
I've used it for database hosting and it was painfully slow to query. I find supabase much better
@@Hunt92 you get 500 free hours or $5 worth of compute
@@micaelvieira6724 I haven't used it for larger applications -- but saying that your query speeds might not be because of Railway, but rather because of your the code your using to communicate with it. If you have a working example I can test to see how slow this is send me a link.
@@max-c14 how much is the cost to have a full month? (500h cover only ~20 days)
I use Digital Ocean atm, their app platform is really easy to set up
That’s what I’ve used for years too