Setting up a production ready VPS is a lot easier than I thought.

Поделиться
HTML-код
  • Опубликовано: 20 ноя 2024

Комментарии • 630

  • @dreamsofcode
    @dreamsofcode  2 месяца назад +27

    To get your own VPS instance visit hostinger.com/dreamsofcode and use the coupon code DREAMSOFCODE

    • @mx338
      @mx338 2 месяца назад

      Cool video, hostinhee is fine but over all Hetzner is a lot better.

    • @dev-akeel
      @dev-akeel 2 месяца назад

      @@dreamsofcode Wow really an incredible video.
      I am expecting a more detailed video, especially about traefik and monitoring.
      And I have a confusion, you exposed port 8080, does that mean I can access your traefik dashboard?

    • @dreamsofcode
      @dreamsofcode  2 месяца назад

      @@dev-akeel When it was exposed you would have had access! But I removed it at the end of the video :)

    • @dev-akeel
      @dev-akeel 2 месяца назад +1

      @@dreamsofcode For yourself as well? Means you no longer have traefik dashboard access?

  • @MightyMoud
    @MightyMoud 2 месяца назад +106

    Dude I have so much respect for you. I can tell you write a script and you put so much effort into those vids. Mad respect dude!

  • @bvdlio
    @bvdlio 2 месяца назад +47

    I find that the difficulty in setting up a VPS properly does't lie in de setup itself, but knowing what things to setup in order to do it properly. This video is great in reminding you of the essentials to do so correctly and safely. Great video!

  • @matthewpulls441
    @matthewpulls441 2 месяца назад +169

    15+ Years experience and I still learned something thank you.

  • @fifty6737
    @fifty6737 2 месяца назад +36

    this dude lowkey uploaded one of the best tutorial out there for a good vps production setup

  • @victor141516
    @victor141516 2 месяца назад +335

    Great summary! I don't really understand why people are so afraid of using VPS for production. It's not really that different from cloud bs, and companies usually have a sre team anyway 😂

    • @Dogo.R
      @Dogo.R 2 месяца назад

      @@victor141516 Will keep in mind that most cloud providers are providing software as well. People mostly go to clouds for the cloud specific software. I mean that's primarily the difference between the cloud and VPSsm

    • @maxlikessnacks123
      @maxlikessnacks123 2 месяца назад

      @@victor141516 You need to handle security yourself. You need to handle downtimes yourself. If your hoster goes down, your website does too. The benefit of these services is that they have an uptime of 99.99% which is on of the biggest selling points to use a cloud provider but you are right, a VPS is perfectly capable of running a production deployment.

    • @jordixboy
      @jordixboy 2 месяца назад +3

      VPS is bullshit for production, you should get a dedicated server for production in any case. If one VPS gets over its resource allocation it could affect your VPS... no way getting a VPS for an actual real production product...

    • @maxlikessnacks123
      @maxlikessnacks123 2 месяца назад

      @@jordixboy That's crazy cuz I've been hosting my production deployment on a vps for 1 year now. I totally agree with you on having issues when anything happens but as long as you keep an eye on your metrics, it'll be fine. Or go with a managed kubernetes cluster. As I said in my comment before which got deleted(???), is that you have to do a lot of maintance yourself. If you don't want that, then go with a dedicated or managed solution. But these can get expensive and if your product doest make any money yet, for some people that's too much. For data though, I got mongodb atlas which is expensive but data is important. If the website goes down its bad but fine. If you lose your data or get hacked you can shut down your service.

    • @SpaghettiRealm
      @SpaghettiRealm 2 месяца назад +59

      @@jordixboy vps is not a shared hosting, vps means virtual private server which as the name says it’s virtual and private and no vps can get over the allocated resource that’s one of the features of virtualisation

  • @TotalImmort7l
    @TotalImmort7l 2 месяца назад +37

    Thank you a million times for this video. I was looking for a way to get started with self hosted deployments and this video is a goldmine for information for me.

    • @hendrywilliam
      @hendrywilliam 2 месяца назад +3

      Dreams of Code is a legend.

  • @patriciodelboca7898
    @patriciodelboca7898 2 месяца назад +34

    Another great point of VPS is that what you learn can be applied on multiple hosts. While learning how to deploy to the cloud will work only for one provider. VPS = Freedom!
    Well done!

    • @jordixboy
      @jordixboy 2 месяца назад

      na not true dude. Almost all cloud providers offer the same services but with different names. Its all the same shit

    • @nou4605
      @nou4605 2 месяца назад

      @@jordixboy Yes and no. If you are using something proprietary you'll need to migrate. It isn't 1 click and done.

  • @badtrapify
    @badtrapify 2 месяца назад +21

    In the past i used to deploy my stuff pretty similiar.
    Nowadays i do it using podman instead of docker, which also supports quadlets as container / network / pod definitions or if you like even kubernetes manifests and has podman auto-update included. That way you don't need to run a separate watchtower container, just add a label to containers that shuld be auto updated. Also it's daemonless and rootless which is pretty cool. You just have to allow non root users to bind to low ports sttarting at port 80 for http, so traefik can tcp bind there.

    • @kai-.-man
      @kai-.-man 2 месяца назад +2

      Nice! Can you share anywhere to start reading up on this setup?

  • @Vinicius7cordas
    @Vinicius7cordas 2 месяца назад +8

    Few months ago I (FE dev turned into Full Stack) struggled to setup a VPS to deploy as a testing env for a LAMP application, and later a React+JAVA app. This video covered many subjects that cost me days.

  • @AnthonyBullard
    @AnthonyBullard 2 месяца назад +62

    This was a great video DOC. One pendantic note: the æ in traffic is a symbol in IPA (International Phonetic Alphabet) for exactly the sound the "a" in traffic makes. Maybe not ideal to make branding that only appeals to Apex-level language nerds like myself, but it works 🙂

    • @AnthonyBullard
      @AnthonyBullard 2 месяца назад +5

      I loved it enough to join your channel, something I don't do often. Keep up the great work you do!

    • @dreamsofcode
      @dreamsofcode  2 месяца назад +5

      TIL!

  • @p_o_z_e
    @p_o_z_e 2 месяца назад +9

    This video is amazing! i've been in the same boat as you feeling a bit "scared" of setting up a production VPS and this videos really makes it much more approachable. 100% gonna try this myself now. Thanks

  • @josephnduati1214
    @josephnduati1214 2 месяца назад +2

    This is really great. Most of us have a vps with some app but I guess many have not containerized, load balanced, automated the deployment and implemented monitoring and observability. Thank you so much for your time on this.

  • @TheLongBen
    @TheLongBen 2 месяца назад +7

    This is by far the best technical video I've watched since a few years. Kudos to your efforts and best wishes from India! 👏

  • @nielskersic328
    @nielskersic328 2 месяца назад +54

    Great stuff! I would love to see you do a deep dive like this into observability. I feel like there are a billion different Grafana tools and like you mentioned, adding the LGTM or ELK stack would increase the complexity of this setup significantly. But observability is so valuable, so I’m really interested in your approach!

    • @dreamsofcode
      @dreamsofcode  2 месяца назад +2

      I'll definitely do a series on observability! Maybe more SRE focused content as well!

  • @kRySt4LGaMeR
    @kRySt4LGaMeR 2 месяца назад +77

    Pleasantly surprised by how information dense and straight to the case this video is!
    About 9:55, the term "security by obscurity" has a bad connotation rightfully so, but in this case changing the default sshd port I'd say is really important. OpenSSH is a battle-tested application, by changing the port of the server you're adding an extra layer of protection. Security by obscurity is a bad when it's the only factor in your defenses, but as an extra layer can be do wonders. Your logs will have less spam, your bandwidth will be less wasted and in the worst case scenario of a 0-day you can buy yourself some time.
    On my previous job, I was so paranoid that I used a ssh bastion host with a non-default port while the target machine only accepted ssh traffic from within the network. This had the added bonus that the sshd exposure was minimal and reserved to only when I was working on the machine.

    • @iaadsi
      @iaadsi 2 месяца назад +11

      A while ago I noticed a sustained ~10 Mbps traffic on a very cheap VPS with a 100 Mbps link. It was all automated scanning of SSH from IPs in all the usual countries. Moving SSH to a high port wards of these low-effort scanners. If you're also running fail2ban, non-standard port means you don't end up with half the internet in your firewall rules.

    • @klaernie
      @klaernie 2 месяца назад +4

      In my opinion using a high port becomes pointless nowadays, since IP scanners and databases like Shodan will discover SSH on a high port eventually.

    • @iaadsi
      @iaadsi 2 месяца назад

      @@klaernie So what's the best practice now? Hide SSH behind WireGuard?

    • @klaernie
      @klaernie 2 месяца назад +3

      @@iaadsi that would just be trading one protocol for another, both offering some attack surface. I just resort to using fail2ban and hardware SSH keys, disabling password based access. And if that is not hardened enough, I would forgo a classic OS entirely - using Talos Linux on bare metal to host the workload in Kubernetes, and having management of the host done the same way as Kubernetes does: API based, authenticated with client certificates.

    • @iaadsi
      @iaadsi 2 месяца назад +2

      @@klaernie thanks, I got some reading to do :)

  • @koffiezet
    @koffiezet 2 месяца назад +19

    Not using IaC I honestly don't consider as production ready, for which in this relatively simple case I'd probably pick Ansible. However this seems to be a pretty good step-by-step you can easily translate into an Ansible playbook.
    My main remark is that because you skipped the database setup locally, I don't see any mention of backups - which is something a lot of people forget, and absolutely critical for a production ready setup.

    • @dreamsofcode
      @dreamsofcode  2 месяца назад +7

      Agreed. Setting up a database for production ready is a more involved process. My main goal was to focus more on the application side rather than the database side of the equation

    • @giannissavvidis1570
      @giannissavvidis1570 2 месяца назад +3

      @@dreamsofcode can you make another video just for setting up a Postgres database in a VPS? That one was really helpful

    • @dreamsofcode
      @dreamsofcode  2 месяца назад +9

      ​@@giannissavvidis1570 I absolutely can! This is great idea.

    • @nickwoodward819
      @nickwoodward819 Месяц назад

      @@dreamsofcode subbed for this - would be amazing

  • @achaabni
    @achaabni 2 месяца назад +2

    Man, until yesterday, I only developed products in companies infrastructure, yesterday and thanks to you I managed to make my own multi-containers project online.
    Thanks a lot.

  • @yewo.m
    @yewo.m 20 дней назад +4

    This definitely needs an accompanying article version to make it easier to follow (and honestly to copy-paste commands)

  • @sergiorebelo-MO
    @sergiorebelo-MO 2 месяца назад +47

    If you're looking to deploy your own monitoring solution (probably best on a separate VPS), Uptime Kuma is a great FOSS project.

    • @alanjrobertson
      @alanjrobertson 2 месяца назад +1

      Yep, absolutely love it! Dozzle is also great for viewing logs from the browser.

    • @Glatze603
      @Glatze603 2 месяца назад +1

      But how will you be informed if Uptime Kuma is down? In this case, Uptime Robot is the better choise because it is not part of the systems to be monitored.

    • @wi1h
      @wi1h 2 месяца назад +1

      ​@@Glatze603 how will you know if uptime robot goes down?

    • @Glatze603
      @Glatze603 2 месяца назад +1

      @@wi1h It´s a public service and when this goes down, your private homelab is not down, too. In this constellation, you have 2 different service-stacks.

    • @wi1h
      @wi1h 2 месяца назад

      @@Glatze603 but you'd set up uptime kuma on its own vps in a different region or whatever, so it's still two different "service stacks". or you can do it in your homelab with the vps outside of it, or vice versa
      i've had uptime kuma running on a free tier ec2 instance for about six years monitoring my homelab services, i've never had to touch it and it's never gone down

  • @sanjaymunde2270
    @sanjaymunde2270 2 месяца назад +2

    This content is gold, it briefly summarises my 3 years of experience in 30 mins 👌🙏🏽

  • @ricardomoreira1556
    @ricardomoreira1556 2 месяца назад +8

    This the best video I’ve ever seen on the topic! Great work!

  • @zebcode
    @zebcode 2 месяца назад +6

    What I really appreciated from this video was a breakdown of how you sort of put together requirements. It would be great to have a more in depth video covering an overview. Something like the following. No need to go into too much depth but maybe each part a quick demo and things to consider.
    Road map
    Defining requirements (I like to use the WRSPM model)
    Assessing market value and profitability
    Evaluating whether or not it's a good idea? Perhaps a business model canvas or something.
    Wireframung UIs
    Designing architecture
    Setting up a site with a coming soon message perhaps a quick one with tailwind and astro. So you can copy paste ui elements straight in ans easily edit them.
    Basic GDPR compliance and considerations (privacy policy, cookie notice) astro markdown file.
    Maybe touch on analytics
    Adding a sign up and newsletter to the site
    Engaging with an audience.
    Getting feedback through surveys
    Basically everything you should do before you start coding.

  • @Apieces2008
    @Apieces2008 Месяц назад +1

    It's so rare to me for comment something on youtube, but you deserve it: THANK YOU A LOT. This is a gold mine. Very, very good! I have 15 years of exp and I never seen someone teach in such a simple an easy way.

    • @dreamsofcode
      @dreamsofcode  Месяц назад

      Wow, thank you! I really appreciate that

  • @AlwaysStaringSkyward
    @AlwaysStaringSkyward 2 месяца назад +3

    Nice video! I'm a huge proponent of running my stuff on VMs like this. One thing worth considering is to use something like tailscale for access to the server and configure SSHd+UFW to only be accessible over that. It is a little more secure and removes the constant annoyance of SSH scans. If you need to scale to more VMs they can talk to each other securely over tailscale even if they are on different providers.

  • @bo_leang
    @bo_leang 2 месяца назад +1

    In my opinion, this tutorial is the best practice for deploying applications to Servers from scratch to complex. I learn more about setting up my Server.

  • @aloktiwari784
    @aloktiwari784 24 дня назад

    This was far most detailed video I've seen around VPS, Great!! 💯

  • @tek9ine130
    @tek9ine130 26 дней назад

    I recently set up a homelab and this was the exact video I was looking for. Thank you so much for doing what you do!

  • @bloab
    @bloab Месяц назад

    This is a really cool tutorial, not only do you teach tons, you also cover any step anyone else could've taken. Thanks!!

  • @giftcp82
    @giftcp82 Месяц назад

    what an awesome way to advertise a service. educating and selling at the same time

  • @PanicAtProduction
    @PanicAtProduction 2 месяца назад +57

    Nice video but you forgot backup/recover. It is the fundamental part of the cloud.

    • @benjamismo
      @benjamismo Месяц назад +3

      backup of the whole vps man, not more than 2 dollar a month for most provider

    • @VictorJoseph-lu2rs
      @VictorJoseph-lu2rs Месяц назад

      @@benjamismo what is your backup frequency?

    • @benjamismo
      @benjamismo Месяц назад

      @@VictorJoseph-lu2rs daily, all my vps run on linode, they have an option for that, for an extra 2$ I have daily backups

    • @aymanhenry4725
      @aymanhenry4725 25 дней назад

      The vps provide give this option, for more payments

  • @mohammedbageri00
    @mohammedbageri00 2 месяца назад +1

    this is by far the best vps tutorial that I have ever seen, keep up man.

  • @alexeycherkashin6251
    @alexeycherkashin6251 Месяц назад +1

    Next challenge for you: make all those steps part of your code. So you can spin up an instance of your app on any new Hostinger VPS 😉
    As a Ruby developer, I've tried Cher recently. But I find its infrastructure very unclear and misleading. So I'm going to explore something simpler as a solo developer: Ansible maybe.
    In fact, I had a ToDo item on my "Do it later" list about making infrastructure as a code for a new VPS since I was 18. Your channel is the finding of the year for me. I highly appreciate the great video quality. Good job🎉

  • @Mikesco3
    @Mikesco3 Месяц назад

    This was a cargo container load of value!!!
    It is so nice to see a youtuber posting a video of what he actually knows about rather than fumbling his way through pretending he does...

  • @TheOnlyEpsilonAlpha
    @TheOnlyEpsilonAlpha 28 дней назад +1

    Nice Tutorial 🎉specially the TLS + HTTPS Part was very inspiring.
    But there is one thing you can add to the stack to lower costs and you are in control of monitoring: Uptime Kuma.

  • @nixigaj11
    @nixigaj11 2 месяца назад +4

    Another way to further harden SSH is by setting up a WireGuard VPN with the VPS and only allowing packets on port 22 through that VPN, thus achieving layered security. WireGuard also has a smaller attack surface than SSH.

  • @ElTebe
    @ElTebe 19 дней назад +1

    Really like this video, ground up from the first steps, clear and show the “howto parts” too. Thank you.
    Just a notice: Unfortunately Docker get updates frequently when you have to update/restart the whole service, and sometimes it cannot restart cause some reason (for example a config flag changed in the new version). The other sadly thing when the underlying docker image contains virus (crypto mining, bot, backeoor or other..) or just simple a bug. This is great for a small hobby or test project of course, but far from a “production” solution, theres a lot of single point of failure.

  • @janjanusek4383
    @janjanusek4383 29 дней назад

    many thanks, I managed to set it up, the deploy part is slightly different for my use case but it took me only one day, which is much much better timing than a week :) Many thanks, you just made one more PROD to be up and running

  • @joeljunior1119
    @joeljunior1119 2 месяца назад +4

    That was awesome! I would love to see a observability implementation next.

  • @congminhluu5068
    @congminhluu5068 Месяц назад +1

    I expected some heavy ads and way of doing things that are integrated into hostinger's ecosystem. What I got was a bunch of really useful tips and info. Thanks a lot!

  • @the_saliheen
    @the_saliheen 6 дней назад

    This video is a testament that it's easier and honestly better to go with the cloud provider like vercel or aws if your app doesn't have 500 active users. Just focus on writing features to attract the customers. This VPS approach can easily swallow a week of configuration.
    That being said, I do have a medium traffic app which costs me about $86 monthly between vercel and aws thanks to ELB and RDS. That's a lot of money for me, so I might look into alternatives, but not before I check how to use Serverless.

  • @MuhamadAzizPrasetyo
    @MuhamadAzizPrasetyo 2 месяца назад +1

    I don't know what to say other than thank you. You got a new subscriber here! Mad respect for your effort!

  • @ness43
    @ness43 2 месяца назад +1

    That's the kind of video we love! Excellent work, and I really enjoyed the little animations with Traefik and Watchtower haha !

  • @Redyf
    @Redyf 2 месяца назад +6

    The timing for this one was perfect haha, great video!

  • @Radinmsv
    @Radinmsv 2 месяца назад

    This video was a game-changer for me as a junior developer. I learned so much. Thank you! 🔥

  • @baronvonherzenberger2473
    @baronvonherzenberger2473 2 месяца назад

    This video is great! Thanks a lot. It's good to know that there are still talented people producing quality content.

  • @therohitdas_com
    @therohitdas_com 2 месяца назад

    I have been using VPS and deploying for the last 4 years, still learned some new things!

  • @emiellr
    @emiellr Месяц назад +2

    Mate, I believe you're required to flip the 'sponsored video' toggle in youtube. It displays a little label at the start of the video indicating that it's sponsored. Great vid! 👍👍

  • @fjveca
    @fjveca 2 месяца назад

    you have no ide how much I needed this video, it's basically perfect

  • @hacking4good
    @hacking4good 2 месяца назад +2

    Wow, I learned so many new things... Great job, sir 👏

    • @hacking4good
      @hacking4good 2 месяца назад

      In the end, how much did it all cost? (Hostinger, Domain, etc)

  • @anastasiosdados6375
    @anastasiosdados6375 2 месяца назад

    As an SRE, I would also say amazing exlanation and walkthrough. Voice + mic also helps a lot. Great content keep it up

  • @Play_Streams
    @Play_Streams 2 месяца назад

    This is one of the best VPS setup videos on YT. Thank you

  • @lilyydotdev
    @lilyydotdev 2 месяца назад +3

    Please also consider IPv6 when deploying like this. It's easy enough to simply point an AAAA record of the same name to the server's IPv6 address and set any services such as a web server/load balancer to listen on [::], as well as to enable the firewall on IPv6. UFW will even add IPv6 records for you by default if you do not specify the address family explicitly.

  • @mrexodia
    @mrexodia 2 месяца назад +3

    I would suggest also setting up the firewall directly in the VPS panel. This makes it so any accidental rules on the VPS don’t automatically expose the wrong ports (eg the docker iptables issue would be prevented). The obvious downside is that you need to define the rules twice.

  • @majestif
    @majestif 2 месяца назад

    The quality of the content in this tutorial left me no choice but to subscribe 😁

  • @JoshIbbotson-
    @JoshIbbotson- 2 месяца назад

    This is so damn good. I setup my own VPS before on digitalOcean as a junior dev and it was shaky to say the least. Having everything outlined for me here is brilliant going to utilise this 100%

  • @eiley1336
    @eiley1336 2 месяца назад

    One of the best videos I've seen out there. Thank you so much for this video!

  • @sm5172
    @sm5172 2 месяца назад

    Excellent presentation and channel overall, well done and thank you, sir! Found you only today and already watched a couple with great interest.

  • @BonganiNdlovu
    @BonganiNdlovu 2 месяца назад

    Excellent break down, have a similar setup using the original docker based rancher to manage the stack - cheers for sharing, watchtower is great find!

  • @ChuckAsum
    @ChuckAsum 2 месяца назад

    I was about to comment about the lack of historical monitoring ability for the definition of production ready, but I appeciated your explanation at the end why you decided to just use a simple uptime monitor.
    I think your video definately has one of the realest takes on what considerations, challenges and viable solutions in the web development industry - not only that I am impressed you were able to create this on such a small budget.
    Would be interested to see you add log and performance monitoring on a budget aswell - if the off the shelf products exist and perhaps can be feasibly be run on the same box with a log retention of X amount Gbs or X amount of days.
    Again awesome video, I will share this with my team :)

    • @dreamsofcode
      @dreamsofcode  2 месяца назад

      Thank you for the kind feedback! I really appreciate it.

  • @nathannych
    @nathannych 2 месяца назад

    Wow! This is the exact solution that I need for my homelab attempts. I know what I'll be working on this weekend. Thank you, thank you!

  • @Arillaxe
    @Arillaxe 2 месяца назад +1

    Great tutorial! I would also add a step to setup an auto run for the docker compose to run on boot. Cause once the server goes down for any reason, you would need to manually start the services again

  • @pulsechainalltheway1845
    @pulsechainalltheway1845 2 месяца назад

    Wow, so much information in a single video. Thank you

  • @georgemwaniki
    @georgemwaniki Месяц назад

    As a frontend dev who fear ci/cd and anything linux that was the best deployment walkthrough ever, great video

  • @mementomori8856
    @mementomori8856 2 месяца назад

    Quickly becoming my favorite tech channel!!!

  • @epithesi_sobrero
    @epithesi_sobrero 2 месяца назад

    Excellent video dude! Clear explanation on everything and focusing to things that are important!

  • @korczas
    @korczas Месяц назад

    Thanks man. You saved me over 2000$ - this is the quote I received from company for similar setup.

  • @humadi2001
    @humadi2001 2 месяца назад

    This guy has pure passion

  • @marcempunkt9737
    @marcempunkt9737 2 месяца назад +2

    I love using arch as server os for my side projects the arch wiki is a nice to have and unless you do some weird things it "should" never break. Ill update this comment until it does but right now rocking arch linux as a simple html/js/css website server for over a year and half

  • @junyangchin6993
    @junyangchin6993 2 месяца назад

    Very well explained. I also liked that you did not use any proxies and CDN which are nice to haves but aren't absolutely necessary

  • @achaabni
    @achaabni 2 месяца назад

    my man, you have a way to assure us and now I am planning to make a copy of this.
    Thank you

  • @blazenetwork242
    @blazenetwork242 2 месяца назад

    What an amazing synthesis. Well done!

  • @MerthanMerter
    @MerthanMerter Месяц назад

    wow this was the coolest video ive seen lately

  • @yrk06
    @yrk06 2 месяца назад

    Great Video! Very well paced and very informative.
    About the firewall, I have my VPS in digital ocean, and they provide a firewall layer outside the VPS. Using that I’m able to limit port access without having docker issues, this could also be a viable firewall strategy in your scenario

  • @solknar7819
    @solknar7819 2 месяца назад +2

    Awesome video as always! I have been through the same journey as you, and the outcome of that learning is the ecodev-infra repo (and an associated mkdoc documentation that may help some). There you might find dozzle interesting for quick logging, uptime-kuma (instead of uptime robot, might as well use the original OS tool ☺), more considerations on security (the ufw/docker correct interaction that you mentionned, modsecurity waf/fail2ban/secure headers via traefik...) and much more (like a simple bash script to automate the parts you did on setting up an user, installing docker, setting up ufw ...) ! Hope you can benefit from it as I benefited from your 2 channels! ☺

    • @tuanvumaihuynh
      @tuanvumaihuynh 2 месяца назад

      Your repo is so good bro, I usually use caddy for reverse proxy, after watching this video may be I will give traefik a try :))

    • @solknar7819
      @solknar7819 2 месяца назад

      @@tuanvumaihuynh Thanks so much! 🥰 If you liked it, the follow up is the associated documentation, and then ecodev-app for a modern python (fullstack) web-app! Hope it can help others too! 😊I was so thrilled to see this video, if @dreamsofcode is doing it I cannot be that much in the wrong ahahah

  • @eldaria
    @eldaria 2 месяца назад +61

    Something is missing on your list. System Maintenance. Running a VPS means you have to take care of ensuring system updates and security patching.

    • @personofsomething6205
      @personofsomething6205 Месяц назад

      any advice on tools or resources to do so?

    • @PASTRAMIKick
      @PASTRAMIKick Месяц назад

      ​@@personofsomething6205 probably start with IaC and Ansible, from there you'll get some ideas

    • @quentin.aventure
      @quentin.aventure 29 дней назад +1

      @@eldaria A lot of production requirements are missing, it’s more of a personal project tutorial than anything else.

    • @foodlover195_
      @foodlover195_ 20 дней назад

      ​@@quentin.aventure What are the other requirements someone would need to consider? Genuine question.

  • @ratomedeiros
    @ratomedeiros 2 месяца назад

    Dude, this video is so great of content, you did it great, congratulations!

  • @seventeeen29
    @seventeeen29 2 месяца назад +2

    Would love to see a follow-up on a production-ready db!

  • @matthewaraujo7361
    @matthewaraujo7361 2 месяца назад +1

    What a great video, my man! I thought this would be much more complex

  • @soulofangel1990
    @soulofangel1990 2 месяца назад +1

    Much appreciate it. a video of how you created the the application on Golang would be great too... amazing stuff.

  • @Raren789
    @Raren789 Месяц назад

    Great video, I was deploying my own app on a vps not that long ago and I wish I knew about traffic. Nginx is great, but sometimes it was a bit of a pain, as I practically never used it before. Traffic seems so nice with it's integrated docker compose, scaling and TLS capabilities

  • @mikesmarcell15
    @mikesmarcell15 2 месяца назад +1

    Awesome video! I hope to see a video about how to setup a production ready database on a vps as well

  • @ErmandDurro
    @ErmandDurro 29 дней назад

    Wow what a great video. I am actually thinking to give it a try as well. Just to learn a bit more on setting up VPS for production 😃

  • @hakim2858
    @hakim2858 Месяц назад

    Thanks for the video ! Came out at the perfect time :)

  • @alexcaparros
    @alexcaparros День назад

    Amazing content here, thanks for the effort!

  • @scsviolin
    @scsviolin Месяц назад

    This video is gold!! Thank you very much!!

  • @bopon4090
    @bopon4090 2 месяца назад

    I have so much to learn form this, go prod ready code, traefic, ufu, tls management and many more. Thank you bro

  • @vishwanathbondugula4593
    @vishwanathbondugula4593 2 месяца назад +5

    You can decrease the TTL to get the DNS propagation quick, but the downside is that the cache for these dns entries only live for small amount of time, meaning that the dns lookup times might go up a little. Also I would have gone with a debian image just because out of the box it is very lightweight and has like 10 processes at max running, with very less storage usage and RAM usage, Ubuntu always feels a little bloated

  • @harunjeylan9362
    @harunjeylan9362 Месяц назад

    This is the only video you need to configure your VPS.

  • @roguesecurity
    @roguesecurity 2 месяца назад

    Great video. Thanks for sharing. I feel taking backups should also be in the checklist.

  • @AhmadMughal1
    @AhmadMughal1 2 месяца назад

    Very good video and i loved all the details you added.
    I am definitely trying this on my own VPS just to learn more.

  • @jamzykimani
    @jamzykimani 2 месяца назад

    This video is a gem. Thank you so much!

  • @SpaceChicken
    @SpaceChicken 2 месяца назад +2

    I'd never used Watchtower in a Dockerized environment, how cool! Like Vercel for backends. Thanks!

    • @dreamsofcode
      @dreamsofcode  2 месяца назад

      I was pleasantly surprised by how easy it was with docker compose!

  • @74Bagas
    @74Bagas 2 месяца назад

    this is my jam. we're on the same journey. very informative

  • @FuzzyTekShow
    @FuzzyTekShow 22 дня назад

    Awesome video, great information and well explained, thanks!

  • @karimedx
    @karimedx Месяц назад

    So much dense knowledge, thanks you so much

  • @socks5proxy
    @socks5proxy 2 месяца назад +12

    Thanks!

  • @farzadmf
    @farzadmf 2 месяца назад +4

    One of the best (if not THE best) walkthough vidoes I've seen; thank you!
    Would also be nice if you included instructions for additional protection (if any) for example for DDOS etc.

    • @alanjrobertson
      @alanjrobertson 2 месяца назад

      Agree - fail2ban is a nice addition

    • @dreamsofcode
      @dreamsofcode  2 месяца назад +2

      I'll do a video on DDOS protection soon! (The long story short is to use a WAF, but I'll research other options)

    • @farzadmf
      @farzadmf 2 месяца назад

      @@dreamsofcode GREAT! Really looking forward to it

  • @indramal
    @indramal 24 дня назад

    I need to have coffee with this guy.

  • @liquidpebbles
    @liquidpebbles 2 месяца назад

    Great vid. Very informative with no extra fat. Kudos