The cloud is over-engineered and overpriced

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 เม.ย. 2024
  • Let's spin up a server a simpler way.
    I'm experimenting with some background music, let me know what you think.
    In this video I will be showing how to use fundamentals to spin up a server, replacing cloud providers like AWS, Google Cloud Provider and Microsoft Azure with Linux, Docker and Git. For many applications, the tools we use are grossly over-engineered. I'm trying to force myself to rethink my approach and use simpler tools. Hosting this server is part of that.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 499

  • @tom-delalande
    @tom-delalande  25 วันที่ผ่านมา +143

    Here's a version with no background music: th-cam.com/video/jFrGhodqC08/w-d-xo.html
    I tried the music and the feedback is clear enough that I think it's worth uploading a version of this with no music. I'm still learning!
    I'm sorry :( I really liked the riff I wrote for the intro since it has a time signature of 7/4 but I clearly got carried away a bit...

    • @MR-vj8dn
      @MR-vj8dn 25 วันที่ผ่านมา +13

      7/4 is really cool .. but as our brains are so used to 4/4, we as an audience actually start to think about the beat instead of 100% on what you're trying to teach. Choose your moments for the "weird" beats.😊Putting the right sound to video isn't easy if you want it to make sense. Takes loads of learning and practice.

    • @zejwier5442
      @zejwier5442 25 วันที่ผ่านมา +6

      The riff is based, just like your video

    • @MR-vj8dn
      @MR-vj8dn 25 วันที่ผ่านมา

      @@zejwier5442 What does that mean, “it’s based”?

    • @efkastner
      @efkastner 25 วันที่ผ่านมา +5

      the music didn’t bother me (meter not volume) but kudos for taking feedback and iterating quickly. it’s almost like a metaphor for what the video is advocating

    • @efkastner
      @efkastner 25 วันที่ผ่านมา +1

      HUH! based on the other thread, i tried lowering my speed from 2x down to “normal” and now the riff *is* super distracting to me. interesting

  • @Excalibaard
    @Excalibaard 25 วันที่ผ่านมา +276

    NixOS truly feels like it's the new 'I use Arch BTW'

    • @xnegusx
      @xnegusx 25 วันที่ผ่านมา +12

      I used NixOs for about 4 days and when straight back to debian😂

    • @whannabi
      @whannabi 24 วันที่ผ่านมา

      ​@@xnegusxNot having to do any of that interface or hosts stuff looked interesting, why did you go back, seems like all can be done in one file.

    • @BuddhiAbeyratne
      @BuddhiAbeyratne 23 วันที่ผ่านมา +2

      ​@@whannabi because its an abstraction and when things go tits up or you dont have out of the box compatibility for what you wanna do you need the linux skills that was considered too annoying along with an in-depth understanding of how to do things the nix way

    • @HUEHUEUHEPony
      @HUEHUEUHEPony 22 วันที่ผ่านมา

      I use guix btw

    • @_vr
      @_vr 21 วันที่ผ่านมา

      @@xnegusx I used NixOS for a week also, went straight back to Arch 🤣🤣 (But I feel like I should give it another try) 🙃

  • @malikkissoum730
    @malikkissoum730 25 วันที่ผ่านมา +864

    The music is too loud

    • @tom-delalande
      @tom-delalande  25 วันที่ผ่านมา +69

      Is it too loud or should I not have put it in at all?

    • @sadaisystems
      @sadaisystems 25 วันที่ผ่านมา +251

      @@tom-delalande Its just too loud IMO. However it might be beneficial to mute it occasionally to highlight the most important parts of your monologue.

    • @hcrrby2996
      @hcrrby2996 25 วันที่ผ่านมา +74

      ​@@tom-delalande Music is nice, but your voice should be clear and stand apart from the music

    • @samtheman1868
      @samtheman1868 25 วันที่ผ่านมา +39

      @@tom-delalandekeep the music. Not the way it is of course, but it does add quite a bit of atmosphere for the video which I enjoy quite a bit.

    • @graysonpeddie
      @graysonpeddie 25 วันที่ผ่านมา +21

      I simply paid attention to the music a lot more than the voiceover and the voiceover sounded more like mumbling rather than trying to be very clear on how you communicate to the viewers. As far as I know, one of the WCAG standards state that the music needs to be 20dB below voiceover. In fact, I was paying attention to the sub-bass coming from my subwoofer.

  • @mrdavidrees
    @mrdavidrees 25 วันที่ผ่านมา +178

    I think a key reason people use cloud, is that when you need to handoff the project to other devs there is support and documentation to do so. Majority of people are building for a company which means they need that flexibility when staff leave. I know that all the services you listed are documented, but the level you’re working at is past 95% of developers. Most want to see a gui and do some clickops
    Awesome video, love the detail.

    • @bilalbaig8586
      @bilalbaig8586 25 วันที่ผ่านมา +32

      Developers are using clickdrops?!! What are they getting paid for? More importantly, how much are they getting paid? Most importantly, how do I get that job?

    • @efkastner
      @efkastner 25 วันที่ผ่านมา +12

      that’s an interesting take, @mrdavidrees, but i think it reinforces the point of the video. being reductive, “we do it because bigger companies do it”.

    • @Netist_
      @Netist_ 25 วันที่ผ่านมา +11

      You're right, but I wish you weren't. The majority of fellow engineers I've had the misfortune of working with don't deserve the title. Expecting people to have basic proficiency with commons tools is asking too much in the current industry.

    • @tigerofdoom
      @tigerofdoom 25 วันที่ผ่านมา +9

      This was my exact thought. A single rockstar can do this, but as you scale to bigger teams or use lower skill developers for cost, then you end up needing to do a lot of teaching to make it work, increasing the onboarding time drastically

    • @Netist_
      @Netist_ 25 วันที่ผ่านมา +12

      @@tigerofdoom if basic sysadmin proficiency makes you a rockstar now, this industry is doomed

  • @eduardobem6071
    @eduardobem6071 25 วันที่ผ่านมา +33

    It’s amazing how this process is much easier to understand then the aws ui

    • @JegErN0rsk
      @JegErN0rsk 19 วันที่ผ่านมา

      he did all the work. If not for him youd say AWS is easier

  • @warricksmythevideo
    @warricksmythevideo 21 วันที่ผ่านมา +16

    As a fellow Aussie app developer, my business can no longer get insurance if I use my own hosting. Call it a wrought, but if I don't host using a reputable supplier I simply can't provide app services legally. It sucks. So I do the very minimal. I host only the front end in digital ocean in Sydney and do my back end in my own data centre in Melbourne. Everything is docker based.

  • @BiggumsMcHoney
    @BiggumsMcHoney 25 วันที่ผ่านมา +187

    Docker doesn’t replace ECS. You’d want to setup a Kubernetes cluster across multiple physical machines and manage them with kubelet. That’s the hard part about it. Developers know how to setup their local developer environment with Docker but that is not suitable for production.

    • @denissorn
      @denissorn 25 วันที่ผ่านมา +24

      When "production" means you're Amazon. I have seen Transport System Operators (Sometimes state owned companies owning/controlling infrastructure to move natural gas for example) using 5$ VM to host auctions. IMO even docker is sometimes an example of prematured 'optimization' and unnecessary overhead. E.g. self contained dotnet + SQLite can often do good enough job but people and companies chose to pay for SQL Server, Amazon, Azure etc for enterprise something that has like 50 users, or 5000 hits or DB updates/inserts per day. And when the service fail, phone and mail still work well enough.

    • @EraYaN
      @EraYaN 25 วันที่ผ่านมา +8

      @@denissornI mean you just need high availability so it means are least 2 replicas of everything of two servers etc. Just running on one node doesn’t cut it, can’t even reboot it for updates at that point.

    • @denissorn
      @denissorn 25 วันที่ผ่านมา +3

      @@EraYaN Sometimes you do, but many companies and use cases can do reasonably well even without it. Also, old school way of achieving HA still exists. There are dedicated servers available for lease for like 5 bucks. 2 can be enough, plus reverse proxy, DB replication or similar.

    • @EraYaN
      @EraYaN 25 วันที่ผ่านมา +5

      @@denissorn Point being that it quickly become less simple, and often stuff it in contracts with customers so it’s not an option to not do it. In my experience colo is never really simpler it just might be cheaper in the long run.

    • @denissorn
      @denissorn 25 วันที่ผ่านมา +2

      @@EraYaN there are obviously different situations and use cases, but (IMO) people are too easily influenced and affected by hype, and trends (real or fake/advertised) created by multi billion corporations. Kinda related I think i have noticed how in 'developed' EU language can work as a barrier. MongoDB usually still comes in a package together with JS where I live (most of these could literally stick with sqlite and be fine.), because reasons and 'full stack' (someone in some HR dep probably confused MERN stack with full stack lol).

  • @crofoh
    @crofoh 25 วันที่ผ่านมา +52

    I would like to mention that most ISP will change your public IP periodically, so it's always worth to have a dynamic DNS service running. There are plenty of free and self-hostable options, but you could also build your own one in a weekend.

    • @SebastianSipos
      @SebastianSipos 25 วันที่ผ่านมา +3

      my isp has optional and free dynamic dns. you name your subdomain and pick from a couple of domains. they manage it, you don't have to install anything.

    • @whannabi
      @whannabi 24 วันที่ผ่านมา +5

      ​@@SebastianSiposgood for you

    • @roguesecurity
      @roguesecurity 23 วันที่ผ่านมา

      Or rely on solutions like cloudflare tunnel, ngrok

    • @Henry-sv3wv
      @Henry-sv3wv 19 วันที่ผ่านมา

      i am forced to use ipv6 cause my ipv4 is cgnat:-(

  • @tears_falling
    @tears_falling 25 วันที่ผ่านมา +285

    based and nix pilled

    • @tears_falling
      @tears_falling 25 วันที่ผ่านมา

      also, maybe you'd want to look into podman

    • @alexandrunechita3460
      @alexandrunechita3460 25 วันที่ผ่านมา +10

      Didn't expect NixOS and love the surprise

  • @HyperDroids
    @HyperDroids 25 วันที่ผ่านมา +61

    I understand where you're coming from. That said, cloud environments are not designed with mom & pop shops in mind. They're geared towards major IT corporations that require granular control and solutions to problems often unique to specific industries & companies. This is key to note. Large corporations don't need to penny pinch near as hard, and the benefits of performance, throughput, reliability, scalability, visibility, security, compliance, automation, compatibility, interoperability, financial & technical support and employment are simply not on the table for compromising, and are worth the extra cost associated. Ironically, it saves them money long-term.

    • @CodecrafterArtemis
      @CodecrafterArtemis 24 วันที่ผ่านมา +4

      IMO the sweet spot for cloud is when you've grown enough that managing dozens of machines with your web app, your DB replicas, your queues and background workers (and don't forget staging/QA environments) becomes legitimately a hassle, but not grown enough to justify hiring full-time DBA & Linux admin staff.

    • @HyperDroids
      @HyperDroids 24 วันที่ผ่านมา +6

      @@CodecrafterArtemis Well, like anything, it should be looked at on a case by case basis. Personally, I wouldn't define that as the sweet spot, as it gives the impression it's the only scenario in which one would want a cloud environment. It's not black and white. After all, a lot of companies are neither full cloud nor strictly on-prem, but a hybrid to suit their individual needs. No matter if you're a small business or a large IT organization, there's immense value in fast & quickly scalable systems with a strong internet backbone that can be deployed in seconds with no strings attached. It's easier to hire an AWS engineer than an engineer with specific skill sets across particular vendors, an issue particularly pervasive on both the infrastructure & networking sides. A problem that is exacerbated by the shortage of IT engineers in most Western nations. Hiring ill equipped employees that require months to transition can affect performance of the department, and cost a lot of money.
      I could talk about this from so many angles. But take IT security as an example alone. Having an entire environment automatically indexed for IPAM, DCIM, SIEM, NMS and CM purposes, managed via IAM policies, separated between accounts & projects (important especially when a corporation has various subsidiaries), visible and automated via sophisticated APIs, built with ZTNA & compliance in mind, protected using a combination between ACLs, security groups and policies with pre-configured compute engines ... is a godsend! That's a lot of variables for any company to overcome by itself alone. Why take on all the responsibility of getting all of this correct from the start when you can leverage a company that specializes it? It's not worth the risk of saving a buck by rolling out your own DC, only to the lose fortunes in hacks, PR disasters, lawsuit, failed audits, over or under-provisioned systems, installation & deployment delays, etc.

    • @animowany111
      @animowany111 16 วันที่ผ่านมา

      If cloud environments are not designed with mom&pop shops in mind, I wonder why the AWS Academy courses (had to take one for university course credit, but did not pay for the certificate) use a small cafe as the example application.
      I see no need for a coffee shop - or ANY small, or even medium business - to use most of the technology covered in that course. None of those usecases need to set up massive infrastructure across multiple availability zones, complex VPC setups, RDS, IAM, CloudFront, Lambdas, or even S3 buckets (Yes! You almost certainly don't actually need those!).
      Some business usecases might 'need' one or two of those services, but you will probably get results as good or better by just renting a single Hetzner box, or maybe two if you want redundancy, and maybe putting it behind Cloudflare.

    • @CodecrafterArtemis
      @CodecrafterArtemis 16 วันที่ผ่านมา

      @@animowany111 I guess the main reason a "mom&pop shop" would want something like AWS is because it's supposedly easier than setting up the servers yourself...
      Then again, I'm poking around AWS and it feels like certified confusopoly.

  •  25 วันที่ผ่านมา +26

    Client: "Okay, so why do we need a used macbook again?"
    No, but seriously awesome video! I would've loved this when I started my dev journey

  • @patrickjdarrow
    @patrickjdarrow 24 วันที่ผ่านมา +5

    This needs to be in every college curriculum BEFORE cloud services. Great summary dude!

  • @akaegotist
    @akaegotist 19 วันที่ผ่านมา +11

    Music too loud

  • @anonymouscommentator
    @anonymouscommentator 25 วันที่ผ่านมา +26

    i burst out in laughter when you explained your distro choice at 2:02 haha. Love to see NixOS getting more attention and real world use cases!

  • @Fasashen
    @Fasashen 25 วันที่ผ่านมา +26

    Great video
    I'd personally recommend traefik as a reverse proxy since it reloads config automatically and auto detects services in docker network, and you also can run docker swarm on a single machine and it has rolling update built-in, so you end up with only 1 bash line to deploy a new version 'docker swarm deploy'

    • @WinterWeaver
      @WinterWeaver 25 วันที่ผ่านมา +1

      +1 for traefik. Can also do automagic letsencrypt certs for you.

  • @AriSosnovsky
    @AriSosnovsky 25 วันที่ผ่านมา +29

    This is how I basically self host my own stuff at home.
    3 machines running nixos, nix manages firewall, Kubernetes, and system dependencies .
    1 machine running truenas which hosts all of my data and exposes shares to the cluster over nfs
    Best part of this setup is that when a “compute node” goes down or if I need more power, I just port the nix config over and run. My only real weak point is the data node (truenas) but this beauty has ran without a restart for almost 2 years. So :3

    • @Parallaxxx28
      @Parallaxxx28 25 วันที่ผ่านมา

      Can you explain what is nixos and what you mean by tuernas?

    • @MrSofazocker
      @MrSofazocker 25 วันที่ผ่านมา +3

      @@Parallaxxx28 Have you tried google? True NAS is his file storage NixOS is a linux distro as shown in the video you can setup entirely with a single config file.

    • @kolkoki
      @kolkoki 25 วันที่ผ่านมา

      Hey, if you want to remove your spof on truenas, check out longhorn. It stores data on the nodes and replicates them. The data is not replicated across all nodes, but across N nodes (3 by default) so you're not actually losing all your storage.

  • @McSlime1000
    @McSlime1000 25 วันที่ผ่านมา +70

    What a based man

  • @oblivion_2852
    @oblivion_2852 25 วันที่ผ่านมา +3

    Loved the video! I work as an azure devops engineer creating automated workflows for testing and deployment. I love that the host machine is also the build agent. This is just the kind of project I'd love doing and I especially like the auto git fetch and rebuild

  • @garretmh
    @garretmh 24 วันที่ผ่านมา

    Your pacing and detail level are really nice, thanks for sharing this build

  • @pengurrito7136
    @pengurrito7136 25 วันที่ผ่านมา +89

    Love your point about how NOT being scalable can be a benefit.

    • @Rudxain
      @Rudxain 25 วันที่ผ่านมา +4

      It reminds me of that one real-life horror story where a Netlify user got charged millions because some bot wanted to DoS it

  • @hazqier
    @hazqier 25 วันที่ผ่านมา +1

    I love this type of content, you deserve more subs!

  • @cubiccode3867
    @cubiccode3867 25 วันที่ผ่านมา

    Awesome video man, pilled with funny, informative and rich content. Well done!

  • @vaaaaaas
    @vaaaaaas 25 วันที่ผ่านมา +20

    Can you turn up the music a bit? It was distracting how I could almost make out someone speak.

    • @pika4126
      @pika4126 17 วันที่ผ่านมา

      reading that last sentence gave me an aneurysm

  • @alvarocampillo4026
    @alvarocampillo4026 18 วันที่ผ่านมา +1

    The cloud is over engineered, try this simple method instead:
    - Goes on to list a hundred different tools/services/scripting...
    I mean, I get your point, I think we all do, and you're right, but man that was a lot of tools in very little time!
    I loved the video though, thanks for your work ❤

  • @Zolodar
    @Zolodar 22 วันที่ผ่านมา +5

    Great video!
    Just some minor feedback:
    You're often using icons / logos of tools, technologies, etc. in your video without explicitly having a text representation of them on screen as well.
    For people who aren't familiar with every single one of those logos, it might be hard sometimes to understand exactly what you're saying or how to find it easily.
    At first when I saw that lock logo, I had no idea what you were exactly saying, when you said "caddy". I wouldn't have known how to spell it in order to search it on google to have a look at it. A little bit later it appears in one of the configuration files, so I made the connection - but that makes it slightly harder to follow IMHO.
    Maybe having the names of the technologies appear initially when showing the logos and then fading them out after a few seconds would be a good middle ground in order to keep your slides clean.

  • @giancarlobonvenuto2701
    @giancarlobonvenuto2701 25 วันที่ผ่านมา +1

    This is the only video I've ever watched that got me interested in web development. It looks like low-level programming for how unbloated you made it look! I'm subscribing right now

  • @abdelazizlaissaoui9079
    @abdelazizlaissaoui9079 25 วันที่ผ่านมา

    I love this video it is always nice to discover and explore new perspectives

  • @pabloqp7929
    @pabloqp7929 25 วันที่ผ่านมา +1

    Yo this video is top notch for so many reasons and exciting from head to tail. Incredible inspiration. Thank you!!

  • @LynnK2000
    @LynnK2000 25 วันที่ผ่านมา +16

    What timing that this video came up as I am fighting against cloud platforms to get my basic side project deployed!
    Super clear and to the point, makes me want to try moving off the cloud so I can learn actual transferrable skills instead of getting a degree in AWS and GCP 😂

    • @MelroyvandenBerg
      @MelroyvandenBerg 25 วันที่ผ่านมา

      go back to self hosting!

    • @Duconi
      @Duconi 25 วันที่ผ่านมา +2

      As you see in the video, you have to know a lot of technologies to self host. And a lot isn't really explained in the video, like how to protect it from attackers, how to prevent DDOS, how do set up backups, etc. The internet can be a rough place. Having the hand of a cloud provider protecting you, can be a nice thing. It's not easier to self host. But it's good to have the knowledge. What is your side project about? There are a lot of different technology options. You definitely don't need certificates for AWS. There are certificates for Linux, docker, etc. as well. You don't need them, too. Both "worlds" have their advantages and disadvantages. The video definitely doesn't provide a neutral view on it. But it provides an interesting example of how one could set up a server themselves.

  • @skydivertyler
    @skydivertyler 25 วันที่ผ่านมา +7

    One of my favorite videos of 2024

  • @RmAndrei93
    @RmAndrei93 25 วันที่ผ่านมา +7

    Proxmox would help with backing up , sync data between clusters and automatic failover with live migrations for vm. For simple usecases , its dead simple to use

    • @pabloqp7929
      @pabloqp7929 25 วันที่ผ่านมา +1

      Proxmox Mention Let's Go!

  • @AbdulRafay-vi6hz
    @AbdulRafay-vi6hz 25 วันที่ผ่านมา +2

    I agree, I have a startup and the cost is too much for deploying my application, and I just moved from Cloud to hard metal, I love your point and this is the core.

  • @mdxggxek1909
    @mdxggxek1909 25 วันที่ผ่านมา

    This video is awesome and exactly how I approach things

  • @TreeLuvBurdpu
    @TreeLuvBurdpu 25 วันที่ผ่านมา +29

    Big problem: reliability. I mean that's a deal killer for any profitable (AKA non-worthless) site. As soon as you expect reliability, cloud is CHEAPER.

    • @doesntmatter6084
      @doesntmatter6084 24 วันที่ผ่านมา +3

      Why would this be any less reliable?

    • @TreeLuvBurdpu
      @TreeLuvBurdpu 24 วันที่ผ่านมา

      @@doesntmatter6084 no backup power, automated backups, physical security, fire suppression, connection redundancy, hardware redundancy, etc, etc, etc...

    • @AJax2012
      @AJax2012 24 วันที่ผ่านมา

      @@doesntmatter6084 The average reliability rate for a cloud provider is 99.999%, meaning less than 6 minutes per year. Hosting it yourself means any time your network goes down, any time any part of your network needs to be updated/restarted, power outages, computer/server problems, etc., your service goes down. I don't know about you, but that would equate to many hours per year for me... Especially with power outages and network outages due to bad weather. I'd also point out that if you add up the cost of having, maintaining, and replacing those devices to avoid outages, you're very likely spending a decent amount already.

    • @Jonathan1234000
      @Jonathan1234000 24 วันที่ผ่านมา +3

      @@doesntmatter6084 Old Macbooks like to die.

    • @doesntmatter6084
      @doesntmatter6084 24 วันที่ผ่านมา +4

      @@Jonathan1234000 we’re they hosting this on an old MacBook?

  • @letstalkdev
    @letstalkdev 25 วันที่ผ่านมา +1

    Totally agree! The number you shown at the beginning of the video was mind-blowing 🤯. It's crazy how quickly things can add up if you're not careful. I did a whole video on my channel about other cloud pricing gotchas to look out for.

  • @hicoop
    @hicoop 25 วันที่ผ่านมา +2

    Awesome video. A git repo containing these scripts and a README would be super useful- I intend to replicate this stack for my next project.

  • @shanekunz
    @shanekunz 25 วันที่ผ่านมา +2

    one thing I don't understand, did you set up port forwarding on your router to accept connections outside your local network? I had to do that to get a network thermal printer to print from an azure app, and I'm just curious how that works if you didn't edit your router settings....

  • @stevepositiv
    @stevepositiv 25 วันที่ผ่านมา +1

    Great video! Got yourself a subscription :)
    About the music: I liked the music on the video (also great job!) but yes, you‘ll have to lower the volume quite a bit.
    I think that should already do it.
    Fireship does a good job with mixing in the background music, you could listen there to get an idea on how to set the leves.
    Some optional hints:
    - Use a compressor on the background track.
    - Keep close to the mic while speaking (I think you already do)
    - Use some EQ to separate the music from the voice.
    - Listen to the Audio on different devices/speakers to check.

  • @jctemp
    @jctemp 25 วันที่ผ่านมา +10

    Did not expect NixOS to come. Legend!

    • @RT-.
      @RT-. 22 วันที่ผ่านมา

      it came

  • @EduardKaresli
    @EduardKaresli 25 วันที่ผ่านมา +1

    Thanks for the lot of useful info, I'm keeping this video in my "must keep" playlist for future reference.
    I was always inclined to believe that setting my own server plus a static IP address via my ISP, are the only true costs compared to falling to the trap of a cloud vendor.
    I can buy a small yet capable mini PC for $400 and install Linux and the rest of the open source tools and get myself going.
    No need for subvscriptions, no hidden fees, no unpleasant surprises etc.
    Thanks for confirming my thoughts.

  • @JosiahHilden
    @JosiahHilden 25 วันที่ผ่านมา +3

    I actually really liked the music in this one, though I agree that it was probably too loud compared to your voice in this instance. Keep up the great videos!

  • @skytasul
    @skytasul 20 วันที่ผ่านมา

    I haven't watched the video with music so I'm not going to talk about this, I'd rather say that this video is really amazing, well explained and that your arguments are very precise. I'm glad YT recommended me your channel.
    Now I am going to explore NixOS because it looks very interesting :)

  • @user-yi9tq7xg2w
    @user-yi9tq7xg2w 25 วันที่ผ่านมา

    Great video! Totally agree with your point.
    And I’m happy to find the channel that actually teaches you something, not just reports about done tasks. Keep it up!
    P.S. music is a bit loud, sometimes it’s hard to hear voice.

  • @sparshpriyadarshi
    @sparshpriyadarshi 17 วันที่ผ่านมา

    chef's kiss level content. keep up the good work man

  •  25 วันที่ผ่านมา

    Love this videos!

  • @sillytechy
    @sillytechy 25 วันที่ผ่านมา +1

    Hi Tom this is a nice setup. I have a doubt regarding how did you map the Domain to your local network system ? You did port forwarding on your local router to enable this ?

  • @danielgriffiths5901
    @danielgriffiths5901 25 วันที่ผ่านมา +1

    Eye opener video for me. Thanks

  • @efkastner
    @efkastner 25 วันที่ผ่านมา

    Loved this video! I like the justifications around downtime being preferable.
    One thing I personally would do differently is to use a cheap VPS. I’ve managed too many physical servers in my time to not leap at the chance to let someone else deal with it for $5/month

  • @dipereira0123
    @dipereira0123 25 วันที่ผ่านมา

    Much appreciated! Thx for sharing the knowledge 🫡

  • @francescoforcellato
    @francescoforcellato 25 วันที่ผ่านมา

    This is fantastic! Very cool

  • @ShinSpiegel
    @ShinSpiegel 25 วันที่ผ่านมา

    This is a pretty amazing video.

  • @ofsen5588
    @ofsen5588 25 วันที่ผ่านมา

    I really like this, especially since i like to do everything on my own. But also, another argument would be that with the help of a cloud provider, you don't need to go through the hassle to setup and maintain all this.
    But as i said, i like to setup things myself and also take advantage of the multiple free tiers so good stuff! would be cool to get the scripts on a github repo or gists

  • @theMonkeyMonkey
    @theMonkeyMonkey 25 วันที่ผ่านมา +1

    This is a fantastic take, and pragmatic example of an opensource maintainable stack

  • @thisaintmyrealname1
    @thisaintmyrealname1 23 วันที่ผ่านมา

    Based video. subscribed right away!
    I also host my side project on a linux box with the cloned repo & docker (compose). However I stopped at manually doing the git pull + docker compose down & up for deploys (downtime every time). I'm definitely trying that cronjob approach for checking diffs and automating this last part + no downtime 🔥 thanks dude

  • @sillybuttons925
    @sillybuttons925 25 วันที่ผ่านมา

    This was great. So much learning.

  • @Dominik-K
    @Dominik-K 25 วันที่ผ่านมา +2

    Very well thouht out and actually pretty similar to ehat i have been doing myself too! Using hosters and making jy own git based workflow works great and makes debugging easier
    I wanted to learn NixOS for some time, this gave me the courage to do so

  • @austin4855
    @austin4855 24 วันที่ผ่านมา

    The best solution for me has always been to build my services like this, defaulting to as few dependencies and vendors as possible... but when I'm read to deploy, I put the whole thing on a $5/mo linode server. It has never failed me. Even the cheapest modern nodes can easily handle more requests per second than I will ever have to worry about - and if I ever do, that will be a good problem to have.
    I would go as far as you have to fully self-host, but I've always been willing to pay a few dollars to not have to worry about dumb things like the physical security of my device. Home internet service can also be super inconsistent.

  • @1v512
    @1v512 25 วันที่ผ่านมา +3

    What is this background music at 1:42? I m gonna add it to my focus playlist.

  • @qodesmith520
    @qodesmith520 24 วันที่ผ่านมา

    Absolutely amazing. I'm close to running my own servers.

  • @brainites
    @brainites 25 วันที่ผ่านมา +4

    Excellent marketers are able to convince the majority to believe that dark is the new light. That aside, dashing cash to expensive cloud providers is good for accounting purposes in the short term which makes clueless investors happy. The accounting terms have quite escaped me.

    • @efkastner
      @efkastner 25 วันที่ผ่านมา +1

      capex vs opex (capital / upfront expenses vs operating / ongoing expenses)

    • @brainites
      @brainites 25 วันที่ผ่านมา +1

      @@efkastner Thanks. I have copied into my notes so I don't forget again.

  • @karmatraining
    @karmatraining 23 วันที่ผ่านมา

    This is a really good take. Personally from my perspective having been an SWE > 20 years, cloud is a new and exotic tech that you don't "have to have". I really love the approach in this video! Simple and minimalist.
    However one thing to carefully consider when making the decision is that datacenters have chad level 9000 internet backbone access that your services will be connected to - your local home ISP can unilaterally block incoming traffic to your server anytime they like, and upload speeds will be abysmal. Those are important risks to take into consideration, even if you're running your setup from a proper office building those connections are still treated mostly the same way by ISPs as home internet connections with all the limitations and risks that implies for continuous production access (datacenters don't suffer with this issue).

  • @gungun974
    @gungun974 25 วันที่ผ่านมา +1

    Nice video. Personally since I fall in the Nix rabbit hole I would 100% manage all my services and containers with NixOS and arion and I would also build my containers with nix directly since it can easily ensure my app is reproducible and produce smaller containers.
    But your steps are still goods.

  • @jokmenen_
    @jokmenen_ 24 วันที่ผ่านมา +1

    Question: what can i use instead of api gateway for example? To prevent bad actors from scanning for vulnerabilities

  • @Alex_Vir
    @Alex_Vir 25 วันที่ผ่านมา +3

    Funny, I got an ad for an AWS certification course right after the video.

    • @Duconi
      @Duconi 25 วันที่ผ่านมา

      They are like Linux or Docker certificates, though. You don't need them. AWS is as easier as the technologies in this video.

    • @Alex_Vir
      @Alex_Vir 25 วันที่ผ่านมา

      @@Duconi I commented because I normally don't get ads that are the opposit of the video.

  • @nourgaser6838
    @nourgaser6838 21 วันที่ผ่านมา

    You only need one service from the cloud: VMs/compute instances/whatever you want to call it.
    "self-host" every other service you need on rented instances, that way you avoid vendor lockdown. Database can be self-hosted, CI/CD runners can be self-hosted, telemetry and logging services can be self-hosted; every cloud provider service has a self-hosted open source alternative, so you can jump from cloud to cloud anytime you want.

  • @thebuggerdev
    @thebuggerdev 25 วันที่ผ่านมา +1

    Between Cloud and keeping hardware in your home there is also 3th. option: VPS or Dedicated server.
    You can say: isn't EC2 a VPS? Yes, but it's verry expensive VPS. Other smaller companies can be much much cheaper (especially if you need lot's of network transfer) than big providers like Amazon/Microsoft.

  • @vaviloffx
    @vaviloffx 23 วันที่ผ่านมา

    «I refuse to use nano more than once per computer» spoken by a true gentleman.
    Nice rant, even though a bit idealistic, thouroughly enjoyed!

  • @javisartdesign
    @javisartdesign 25 วันที่ผ่านมา +1

    Great video, For a startup or homelab it would be enough with that

  • @bartattacler1515
    @bartattacler1515 25 วันที่ผ่านมา

    What do you think about Cloudflare tunnel?
    instead of using caddy or some other service?

  • @gnorts_mr_alien
    @gnorts_mr_alien 25 วันที่ผ่านมา

    I have seen this argument made so many times, but rarely this eloquently, and with a concise demonstration to boot.

  • @Bluman124
    @Bluman124 25 วันที่ผ่านมา

    Interesting! What would be your way of integrating authentication and more complicated ci/cd in that environment?

  • @paulywalnutz5855
    @paulywalnutz5855 25 วันที่ผ่านมา

    this content is my jam

  • @TheAkiller101
    @TheAkiller101 25 วันที่ผ่านมา +1

    can you explain how you got a static IP to make it accesible from the internet

  • @kalibbailey6219
    @kalibbailey6219 21 วันที่ผ่านมา

    Its also important to mention that from a separation of duties perspective you may want differeny people for all of these tasks. Or you transfer the risk to the cloud provider

  • @kolkoki
    @kolkoki 25 วันที่ผ่านมา

    Hey there. For such deployment i find that rancher with cattle orchestrator worked best. However it's been abandoned 4 years ago.
    Right now my infrastructure is 3 nodes on different datacenters, and I'm migrating to rancher 2 (kubes). All on debian bare metal, and while the manager is a bit long to setup, adding a host is easy (scalable), we have kubernetes for managing container scalability, longhorn is basically builtin for storage, and so and so. It's not very simple but it could be a lot worse, you can tweak everything if that's yout thing (nothing is hidden), and everything runs on bare metal.

  • @brunojcm
    @brunojcm 25 วันที่ผ่านมา

    All that, plus:
    0. remove docker
    1. install caddy locally
    2. use Kotlin/Native to produce native binaries and run them using systemd
    2a. you can still use Kotlin/JVM and install the JRE, all distros provide it in all architectures

    • @tom-delalande
      @tom-delalande  25 วันที่ผ่านมา

      I actually really agree with removing this. Native > containers

  • @mustafabin4359
    @mustafabin4359 25 วันที่ผ่านมา +8

    i personally like the music

    • @cole5981
      @cole5981 25 วันที่ผ่านมา +1

      I'm trying to focus on the video but the bgm is such a vibe.

  • @nicholascole161
    @nicholascole161 22 วันที่ผ่านมา

    Really interesting and thorough perspective thanks

  • @frzen
    @frzen 25 วันที่ผ่านมา

    Subbed. I'd enjoy more of these videos especially if theres stuff about going even more minimal. I'm getting vibes of strategic incompetence for making the music too loud, its the only complaint anyone has. I think you should keep the music and people will keep saying its great except for the music! The key to not getting any negative feedback.

  • @leito1996
    @leito1996 24 วันที่ผ่านมา

    I feel this is beginning of a very good channel, keep up the good work, turn the music down a bit and use chapters ❤

  • @MadeInJack
    @MadeInJack 25 วันที่ผ่านมา

    Loved the video!

  • @wadrin
    @wadrin 21 วันที่ผ่านมา +1

    Great video! do you have a website where I can read this back?

  • @andrewshear
    @andrewshear 25 วันที่ผ่านมา

    I dig. My recommendation is use talos Linux as your OS as it's the easiest way to setup a highly available cluster using k8s.
    I use it for home and business.
    Easier than building your own tools to mimic k8s.
    But if you are actually going to make money off your services, make sure you have generators and multiple networks setup. This is why on premise is such a pain.

  • @deveshanand18
    @deveshanand18 16 วันที่ผ่านมา

    Beautiful video, understood everything since it was explained so elegantly.

  • @Parallaxxx28
    @Parallaxxx28 25 วันที่ผ่านมา

    This is your first video i am watching and I really like your voice. Can you make videos regarding how to implement a machine learning model on a website without using cloud?

    • @somenameidk5278
      @somenameidk5278 18 วันที่ผ่านมา

      How exactly to set that up would depend on the model and wrapping software, but I don't see why you couldn't just equip your web server with a beefy graphics card and run an ML model as part of handling an incoming request.

  • @quintonnrothmann7636
    @quintonnrothmann7636 25 วันที่ผ่านมา +2

    Agree with everything.
    One of the main reasons I use cloud hosting is for network reliability.
    Self-hosting means I'm at the mercy of my internet provider.
    They don't go down often, but sometimes there are issues and self hosting would mean my services are down during this time.
    Or are there solutions for this?

    • @EdwinMartin
      @EdwinMartin 25 วันที่ผ่านมา +1

      If you have a repeatable way to deploy (Kubernetes), then you can deploy to a different server (of a different provider) and switch you dns settings. This shouldn’t be a problem for static sites. When it’s a dynamic site (with a database) the data has to be synchronized as well, which can be more challenging.

    • @efkastner
      @efkastner 25 วันที่ผ่านมา +1

      i’d personally advocate for using a cheap VPS provider. do everything else the same, but don’t let yourself be at the mercy of your utility providers

  • @josephgreene630
    @josephgreene630 25 วันที่ผ่านมา +3

    If you're ready and willing to crash during a burst, why do you need the complexity around zero downtime deployments?
    Do a maintenance window or just full send?

    • @efkastner
      @efkastner 25 วันที่ผ่านมา

      agreed that if you’re fine with downtime during burst then zero downtime deployments aren’t prima facie required. however, i’d still want them for my own workflow (but I’d likely speed up the whole deploy loop a bit more)

  • @Linuxhype
    @Linuxhype 25 วันที่ผ่านมา +1

    Great video, thank you!

  • @sonicjoy2002
    @sonicjoy2002 25 วันที่ผ่านมา

    I thought this video is about all the problems with using clouds, but it turns out to be a tutorial of setting up your own server. Not what I expected, but informative. However, I don't have all the free time to learn all the tech tools, sometimes paying for your time may seem a better choices.

  • @gabimoncha
    @gabimoncha 25 วันที่ผ่านมา +2

    Should’ve ended the video with open sourcing the scripts too 😅

  • @Robertking1996
    @Robertking1996 18 วันที่ผ่านมา

    This was great, could you do more videos like this showing CLI/Linux setup for hosting, services

  • @programmer1356
    @programmer1356 25 วันที่ผ่านมา +2

    Simple > easy is a very nice point. There is more than one way to see simple though; elementary proofs tend to be much harder than ones that use other results - just a thought.

    • @Duconi
      @Duconi 25 วันที่ผ่านมา

      Well, it could be more simple without docker.
      But in this case, I think simple is a disadvantage, as it means more work for you with updating, securing, backups, keeping it working, etc. With clouds they do that for you. Clouds can also be much cheaper if you use serverless tools, as you don't have to pay for servers idling. But you are dependent on the cloud provider and can not change it easily.

  • @PM-cv4sq
    @PM-cv4sq 19 วันที่ผ่านมา

    Fantastic tutorial. Thank you!

  • @modolief
    @modolief 24 วันที่ผ่านมา

    Awesome presentation. Top notch content.

  • @crofoh
    @crofoh 25 วันที่ผ่านมา +2

    How would you handle payments using all self-hosted technologies?

  • @vhwjpzf1z0fi73a
    @vhwjpzf1z0fi73a 25 วันที่ผ่านมา

    love this.

  • @patrick.bruckner
    @patrick.bruckner 25 วันที่ผ่านมา

    Hi tom. First video i habe seen from you and instantly liked your content.
    I am working on something related to this video and would like your opinion on it. Is there a way i could send you some information on it?

    • @tom-delalande
      @tom-delalande  25 วันที่ผ่านมา +2

      Thank you! There should be an email address in the 'About' section of my channel, that's the best way to contact me

  • @dcaptain
    @dcaptain 24 วันที่ผ่านมา

    I actually liked the music, just maybe half the volume would have made it easier to hear the dialogue. Do you have a link to the track or a page with your music we can check out?

  • @RickbyYoutuber
    @RickbyYoutuber 15 วันที่ผ่านมา

    Well, It’s not feasible for me to deploy all my services in my home network since it’s pretty “unstable” (energy/internet outages), but basically this same example can be replicated with a single VPS right?

  • @RyanIsHoping
    @RyanIsHoping 24 วันที่ผ่านมา

    God some of these takes are spicy. I don't agree with all of it but much of it makes me happy to see (: