Heroku Is Dead, Here's What I Recommend

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
heroku was the first easy way to deploy a server heroku made it so easy to just take your code throw it at them and they would run it for you for free without question heroku was essential for so many developers starting up thankfully for whatever reason heroku has decided to make my conversations about heroku much easier by killing the free tier entirely heroku is dead finally happened it's been a long time coming to be frank heroku was the first easy way to deploy a server which is a big thing when you think back on it before heroku you had to know a lot about systems just to take your code and run it somewhere else heroku made it so easy to just take your code throw it at them and they would run it for you for free once it hit a certain point you would start to have to pay for it probably too much but that was fine because of how much it enabled for you especially at that free tier it created a whole new level of hobbyist developer that has without question is a huge part of why i'm a developer now today i got in hosting minecraft servers on things like heroku and more notably for me digitalocean but without question heroku was essential for so many developers starting up and is still regularly recommended for building new applications today it shouldn't have been but it was thankfully for whatever reason heroku has decided to make my conversations about heroku much easier by killing the free tier entirely heroku is no longer viable by their own decisions and definitions as a way to get started building a new application period it just isn't i don't know what they're targeting instead i know it's not me and i'm pretty sure it's none of the people here heroku's goals are not to improve the way that we build applications specifically new greenfield applications anymore thankfully we have so many other super cool options so let's talk about those options let's get us into our favorite scala draw i want to make a new scene what heroku is dead what now so we have quite a few options and paths to go down i want to start actually i try to think the right way to break this up because there's a few different things you could use heroku for you could use it for hosting a website you could use it for hosting databases use it for running a docker image and i would argue that these are the three main things people use heroku for was to host a website that was the db or to run a docker image specifically actually i'm going to put the running a docker image on top i think that's the most common one so if you want to run a docker image or something like that we got a lot of cool options now we got railway probably my favorite and probably the closest thing to a standard railway or to a standard like heroku deployment railway is super fast you point at a github repo if it's a node.js repo it figures things out if it's an xps repo it figures things out if it has a docker image it figures things out and it does it absurdly fast super super cool project super cool company great free tier it's their trial is 500 hours of uh box running a month for free at these specs and if you upgrade to the uh developer tier then you still get that five free dollar or five dollars a month of free credit and if you keep a box running the whole month it's like two dollars a month it's super cheap it's very good i love what they're doing here i've been using railways my go-to to spin up a quick box for a while now recommend it highly there are other really cool options though we have render believetherender.com render is trying a little more to do the like all-in-one thing where they want to be the solution to host your website to deploy like your static stuff around their specialty is definitely hosting images though and i i don't think they would push back too hard on that but they are they're trying to do the jack of all trades thing to an extent with all the different ways you would deploy things i less buy into their vision but it is good that they exist they're they are more heroku in mindset they're like somewhere between heroic and aws and their attempts to do literally everything and then there's fly.io which i would say is somewhere between the two where fly wants to do really crazy infrastructure things around region management so with fly it's easy to build a system that deploys in many different places around the world railway's a lot more limited in terms of the regional deployment stuff that it offers so if you want to build like a postgres clustering database and with replicas all over the world if you want to have images spinning up all over the place this is one of the best ways to do it they call it the edge i don't think that's necessarily fair it's still region based edges tend to be much closer to users and much faster to spin up and kill there is a much like the cold start times on fly are better than a lambda but they're not much better than a lambda so i'd say those are the three ways i would go for running a docker image you could always go the more advanced ways like setting up aws but these are the three actually i'm going to break this up to easy medium hard i actually kind of want to like split this like horizontally okay so if you want to host a website heroku was never good for that because it's focused on hosting boxes and you want your website to be a lot closer to your users the easiest way to do that by far is versal now if i is up there as well i say github pages it's more limited but it works medium solutions honestly render probably fits in there and it's probably less valuable or viable in that space as well but it's there it works it's an option i think i would put cloudflare here i'm torn between if cloudflare is medium or hard but it's yeah and then hard let's say aws gcp if you want to host all of that yourself you can there's a lot of different idiot services some would probably fall under medium i don't feel like making that distinction right now because i am lazy and this is meant to be a quick how to get out of the the hell you are in uh and we'll do one last here or i would say for easy for database railway should probably actually show this wanna see how hard it is to spin up a database on railway i gotta make a new postgres database any moment now i have a new postcourse database if i un full screen you'll notice something very interesting i'm not even signed in i'm not logged in they just made a free db for me i can click here click connect here's the url for it which they blur out because they know i'm going to stream with this but i could just connect to this postgres database now it's done i'm not going to claim it because i'm cool with this getting deleted but it's that easy to spin up a database of railway so they are definitely and i am firmly keeping them here the easiest way to spin up your database medium we got a lot of cool options now planet scales obviously near and dear to my heart love them to death really good option they also have super bass we have cockroach and there's a few others coming up that i'm not as interested in hard i'd say aws gcp sure people are saying atlas sure cool i i'm putting alternatives to heroku guys not things that will kill your company cool so there you go depending on what you want to do really easy straightforward solutions here if you want to host a docker image if you want to have the traditional like application deployed on a server railway is incredibly easy render and flyer a pretty good place easy enough to set up and aws is great if you want to put the effort in you'll be paying less money because all these other things are built on top of aws and over end up charging for it but it is a lot more work to figure out and you're much more likely to accidentally charge yourself a bunch of money hosting a website we talk about ourselves a lot here netflix super similar github pages if you don't need any dynamic behaviors at all you just wanted to load on the client it's a great option as well medium options you can still use render.com as mentioned before i don't know much about their web stuff sure it's fine or you can use something like cloudflare which will involve more effort and knowledge of how to deploy on there it will not run net or nodejs so know that going in and for hard mode you can spin everything up you'll notice a theme here aws tends to be hard mode option for all of these and then for databases railway lets you click once get started i don't know if that will scale particularly great for you uh planet scale super bass cockroach and atlas all offer pretty simple setups with better scalability overall uh supa bass less so than the others i guess atlas probably isn't super scalable i'm gonna reorder this accordingly i would recommend planet scale and cockroach before i'd recommend the others and then hosting databases i would say yeah think that clarifies i see i saw demo deploy come up i saw uh digitalocean come up those are all valid options and fine especially like if you're buying into deno go into dental dental is probably a great way to use it if you are not in the then of your system buying into it just for their like deployment stuff feels a little weird i i could put digitalocean they're fine i just meh i think that there are cooler new options that are worth going with uh flight control is interesting but it's very early uh somebody's asking about websockets i don't think websockets are really a thing you should use heroku for and if you were that would fall under the docker image side of things generally i prefer for like a website is one of those things i'm okay with outsourcing right now because the hard part isn't like the infra is hard but that's not the thing that you should care about when you're building it so pusher's fine abel is okay uh live blocks looks really promising i'm excited about what they're up to the ibm cloud i don't think about the ibm cloud thankfully hope this is very helpful heroku is dead i know it's painful but there are lots of awesome options and i hope that you treat this less like the the sun is or the sky's collapsing and more like the awesome opportunity that it is to check out some of these new solutions and build some really cool stuff please take the opportunity check out railway check out versailles check out planet scale check out all these other awesome operator options that you have to build full stack applications thank you again for the time
Info
Channel: Theo - t3․gg
Views: 236,737
Rating: undefined out of 5
Keywords: web dev, javascript, typescript, full stack, heroku, deployment, hosting, free tier, free, servers, vercel, ci, firebase, render, docker, kubernetes, webdev, app development
Id: prjMJtXCR-g
Channel Id: undefined
Length: 11min 58sec (718 seconds)
Published: Fri Sep 09 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.