The cloud is over-engineered and overpriced

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 พ.ย. 2024

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

  • @tom-delalande
    @tom-delalande  7 หลายเดือนก่อน +162

    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 7 หลายเดือนก่อน +16

      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 7 หลายเดือนก่อน +6

      The riff is based, just like your video

    • @MR-vj8dn
      @MR-vj8dn 7 หลายเดือนก่อน

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

    • @efkastner
      @efkastner 7 หลายเดือนก่อน +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 7 หลายเดือนก่อน +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

  • @malikkissoum730
    @malikkissoum730 7 หลายเดือนก่อน +968

    The music is too loud

    • @tom-delalande
      @tom-delalande  7 หลายเดือนก่อน +72

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

    • @sadaisystems
      @sadaisystems 7 หลายเดือนก่อน +266

      @@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 7 หลายเดือนก่อน +74

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

    • @samtheman1868
      @samtheman1868 7 หลายเดือนก่อน +40

      @@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 7 หลายเดือนก่อน +22

      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.

  • @Excalibaard
    @Excalibaard 7 หลายเดือนก่อน +318

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

    • @xnegusx
      @xnegusx 7 หลายเดือนก่อน +13

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

    • @w花b
      @w花b 7 หลายเดือนก่อน

      ​@@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 7 หลายเดือนก่อน +3

      ​@@w花b 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 7 หลายเดือนก่อน

      I use guix btw

    • @_vr
      @_vr 6 หลายเดือนก่อน

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

  • @warricksmythevideo
    @warricksmythevideo 6 หลายเดือนก่อน +31

    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.

    • @Noah-zt3sf
      @Noah-zt3sf 2 หลายเดือนก่อน +3

      what the fuck, how did we end up like this....

    • @ssisaias
      @ssisaias 2 หลายเดือนก่อน +1

      @@Noah-zt3sf Australia....

  • @crofoh
    @crofoh 7 หลายเดือนก่อน +56

    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.

    • @fish1r1
      @fish1r1 7 หลายเดือนก่อน +4

      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.

    • @w花b
      @w花b 7 หลายเดือนก่อน +5

      ​@@fish1r1good for you

    • @roguesecurity
      @roguesecurity 7 หลายเดือนก่อน

      Or rely on solutions like cloudflare tunnel, ngrok

    • @Henry-sv3wv
      @Henry-sv3wv 6 หลายเดือนก่อน

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

  • @eduardobem6071
    @eduardobem6071 7 หลายเดือนก่อน +65

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

    • @JegErN0rsk
      @JegErN0rsk 6 หลายเดือนก่อน +3

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

    • @cunty
      @cunty 5 หลายเดือนก่อน

      @@JegErN0rsk i didn't have the tutorial for doing all of this and just using a cheap virtual private server running ubuntu with docker was still easier for me to figure out than trying to figure out which aws service to use lol

  • @BiggumsMcHoney
    @BiggumsMcHoney 7 หลายเดือนก่อน +200

    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 7 หลายเดือนก่อน +31

      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 7 หลายเดือนก่อน +9

      @@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 7 หลายเดือนก่อน +7

      @@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 7 หลายเดือนก่อน +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 7 หลายเดือนก่อน +4

      @@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).

  • @Fasashen
    @Fasashen 7 หลายเดือนก่อน +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 7 หลายเดือนก่อน +1

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

  • @mrdavidrees
    @mrdavidrees 7 หลายเดือนก่อน +188

    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 7 หลายเดือนก่อน +35

      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 7 หลายเดือนก่อน +14

      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_ 7 หลายเดือนก่อน +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 7 หลายเดือนก่อน +10

      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_ 7 หลายเดือนก่อน +13

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

  • @HyperDroids
    @HyperDroids 7 หลายเดือนก่อน +65

    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 7 หลายเดือนก่อน +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 7 หลายเดือนก่อน +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 6 หลายเดือนก่อน +1

      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 6 หลายเดือนก่อน

      @@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.

  • @tears_falling
    @tears_falling 7 หลายเดือนก่อน +298

    based and nix pilled

    • @tears_falling
      @tears_falling 7 หลายเดือนก่อน

      also, maybe you'd want to look into podman

    • @alexandrunechita3460
      @alexandrunechita3460 7 หลายเดือนก่อน +10

      Didn't expect NixOS and love the surprise

  • @AriSosnovsky
    @AriSosnovsky 7 หลายเดือนก่อน +30

    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 7 หลายเดือนก่อน

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

    • @MrSofazocker
      @MrSofazocker 7 หลายเดือนก่อน +4

      @@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 7 หลายเดือนก่อน

      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.

  • @pengurrito7136
    @pengurrito7136 7 หลายเดือนก่อน +92

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

    • @Rudxain
      @Rudxain 7 หลายเดือนก่อน +6

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

  • @patrickjdarrow
    @patrickjdarrow 7 หลายเดือนก่อน +8

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

  • @alvarocampillo4026
    @alvarocampillo4026 6 หลายเดือนก่อน +3

    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 ❤

  • @AbdulRafay-vi6hz
    @AbdulRafay-vi6hz 7 หลายเดือนก่อน +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.

  • @vaaaaaas
    @vaaaaaas 7 หลายเดือนก่อน +25

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

    • @pika4126
      @pika4126 6 หลายเดือนก่อน +1

      reading that last sentence gave me an aneurysm

  • @oblivion_2852
    @oblivion_2852 7 หลายเดือนก่อน +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

  • @RmAndrei93
    @RmAndrei93 7 หลายเดือนก่อน +9

    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 7 หลายเดือนก่อน +2

      Proxmox Mention Let's Go!

  •  7 หลายเดือนก่อน +28

    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

  • @EduardKaresli
    @EduardKaresli 7 หลายเดือนก่อน +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.

  • @thebuggerdev
    @thebuggerdev 7 หลายเดือนก่อน +2

    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.

  • @hicoop
    @hicoop 7 หลายเดือนก่อน +3

    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.

  • @skydivertyler
    @skydivertyler 7 หลายเดือนก่อน +7

    One of my favorite videos of 2024

  • @letstalkdev
    @letstalkdev 7 หลายเดือนก่อน +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.

  • @garretmh
    @garretmh 7 หลายเดือนก่อน

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

  • @pabloqp7929
    @pabloqp7929 7 หลายเดือนก่อน +1

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

  • @anonymouscommentator
    @anonymouscommentator 7 หลายเดือนก่อน +27

    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!

  • @philodox13
    @philodox13 7 หลายเดือนก่อน +1

    I'm looking to launch my first online product and I'm trying to keep it simple. However, a static IP address from Fios is $70/month and AWS is $14/month. It's like trying to eat healthier, but the overly processed food is cheaper than the raw food.

  • @McSlime1000
    @McSlime1000 7 หลายเดือนก่อน +72

    What a based man

  • @deveshanand18
    @deveshanand18 6 หลายเดือนก่อน

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

  • @LynnK2000
    @LynnK2000 7 หลายเดือนก่อน +17

    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 7 หลายเดือนก่อน

      go back to self hosting!

    • @Duconi
      @Duconi 7 หลายเดือนก่อน +3

      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.

  • @TreeLuvBurdpu
    @TreeLuvBurdpu 7 หลายเดือนก่อน +31

    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 7 หลายเดือนก่อน +3

      Why would this be any less reliable?

    • @TreeLuvBurdpu
      @TreeLuvBurdpu 7 หลายเดือนก่อน

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

    • @AJax2012
      @AJax2012 7 หลายเดือนก่อน

      @@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 7 หลายเดือนก่อน +4

      @@doesntmatter6084 Old Macbooks like to die.

    • @doesntmatter6084
      @doesntmatter6084 7 หลายเดือนก่อน +4

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

  • @Alex_Vir
    @Alex_Vir 7 หลายเดือนก่อน +3

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

    • @Duconi
      @Duconi 7 หลายเดือนก่อน

      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 7 หลายเดือนก่อน

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

  • @theMonkeyMonkey
    @theMonkeyMonkey 7 หลายเดือนก่อน +1

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

  • @mustafabin4359
    @mustafabin4359 7 หลายเดือนก่อน +8

    i personally like the music

    • @cole5981
      @cole5981 7 หลายเดือนก่อน +1

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

  • @RoamingAdhocrat
    @RoamingAdhocrat 7 วันที่ผ่านมา

    This was really good - and I didn't find the music obtrusive despite having a literal earache at the moment. Might have to give NixOS a go!

  • @jctemp
    @jctemp 7 หลายเดือนก่อน +10

    Did not expect NixOS to come. Legend!

    • @RT-.
      @RT-. 6 หลายเดือนก่อน

      it came

  • @austin4855
    @austin4855 7 หลายเดือนก่อน

    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.

  • @gnorts_mr_alien
    @gnorts_mr_alien 7 หลายเดือนก่อน

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

  • @giancarlobonvenuto2701
    @giancarlobonvenuto2701 7 หลายเดือนก่อน +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

  • @thisaintmyrealname1
    @thisaintmyrealname1 7 หลายเดือนก่อน

    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

  • @kalibbailey6219
    @kalibbailey6219 6 หลายเดือนก่อน

    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

  • @whatrobot
    @whatrobot 6 หลายเดือนก่อน

    music is perfect, i like it more than the no music version.

  • @Monotoba
    @Monotoba 4 หลายเดือนก่อน

    As a retired SE and someone who grew up in the host it yourself and colocation age, i too beleive cloud is often used without giving due consideration to self hosting. Cloud seems to be the way everyone does it. So everyone does it that way without asking why or what other alternatives are available. So i agreed with most of what you have said. If not all of what youve said!

  • @abdelazizlaissaoui9079
    @abdelazizlaissaoui9079 7 หลายเดือนก่อน

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

  • @sparshpriyadarshi
    @sparshpriyadarshi 6 หลายเดือนก่อน

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

  • @karmatraining
    @karmatraining 7 หลายเดือนก่อน

    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).

  • @Dominik-K
    @Dominik-K 7 หลายเดือนก่อน +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

  • @mdxggxek1909
    @mdxggxek1909 7 หลายเดือนก่อน

    This video is awesome and exactly how I approach things

  • @nourgaser6838
    @nourgaser6838 6 หลายเดือนก่อน

    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.

  • @qodesmith520
    @qodesmith520 7 หลายเดือนก่อน

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

  • @programmer1356
    @programmer1356 7 หลายเดือนก่อน +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 7 หลายเดือนก่อน

      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.

  • @efkastner
    @efkastner 7 หลายเดือนก่อน

    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

  • @tumblingturtle162
    @tumblingturtle162 5 หลายเดือนก่อน

    You speak the truth. Thanks for your truthful assessment of the state of cloud computing

  • @josephgreene630
    @josephgreene630 7 หลายเดือนก่อน +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 7 หลายเดือนก่อน

      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)

  • @skytasul
    @skytasul 6 หลายเดือนก่อน

    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 :)

  • @danielgriffiths5901
    @danielgriffiths5901 7 หลายเดือนก่อน +1

    Eye opener video for me. Thanks

  • @brainites
    @brainites 7 หลายเดือนก่อน +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 7 หลายเดือนก่อน +1

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

    • @brainites
      @brainites 7 หลายเดือนก่อน +1

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

  • @gungun974
    @gungun974 7 หลายเดือนก่อน +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.

  • @hazqier
    @hazqier 7 หลายเดือนก่อน +1

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

  • @kolkoki
    @kolkoki 7 หลายเดือนก่อน

    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.

  • @stevepositiv
    @stevepositiv 7 หลายเดือนก่อน +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.

  • @nicholascole161
    @nicholascole161 7 หลายเดือนก่อน

    Really interesting and thorough perspective thanks

  • @brunojcm
    @brunojcm 7 หลายเดือนก่อน

    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  7 หลายเดือนก่อน

      I actually really agree with removing this. Native > containers

  • @cubiccode3867
    @cubiccode3867 7 หลายเดือนก่อน

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

  • @Zolodar
    @Zolodar 7 หลายเดือนก่อน +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.

  • @jokmenen_
    @jokmenen_ 7 หลายเดือนก่อน +1

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

  • @jam-trousers
    @jam-trousers 4 หลายเดือนก่อน

    Most useful tech video I’ve ever watched

  • @JosiahHilden
    @JosiahHilden 7 หลายเดือนก่อน +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!

  • @dipereira0123
    @dipereira0123 7 หลายเดือนก่อน

    Much appreciated! Thx for sharing the knowledge 🫡

  • @ofsen5588
    @ofsen5588 7 หลายเดือนก่อน

    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

  • @andrewshear
    @andrewshear 7 หลายเดือนก่อน

    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.

  • @javisartdesign
    @javisartdesign 7 หลายเดือนก่อน +1

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

  • @BirdsInDerpVille
    @BirdsInDerpVille 6 หลายเดือนก่อน

    Docker Swarm is deprecated and has horrible network scaling issues at production level overlay networks. It works for small projects, but if you're going into devops type roles, it would be worth it to learn and use Kubernetes from the beginning. It is more time commitment once you start using multi-node setups though. Love the message of the overall video though.

  • @dontdoit6986
    @dontdoit6986 6 หลายเดือนก่อน

    My outbound traffic is throttled in throughput and limited in maximum allowed size by my ISP.

  • @DarrenAllatt
    @DarrenAllatt 6 หลายเดือนก่อน

    For the music, use vocal ducking and reduce the volume to -10db and it will be sweet.

  • @RyanIsHoping
    @RyanIsHoping 7 หลายเดือนก่อน

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

  • @shanekunz
    @shanekunz 7 หลายเดือนก่อน +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....

  • @pedro.guedes
    @pedro.guedes 7 หลายเดือนก่อน +6

    awesome... remind the world to KISS and think about requirements

    • @sebasfavaron
      @sebasfavaron 7 หลายเดือนก่อน

      In both meanings of the phrase 😘

  • @quintonnrothmann7636
    @quintonnrothmann7636 7 หลายเดือนก่อน +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 7 หลายเดือนก่อน +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 7 หลายเดือนก่อน +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

  • @sillybuttons925
    @sillybuttons925 7 หลายเดือนก่อน

    This was great. So much learning.

  • @1v512
    @1v512 7 หลายเดือนก่อน +3

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

  • @Dedinside-l7n
    @Dedinside-l7n 7 หลายเดือนก่อน

    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.

  • @vaviloffx
    @vaviloffx 7 หลายเดือนก่อน

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

  • @Robertking1996
    @Robertking1996 6 หลายเดือนก่อน

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

  • @modolief
    @modolief 7 หลายเดือนก่อน

    Awesome presentation. Top notch content.

  • @RazorSh4rk
    @RazorSh4rk 7 หลายเดือนก่อน

    thats so cool, i usually write the thing and push it to github and click 3 buttons on the vercel admin page (y)

  • @PM-cv4sq
    @PM-cv4sq 6 หลายเดือนก่อน

    Fantastic tutorial. Thank you!

  • @rebelg
    @rebelg 7 หลายเดือนก่อน +6

    If you use NixOS, why not move docker compose YAML config into native NixOS config?

    • @mdxggxek1909
      @mdxggxek1909 7 หลายเดือนก่อน +3

      Docker is more flexible, you could move it to non nixos, or test it on your laptop, or deploy it in a swarm

    • @seanhdka
      @seanhdka 7 หลายเดือนก่อน

      @@mdxggxek1909but then why install nix os on the server? the whole point of nix os is the have a declarative configuration so no matter what it will be configured the same. with flakes you're even sure you have the exact same version of the software since it uses the git hash to in worst case rebuild the package. nixos can do everything docker can and more. you could even startup new vms just by declaring it in the config and rebuilding the system. and if something breaks, every state is safed for rollback. sorry i daily drive nixos and i just love being able to rebuild my pc with a single command. you could even just boot into the live iso and have the partitions made for you, via nix config.

  • @silvialuzmia
    @silvialuzmia 6 หลายเดือนก่อน

    ok this is interesting, gonna mark it until I have enough motivation back to watch and do it

  • @sillytechy
    @sillytechy 7 หลายเดือนก่อน +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 ?

  • @wadrin
    @wadrin 6 หลายเดือนก่อน +1

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

  • @AlecThilenius
    @AlecThilenius 7 หลายเดือนก่อน

    Dokku. I cannot recommend Dokku enough! We switch to dedicated hardware and Dokku (which is self-hosted Heroku that uses Docker) made it all possible. It's been an absolute pleasure to work with, and has been rock solid.

  • @crofoh
    @crofoh 7 หลายเดือนก่อน +2

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

  • @sonicjoy2002
    @sonicjoy2002 7 หลายเดือนก่อน

    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.

  • @plagiarisedwords
    @plagiarisedwords 5 หลายเดือนก่อน

    I think self hosting is going to the other extreme. You get a lot of problems having to manage the physical servers yourself.
    For instance, a startup i worked for that is now a unicorn started off in really crappy offices that kept getting burgled. They lost a number of macbooks. But if they had self hosted and the theives took the server, then it may be ge over for the startup at that point. Especially given customer data being lost (even if encrypted).
    Companies could save a lot of money by just sticking to basic cloud services like EC2. A lot of other than AWS provide those so quite a competitive market. Then you just run your own services on the box.

  • @Linuxhype
    @Linuxhype 7 หลายเดือนก่อน +1

    Great video, thank you!

  • @peterszarvas94
    @peterszarvas94 7 หลายเดือนก่อน +1

    If you have static IP from your ISP, you can do it. Here they only give it if you are a business, not for regular people. I could use a DDNS service, but I need to play with my router settings... Maybe one day:D Until that, 5 USD linode server or 6 USD digitalocean server is the cheapest option

    • @RT-.
      @RT-. 6 หลายเดือนก่อน

      I can recommend Contabo for the same price. I'm not sponsored. But they have REALLY good specs

  • @TheAkiller101
    @TheAkiller101 7 หลายเดือนก่อน +1

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