If I had to host on a single VPS, this is how I'd do it

preview_player
Показать описание


Рекомендации по теме
Комментарии
Автор

Btw, keep your sysadmin egos in check and just deploy using existing PaaS that manage all of this for you. I wouldn’t never host on a single VPS for a production system.

WebDevCody
Автор

you are the GOAT of web dev content! Much love for you dude!

rotivanov
Автор

Great content Cody, really enjoying everything you're putting out. Nice work!

MartiinWalsh
Автор

Thank you for tackling the mundane world of vps hosting, it is a very comprehensive video explanation of how to have a solid handle of a vps deployment.. Maybe you should do a video on how you prevent run-away cc charges on the serverless platforms you prefer to use. I think the nightmare scenarios we all have read online is what makes us stay away from serverless.

bzmrgonz
Автор

Thanks Cody!
Could you please provide guidance on configuring CI/CD using GitHub Actions for a VPS?

rashzh
Автор

For Grafana+Loki, it's not as good for search as ELK (it doesn't have an inverted index full text search engine) but it is far faster and scales to ridiculous levels, while using much less storage. So if the goal is to dump a million log lines per hour into it, Loki is probably a better choice than Elastic. Otherwise, stick to ELK.

kanadaj
Автор

Thanks for showing this regardless. When it comes to personal projects, I still go this kind of route due to budget.

josephajibodu
Автор

Even though I agree with your opinion on using existing PaaS instead of self-hosting, I still appreciate that you take the extra step to show how it would actually look like if you were to use a VPS instead. In my current workplace we are so few devs that we need to pretty much manage all aspects of the dev pipeline and one of the main reasons why we didn't go with self-hosting is because the complexity is so steep that teaching it to someone who has previously only worked with react-native stuff would just not be worth it. Much simpler to teach someone to do basic deployment to production and such if there is a friendlier interface to use e.g Hasura.

NoobaLV
Автор

super awesome insight man, will look deeper into all of the tech you used & implement it

rezhabahari
Автор

Thanks for actually posting a video on using a vps I know many other YouTubers that would just dismiss it and not even give an attempt

PwrXenon
Автор

I dont understand how you use something like web sockets or cron jobs with serverless architecture. Do those things have to run on a VPS where its stateful? Could you touch on that a little?

FlygOnLiTe
Автор

SST seems to be the real sweet spot, but I've never used AWS for db. Might be missing out. For that, I'd probably just use supabase or pay 15 bucks a month for a managed DB at linode. I never use planetscale because they dont have real relations which bugs me.
great video man!

st-jngk
Автор

A very informative video for my level of experience. Thank you.

anasouardini
Автор

u should try the community edition of portainer to view all your containers, images and that kinda stuff ^^

skully
Автор

This is so much appreciated, many thanks, I am coming to a point of where I am needing a place to host my site also, I was wondering have you already covered a docker and AWS setup on your channel?

w
Автор

Great video! 😊 Complitly agree with everything, setting up VPS is great for learning but for a business or serious project my goto is eather aws lambda or aws fargate for containers. Great stuff 😊

igortalic
Автор

I love your work.. keep it coming bro ❤

waghitech
Автор

Great explanation! May I ask why would anyone do this over using something like Vercel or Aws? This feels like it would take months to learn for someone new to devops/cloud. Id rather use a provider and actually work on building my application.

TedMosby-fkgj
Автор

You should add this video to the description of the first video. And some of the other new ones, in case someone comes across that video. It seems counterintuitive from reading titles. But can be cleared up in the description 🤷‍♂

erocvdub
Автор

Hi Cody, I’m sort of a beginner on devops/hosting thing. My question is, if I were to host my API on AWS Lambda, what do you think is the best option to deploy my React app? I’d like to make it all as cheap as possible

yohance