The Ease of Deployment Tier List for Laravel Developers

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
as a JavaScript developer who's moved into the larel ecosystem pretty recently the ease of deployment has always caught me off guard from moving from JavaScript into a full stack framework like LEL all of a sudden instead of just pointing a GitHub repo to something like for sell or netlify or GitHub pages and be ready to go with my application just like it was in development or for the most part like it was in development and all of a sudden it's just live I can connect a a domain I can get things up and running and it just works the way I would expect it to work because that's how how I built it on my machine but with a full stack framework like rails or leel or jeno or Elixir Phoenix there's a lot more that you have to negotiate have to set up have to maintain when it comes to servers because you have things like long running cues and background jobs and how is the server actually going to talk to the front end and how do those two parts of the server connect and intermingle so what tools do we have as a laral developer to just make things easier for deploying to the cloud getting your local development application up and running online for everyone to see so in this video I put together all of the options and there's probably a few that I'm missing that you have to deploy a laral application today and which ones are easier than others so this is the laravel tier list for ease of to plugin now I will say that I'm not sponsored by any of the products that I'm going to be talking about today I do have ones that I prefer and that I actually use in some of my applications but I wanted to take this from a standpoint of as someone who grew up in the JavaScript ecosystem how easy is it to get something like the larl boot camp up and running online so the way I thought about this is Laro has a boot camp that they've put together that you can choose your front end blade Live Wire JavaScript and you can just walk through building an application from start to finish and I actually have a 3 plus hour long video of where I did something similar to this but building a note sharing app from start to finish from nothing to deployment and you can see which service I use to deploy it there but if we were to deploy something like this what is the best option and what's the easiest option for all the things that you're building out with this if you take a look you have things like notifications which are our email notifications and then you have events that you have to handle so th those are things that we're going to have to be thinking through as we take a look at what makes it easy to deploy an application like this online so let's take a look so if you don't recognize some of these logos that's okay I'll walk through what they are and then just a brief overview of them so we have volter we have fly to IO we have Railway we have herok we have Ploy iio we have render lenoe hetner digital ocean AWS larl vapor and larl Forge and then flight control again this is not a comprehensive list this is just why I've picked out from either things that I've used or things that have been recommended to me and to others and again to reiterate this is all my opinion of what me as a JavaScript developer turned into a Lal developer prefers when it comes to to ease of deployment I have not used Docker extensively I don't really know uh what server permissions are and how to SS AG into a server I don't know that I just want something that's simple to be okay I built my application it's running in my local environment now how do I just deploy that online and have to do as little work as possible as little documentation reading as possible to make it work like I expected to work so I want to start off with the Lille ecosystem offerings first so that would be Lille vapor and Lille Forge and these are ones that are paid offerings by both by the Lille team and I would say that they put out great work and so as a premise if you don't have a dog in the fight and you are looking to just get your application up running as quickly as possible and support the Lille team in the process then Forge and Vapor are going to be great options one you get to support them and two it's like first party access to hosting a larvel application because they're built by the laral team Forge makes it easy to host on volter lenoe hetner AWS and digital ocean while Vapor makes it easy to host on AWS so this is just like a an a wrapper around those services so first off lville Vapor host on AWS I'm going to say s tier because it makes everything easy now it is a pricey application if you take a look at lville Vapor here the it's going to be starting off with $39 a month or $399 a year that's USD there is a free option to get up and running and see if lville Vapor works great for you now one of the things that I really appreciate About Vapor is most my projects are hosted on this but they have everything out of the box so if I was to take a look at the documentation and I was to say hey I want to run a specific queue or store specific files on my application it just comes with it out of the box I don't have to worry about how do I connect to Amazon S3 how do I even get emails up and running because it does it for you as long as you're connected and then have this Vapor yaml file that has all of the configuration settings ready to go it just works and the great thing about AWS is okay everyone knows thaty it's the best deployment service system out there right now especially for service especially for the cloud VAP purch just handles all that for you so I would say if you're building an application and you don't know if it's going to be a big thing or maybe you do know it's going to be a big thing and you're building this for a company and you have the money to spend on lville Vapor do it or if you have one project like that and you want to experiment with a bunch of different projects buy larel vapor for the one project and use it for everything else especially if you have Amazon AWS credit it's just piling up so I would say s tier it works fantastic and it works great LL Forge this is what you can use to manage your volter your lenoe heter digital ocean AWS services but it is not serverless in the sense that you're going to have downtime unless you have the on Voyer zero downtime deployment um offering by Lille as well but it just makes managing servers on those Services a lot easier I'm going to put in a tier mostly because I think it it works great for what it is actually I'm going to put it on B tier mostly because I think that there is still a lot of setup that has to happen it's this is an ease of deployment tier list and this just means that if I'm putting it on B tier there's still a lot of setup I have to have accounts on Len Noe or hetner or digital Ocean or AWS and then I have to use Forge on top of those accounts to just manage it and it Forge makes all of these easier I'm not going to put these above Forge or even on the same tier as Forge because Forge makes it easier but as someone who is used to hey I have this GitHub repo I'm connecting my versel account to that GitHub repo and it just works Forge is still a little bit more there there's still more that has to happen especially if you want to set up all the different pieces and set up up things like domain in your account Forge makes it easier than just managing all these separately I would say but there's still a lot of work on top of that Forge is also you would there's a paid subscription for Forge and they do have a generous trial but again if you are wanting to support the lville team you cannot go wrong with either of these options okay I'm going to put all these together volter Len Noe hetner digital ocean I think that they all have the same offerings and if you have a preference or have already worked with them before then go with those particular offerings but I'm going to put them all in C tier this is because I think that some of them have great options I would say digital ocean and probably volter have better options of saying hey there's oneclick deployment but it's still so much as you have to do there's a reason why Forge was built to help manage all of these and so I would say that unless you your your company or you yourself maybe have credits or just a personal connection with any of these Services then there's no reason to use them individually if you have those credits and you want to use them and you have the money use Forge and help manage them but for easy deployment I would say that there's better options okay let's go ahead and look at AWS and I don't think anyone would be surprising if I put it here in DTI because it's just like some of these except it's so much more complic if you're trying to get up the ground off the ground and running now I don't think anyone would be surprised if I put this in DET here because AWS is similar to all these offerings digit ocean volter Leno hetner but it also just makes things so much more complicated there's no easy way to deploy a lar of application just using AWS now there is something called b. sh and if you wanted to you Deploy on AWS but you didn't have the money to use Lille Vapor then bre is going to be perfect option basically bre gives you the option of handling all that deployment so it's going to spin up the services that you need without having to do it all yourself you just say okay hey here's my deployment file and if I want cues I just install this plugin and then I set it up within this server list. yo file so it gives you all of the functionality that a vapor would but without the the automated management that Vapor provides so if you are wanting to host on AWS don't just do it strictly through AWS use something like bre Dosh but for EA deployment it's still going to be D tier maybe C tier with breef d okay now what about things like Ploy diio and if you haven't heard about this it's basically like a version of render sorry version of Forge pl. IO is a third-party alternative to forge it manages your digital ocean Vol uh volter lenoe and hetner servers and I think it's a little bit cheaper and a little bit more skewed towards the European development side of things as well so if I was not in the US if I was in Europe I would choose Ploy with a header server that would be the best bang for the buck to get up and running quickly but it's still B tier I think there's still ways of deploying easier if you're coming from the JavaScript ecosystem if you've never managed a Docker and you don't really know what a server is or at least how to manage a server properly then there's other options but Ploy makes it a lot easier um so I would say Ploy and Forge are really neck and it just decides what's your personal preference there are going to be some fantastic like free trials for both of those I think Ploy actually has its own free offering where you can have one manage server without having to start paying okay Heroku Railway render and flight control these are all really similar in my mind but I think there's some key differences that you have to think about render is an offering to basically be able to and they have a real the updated website right here but it's basically being able to deploy and scale your apps having to worry about it they have offerings for both postgres for manag redus for Zer toown employees all of all KRON jobs background workers all of this stuff is packaged up for you you just choose which one would you like to use now here's my personal preference I don't think render is greatly suited for Lille mostly because I don't think that's their primary focus I think their primary focus is probably something like rails mostly because I think render and their documentation is geared towards rails and maybe some other backend full stack Frameworks mostly I I get that by their example is Lille 5.8 app which is a little bit ways away from where we are with Lille 10 right now that being said I still think that render still has a great option and it makes it easier to deploy so I don't say a tier we might put this at the bottom of a tier but we'll get there when we get there next is Heroku I'm going to put this in a tier as well Heroku is similar to render but it seems like they have abandoned their customer service aspect a lot of people have moved off of them since of a big pricing change you can't get started for free on Heroku anymore like you can with render at least to my knowledge so I would say put at the bottom of bottom of a tier but there's still some great offerings within that so if you have used Heroku for before maybe with a react app and you already know like how it works and getting it set up and managing the proc files all that then it's going to be a great option for you but I think some of these are going to be better so Railway I'm going to put this above render and I think the reason why is Railway makes it incredibly easy to just get and attach specific instances I I think I like the UI a little bit better than render and then it just has a lot of different options if you would like to scale those applications now the downside of this as especially compared to render is it's going to cost $5 a month as a minimum there is no free tier they do have a generous free trial but everything is going to come down to that $5 a month pricing so I think Railway and render try it out do the free tier on Railway do the free package on render deployer app and see which one do you prefer because there's it's always going to be personal preference as to what makes the most sense for you and as you're trying to find things like how do I attach a database how do I set up Ser uh cues or anything like that it's going to be personal preference as you can see these are my personal preferences next is flight control this is actually a new offering I'm going to put it in the a tier as well in the middle of Railway and render and the only reason I don't put it higher is I actually didn't get this working the way I would like to within my larable application so I think flight control promises a lot of awesome things and I didn't spend as much time as I would like being able to try to figure this out but in the 30 45 minutes I spent I wasn't able to get it fully up and running like I wanted to but the premise is similar to lville Vapor in the sense that you are being able to host on AWS with just being able to point to a GitHub application and they do have some docs specifically for Lille but again I wasn't able to get this up and running so I didn't want and I don't want to be too harsh on them but there there was some parts that probably was user eror that I wasn't able to figure out and was mostly that the server couldn't connect or couldn't talk to the front end that was hosted on their services so I think I needed to change the port that was being hosted so again I think it's a fantastic option and they have some great things going along on the road map and if you're still looking to host on AWS but maybe you don't um maybe you don't have the money to spring for LEL Vapor then flight control is going to be a fantastic option and because I saved it for last you might be thinking okay is this going to be D tier s tier it's going to be S tier for me and more importantly it's going to be S Plus tier I probably wouldn't put it above Lille Vapor 90% of the time fly.io and again I'm not sponsored by fly.io I do not get paid by them this is not me Shilling fly.io this is just me simply saying that I love fly.io as a service I love what it provides and if you could already tell from my three and a half hour long video of getting a production lville app up and running from zero to production I chose fly.io to do that the reason why I'm putting in s tier is a few things one I think it has fantastic developer experience has fantastic UI and I think they really care about their customer as a product two they have a fantastic free tier um you could see here that because one of my applications went a little viral with my zero2 production ready Lille video it's costing me a little bit more than it has in previous months previous months was about like a dollar or a dollar and a half for some of the applications that I'm running but they also I believe give $5 of credits for free so I don't think I'll pay this even I could could be wrong on that it might just be a couple dollars that you get for free but there you do have to enter a credit card when you set up an account but you get yeah $5 a month of usage included so I'm not paying for $5 a month but I get that included with my account which is incredible and I definitely would pay this in a heartbeat if any of my apps kicked off that I'm using on fly to IO the thing that I love about fly to iio is how easy it is to seriously get up and running if I was and you see this in my video from zero to production within lville is after you create an app let's say we had this boot camp app after we created it and we have our local development all up and running and ready to go all you would do is install the fly.io CLI once that's installed once you're logged in once you're ready to go you just say fly launch it detects that it's a laral app it makes all the changes for you of how you're setting up your larval application if you're using node.js and everything like that you just input a app URL in the environment file for this fly. TL file that it provides and then you click or you run fly deploy then it's good to go seriously take a look seriously take a look at the video that I made from zero to production there's a small segment of deploying to fly.io and it took I think maybe 10 minutes to get up and running and it's ready to go and the great part is if you needed to add KRON or Q's you just add this to the fly. Tomo file and all of a sudden it's ready to go it's up and running they also have a fantastic they also have an easy way of setting up things like certificates so if I wanted to do a custom domain they also provide monitoring out of the box so you not only do you get all this monitoring of the server application as well but you could have you could have easy access to Prometheus or set up grafana or Sentry built right in Def fly. iio as well so it automatically connects to your application with you having to run anything yourself so there's a bunch of great options for getting a larl application up and running from zero to production of saying hey I have this application on my local environment how am I going to put it into the cloud online for everyone to see and there's a bunch of different options for that and they depend on your personal preferences what you're looking to get out of the app if you just want to host on a server and not have to touch serverless or if you're like me and you just want something as easy as give me a command to just push this online and give me a URL back and so I think fly to IO gives the best option for that but some of the other options are going to be fantastic for you for your personal preferences and for your application General overall test things try things out check out the free tiers and just build deploy publish publish until you figure out hey this is what works best for me
Info
Channel: Josh Cirre
Views: 1,744
Rating: undefined out of 5
Keywords:
Id: 0VJaUcjVjWo
Channel Id: undefined
Length: 21min 14sec (1274 seconds)
Published: Fri Dec 22 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.