This is better than most of the 'learn devops in 5 hours' videos. Your way of illustrating a 'complex' topic is phenomenal man, thanks!
@antidegenerates74493 ай бұрын
I love how Cody videos has zero editing, no making faces on camera, like bad actor, no silly mimics and tone. Just sharing knowledge, without even looking at camera. Just respect, mate
@antidegenerates74493 ай бұрын
No degen Fireship adhd cuts, whatsoever.
@100timezcooler3 ай бұрын
bros locked tf in , i respect the candidness. Theres this other dude i watch that is literally playing tony hawk pro skater while hes dropping knowledge. xD
@ericka.montanez68213 ай бұрын
In a world of fabricated tones and faces this is refreshing.
@pepper_oni3 ай бұрын
A little money-saver here: before diving into real-rented VPS, perhaps it would be better to try run virtual machine on your local PC (using VMWare, Virtual Box, etc), and test your stuff on it - take your time, but you'll get even much more insight on how things works (especially networking) in addition to what Cody says in this video (much appreciate his work), totally worth it ;)
@wasaabbi3 ай бұрын
Honest, detailed, straight to the point - you're diamond among web/programming oriented creators. Hope that you'll keep doing what you doing and this channel will fly to 1mil subs.
@billnye73283 ай бұрын
This was amazing. Fastest 20 minutes of my life, and it was about dev ops
@zi_t3 ай бұрын
unbelievable. i have no idea how you can teach so effectively. blows my mind every time. as usual: thank you!!
@WebDevCody3 ай бұрын
me neither, I just yolo it
@AtizaJuanita3 ай бұрын
Simply one of the best videos by one of the most underrated content creators!
@JoeBuza3 ай бұрын
This was phenomenal. I had knowledge of the individual components but never took time to put them together in a coherent manner. Great work
@RyanTipps3 ай бұрын
One of the most helpful dev videos ive seen. Thank you!
@LAFLAME11113 ай бұрын
Dude this is one of the most informative videos I’ve seen relating to devops and the importance of knowing what’s actually happening. I see myself rewatching this just to do some of this manually
@axedotdev3 ай бұрын
I deploy next apps at work over AWS ECS (elastic container service) & ALB after containerising it. I had to turn off optimised images in next config as it was causing memory to creep up and also some adjustments in Dockerfile. Whole setup runs quite stable, i have also setup certain auto scaling policies for containers and custom cicd setup for it over github actions. I think this is the most scalable and stable approach without setting our own k8s cluster or depending on vercel.
@sarabwt3 ай бұрын
I haven't looked at vercel pricing, but there is almost no way that it is cheaper.
@WebDevCody3 ай бұрын
ECS also works (fargate as well)
@TheKevinbigfoot3 ай бұрын
I wish I had seen this video years ago. I had only ever used Vercel or Heroku until recently when I had to spin up a vps for a project. Had to go figure out all of this and it was not simple! Still learned a lot from this video that I will need to go add to that project. Thanks for the great content!
@rodjenihm3 ай бұрын
You forgot the pain of making database backups. And praying to God the file is not corrupted when you need to restore it.
@JagaSantagostino3 ай бұрын
With today tools is literally 1 command to backup on s3 or similar bth
@antidegenerates74493 ай бұрын
Yeah, rookie will backup to s3, totally
@GreatTaiwan3 ай бұрын
@@antidegenerates7449 so don't use a service but use this service .. huh ?
@JagaSantagostino3 ай бұрын
@@antidegenerates7449 yes will do, takes little to learn and theres a ton of material, let’s stop pretending people starting out are stupid, they would not even understand how to open a terminal otherwise. If you can deploy to vercel you can also create a bucket and copy paste a script
@uchennaofoma46243 ай бұрын
Managing down services and getting email notifications when they go down is also going to be another process to setup
@hotdaq3 ай бұрын
I already know most of this, but after 9 minutes I have to say, your explanations are so damn good!
@0xbrandawn3 ай бұрын
Some of the most important content for new devs. Thanks for doing these
@SaifurRahmanAkash3 ай бұрын
wtf! Have I just done a DevOps crash course or what? Somehow I'm super excited
@WebDevCody3 ай бұрын
You’re now a devops engineer, welcome to
@8andre33 ай бұрын
Reminded me of the "What does larger scale software development look like?" video. Your ability to diagram systems is really good, and it helps beginners a lot. Keep it up
@mateusztylec2153 ай бұрын
This is exactly the path I went through. I'm currently working as a DevOps in a 9-5 job, dealing with all sorts of tasks. But when I work on personal projects, I just deploy on Railway (thanks for the recommendation, love it!) and focus on what brings value, not on the background stuff users don't care about.
3 ай бұрын
Now I know where to send everybody that asks me how to start learning devops ❤ You are a beast Cody!!
@elonmask40773 ай бұрын
never got this explanation so clearly when it comes to devops stuff as SWE. well delivered cody!!!
@tsykin3 ай бұрын
Thanks for visualizing and walking though the entire process, that's super valuable 👍
@oSpam3 ай бұрын
Good job babe! 😉
@SeibertSwirl3 ай бұрын
Hahaha good job babe you beat me to it!!!!
@BillyBobMusic1811 күн бұрын
Amazing video. Spent all of yesterday getting my site to run on a raspberry pi and this covered almost all of it :)
@okadz70373 ай бұрын
You are legendary 👑
@stevanfreeborn3 ай бұрын
This was great man! So helpful to go through this process to demystify what platforms are actually doing for you.
@rand0mtv6603 ай бұрын
I think it's quite important to have some knowledge and experience on how all this works in a more barebones scenario like a VPS. That way you just have more knowledge and see what those managed services actually offer you and what problems they solve. You might realize that for some application you do, you might not need a managed service at all. You also might end up working somewhere where things need to be deployed internally to some servers or to some existing VMs on AWS/Azure/GCP alongside other services. So having this knowledge can make you stand out actually.
@yaronyahav6563 ай бұрын
this is incredible.
@nayandey50103 ай бұрын
i learned something today thank you keep making these
@Steel00793 ай бұрын
Bro, this is gold.
@SeibertSwirl3 ай бұрын
Good job babe!!! I would have been first but I went to bed at old lady hours yesterday and missed the early launch 😅
@stonedizzleful3 ай бұрын
This is so informative dude. Thank you!
@r.k.vignesh78323 ай бұрын
This is a great topic to cover, thanks for making this walkthrough!!
@jaymondal77753 ай бұрын
next video suggestion - docker and Kubernetes
@j.r.r.tolkien87243 ай бұрын
Very helpful. Everyone else assumes prior knowledge about this for some reason.
@xaanders3 ай бұрын
I love it. Thank you so much! Currently getting through a course on AWS. Perfect timing.
@GarthScaysbrook3 ай бұрын
so good :) This was the best explanation I have came across. Thank you
@pankajsharma98013 ай бұрын
I learned a lot today why we have different options to deploy and why different technologies exists what problems they solve very useful video thank you so much bro for sharing
@techwithsoleyman3 ай бұрын
Goated content
@tinrab3 ай бұрын
This is important for learning how things work. There's a difference between indie hacking and getting skills that make you a better engineer.
@salamandr41113 ай бұрын
This video is sooo goood HOLYY
@akka31093 ай бұрын
This is gold Thank you sir
@tech34253 ай бұрын
17:02 totally worth watching till this point. Seriously rofled😂
@jazzdestructor3 ай бұрын
for anyone trying to learn basics the first steps suggested by Cody can be easily achievable locally like creating ssh keys etc (in a linux pc), and if you have a friend with linux pc then can do the remote tunneling as well (just remote into each other pc). PS thanks man need to start with setting up caddy etc need practical knowledge on this. If you and anyone else has any reference links then please send here. will reduce my googling time 🤣 cheers🍻
@oussama406123 ай бұрын
Great points made, learned some stuff even as an experienced developer with DevOps experience
@web3simplified7933 ай бұрын
great vid you did a real good summary on this. funny enough theres not that many good youtubue tutorials litreally on this topic. i remember the first time i tried to deploy an api and host it from a digitial ocean server i spend about two days goo through the roots of learning about nginx and pm2 etc. and then about another couple of days how to set up access keys for integrating ci for autodeployment. custom deployment is not somthing thats talked about or covered a lot but definitely is soo worth the time learning how to deploy an application from scratch on a custom server. makes you apreciate things like vercel so much lol
@notril54603 ай бұрын
Great video! thank you for doing it 😊
@flamethrower8833 ай бұрын
This is a gem
@HopeUnveiled3 ай бұрын
That's a great informative video. Thank you
@thecoder16313 ай бұрын
devops added in my resume, thanks cody xD
@dandogamer3 ай бұрын
Great video, agree with your points. Docker is definitely recommended to learn, it's great for dev environments
@nwsome3 ай бұрын
1:47 I'd say there's no reason to "have a decent amount of cores and memory" for learning ssh and server configuration
@WebDevCody3 ай бұрын
The reason I say that is because if you get a 512mb machine, it’s often pretty slow.
@nwsome3 ай бұрын
@@WebDevCody That wasn't my initial experience with ec2 micro. But I've been used to using crappy hardware back than, so my standards might have been pretty low)
@rafachojnowski75493 ай бұрын
That's a great video, thanks
@reqtified3 ай бұрын
Cody, do you have a full tutorial of doing all this? I've deployed to VPS before, I've done everything before up to 11:30 in the video, but the CI, docker, virtual volume DB mounts would be amazing to watch and super helpful. Even if you have any paid tutorials on that part let me know. For my next app I'd love to go full VPS. :) Amazing as always dude.
@AlexGarcia-ir7fl3 ай бұрын
Thank god I learned Go. Only drop my binary into the cloud provider UI.
@WebDevCody3 ай бұрын
it is very convient
@marybeansie63672 ай бұрын
Wish I learned web dev from you from the beginning.
@TechnologicNick3 ай бұрын
"this video is for beginners" "learn vim"
@maciekdeveloper3 ай бұрын
just use nano instead
@spirisera3 ай бұрын
vim is the best tool I’ve ever learned as a dev. I started using it (in vscode) as an intern and it’s been amazing ever since. I can edit files at full speed in any machine, how perfect is that?
@Zoo-Wee-Mama-Sq3 ай бұрын
@@spiriserabut then your full speed is capped by not using the full suite of features when on a full desktop
@hamm89343 ай бұрын
@@Zoo-Wee-Mama-Sqlook into neovim. There isnt a single ide feature i dont have in my neovim config
@Andrew-yi6zz3 ай бұрын
@@spirisera indeed it is! learning vim is the best skill investment I've done as a dev, personally couldn't recommend it more!
@jaz60513 ай бұрын
Awesome dude 😎
@dmytromarchenko42503 ай бұрын
My suggestion would be to learn some Cloud: Google Cloud/AWS/Azure. It has everything you might need (VPS/Serverless platforms/Managed databases/File storage/etc and without 10x price like in Vercel)
@johan28952 ай бұрын
The vast majority of the video had me like: ok seems doable to holy crap that’s a lot more stuff I need to learn about dev and deployment then back to oh thank God there are automated tools for deployment like vercel/railway 😂😂😂 needless to say I will be looking into this all. Great informative video and illustrations. Very easy to follow and understand the overall processes from start to finish.
@Mathes8813 ай бұрын
great video!
@RealParadox853 ай бұрын
Good lord this is a lot of stuff to do. I hate DevOps but respect it lol
@banxengineering3 ай бұрын
Sound advice 💪🏽 You can also practice on a Raspberry Pi.
@0xAquaWolf3 ай бұрын
this is facts, thank you for reminding why i use vercel, i learned most of these steps and realized that i want to ship projects not configure server, Web Dev Cody for president lol
@andrewbyrd283 ай бұрын
Great video. I recently moved to Railway from Fly. Fly was great, but I really like Railway.
@TheRiddl373 ай бұрын
Very cool video, very interesting stuff. I'm a long time software developer I feed like I am missing this knowledge. Make me want to take a deep course on this.
@astronautonmars3 ай бұрын
Vercel's moat basically!
@dddddeeeevvvvvv3 ай бұрын
Really educational stuff. But this is exactly why we have AWS SERVICES
@giuliopimenoff3 ай бұрын
super nice video honestly
@ajzack9833 ай бұрын
never thought cody would recommend vim btw.
@WebDevCody3 ай бұрын
I mean, I used vim all the time when i used to ssh into machine
@Kodlak153 ай бұрын
Learn Nix and you can automate a lot of the work that is involved with setting up and managing a VPS. Only catch is you will spend at least as much time micromanaging your Nix configurations before you start becoming productive 😆 It is addicting if you are the type who gets a kick out of automating things though.
@Oceanus1693 ай бұрын
Will you do a Kotlin and Gradle project?
@parkerrex3 ай бұрын
Would love to see an infra walk thru of scary story generator
@WebDevCody3 ай бұрын
I made a video on it
@whatthepeople3 ай бұрын
What keyboard do you use? Nice sound.
@tmanley19853 ай бұрын
Great video! There's a book by Josef Strzibny called Deployment From Scratch that has a WEALTH of knowledge about well... deploying from scratch. It covers everything from ssh to networking, backups, linux administration, etc. and has solid examples. I don't know if he's done anything else honestly, I probably should check. But anyhoo, it's really well done.
@ziacodes3 ай бұрын
I believe that's devops
@nobilissimum3 ай бұрын
We can only have one private repository in the free version of Docker hub. Is it not a good idea to include Dockerfile and docker-compose in the codebase then git pull, docker build, and docker compose everytime?
@windows073 ай бұрын
Do you plan on trying Laravel in the future and share the progress here, just like you did with GO? I think you will be impressed by the DX, I would suggest the TALL stack
@julienv70313 ай бұрын
Vim mention 😊 give you a like
@bstoynov3 ай бұрын
TLDR: Yolo deploy to Vercel
@Steel00793 ай бұрын
Not really. If your application becomes huge as in terms of users, then you're basically stuck on that platform. Because of egress fees. Check egress fees for vercel and others. I probably will never have a huge app. But I still love to do all of the process and have own server at my home if possible. But this damn ISP won't open ports. Time to go research how to build my own ISP.
@PraiseYeezus3 ай бұрын
@@Steel0079 huh? You can switch whenever you want, what does egress fees have to do with anything? It's not bucket storage...
@RobGeeDev3 ай бұрын
@@PraiseYeezus bro thinks he can switch whenever he wants oh boy
@PraiseYeezus3 ай бұрын
@@RobGeeDev ^ here's another person that has apparently never used Vercel before
@RobGeeDev3 ай бұрын
@@PraiseYeezus I have clients on vercel, once they are on it, its way to assisted etc that is becomes an actual pain getting it working of other deployment sites... you clearly are inexperienced
@ElHeloint3 ай бұрын
I'm sad that you have mentioned nginx before apache. Apache is the goat.
@codewithmarcin3 ай бұрын
Ever considered making a full self-hosting Next.js 14 app course?
@WebDevCody3 ай бұрын
I have a starter kit with walkthrough videos
@giuliopimenoff3 ай бұрын
this has been the exact path of my discord bot deployment haha
@funkdefied13 ай бұрын
Don’t forget writing a systemd file for your app!
@WebDevCody3 ай бұрын
And we could package our own rpm and deploy to artifactory ;)
@dandogamer3 ай бұрын
Would you be able to share how docker does updates with zero downtime?
@bogdanfilimon24863 ай бұрын
What keyboard do you have?
@xoutaku76003 ай бұрын
nice breakdown, did you notice how the pain started once you introduced docker into the stack ?
@WebDevCody3 ай бұрын
docker actually reduces a lot of pain because I can just run an image on any machine that has the docker daemon.
@prfkct3 ай бұрын
do i need new vps for every web app? and is there any book or video do you recommend to learn this?
@pencilcheck3 ай бұрын
Heroku and render all are good starting poiint
@vinialves123623 ай бұрын
waiting someone to create a go-based nextjs
@patolorde3 ай бұрын
Nice content
@exkris3 ай бұрын
How does DDoS protection fit into this?
@WebDevCody3 ай бұрын
point your domain to cloudflare and have cloudflare route traffic to your service. for best protection your service should only allow traffic from a cloudflare tunnel instance and you should deploy a cloudflared image on your vps as well, only let the tunnel access your services.
@birch-js9oi3 ай бұрын
how about coolify
@antonpetrov1453 ай бұрын
What do you think of docker and blue/green deployments - will it be good for using with vps? Awesome video btw
@WebDevCody3 ай бұрын
I think you could do it, just deploy two different services, api-blue api-green, each pointing to different versions of your api image. Then in your load balancer reconfigure it to switch to use a different color when you want. But at that point maybe checkout docker swarm or K8S because it has that type of stuff built in already
@eleah26653 ай бұрын
can you get an ngrok account and do this from home?
@justafreak15able3 ай бұрын
Basically a long vercel/railway ad. 🤣🤣
@WebDevCody3 ай бұрын
although... I didn't get paid.. =(
@justafreak15able3 ай бұрын
@@WebDevCody If your gonna give them free promotion how will you get sponsored. 🤣🤧 Hey not a bad thing but still, introducing Coolify would have been 'cooler'. I thought the ending was gonna be about coolify. 😄
@williamschaefermeyer70073 ай бұрын
good vid
@k00k3 ай бұрын
As a senior devops engineer that's been doing this stuff for 30+ years, I've had enough. I'm tired of K8s, terraform, cloudformation, etc. I just want to push my projects to git and have it all work and scale. We are finally there (for the most part) with serverless and the PaaS that are available. I'm willing to give up a bit of control and spend a little more for the fact that I can deploy value more quickly with less friction. I'd much rather spend my time alt-tabbing and watching your videos while Cursor is coding my site based on my big ideas than writing tons of infrastructure as code. Granted, there are many cases (especially enterprise) where this isn't feasible, but for 99% of the people watching these videos, it is.
@WebDevCody3 ай бұрын
you're a smart man
@k00k3 ай бұрын
@@WebDevCody You know what they say, lazy people make the best engineers. The reality is just lazy for tedious stuff, will work 20hrs a day for creativity and results.
@lokuo55233 ай бұрын
TLDR: try to figure out these things on your own until you know the problem these services solve
@RaVq913 ай бұрын
It will take whole months to learn how these things work
@user-td5gy2fh3p3 ай бұрын
this video makes these things seem more complicated than what they actually are. these things are actually pretty simple if you have a solid computer science background.
@WebDevCody3 ай бұрын
They didn’t teach any of this in computer science.
@enzodossantos25463 ай бұрын
This video was one of the greatest I've ever seen. I've a question, what you think about the replicas: flag on docker compose? It's that useful? Sorry if a make a mistake, english isn't my first language :).
@WebDevCody3 ай бұрын
I'd have to look into it, but it sounds like it spins up multiple instances of your service and probably appends an index number to the name. Then your nginx could loadbalance between then?