The cloud is over-engineered and overpriced (no music)

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 เม.ย. 2024
  • 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 got carried away a bit...
    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.
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @harryowens6844
    @harryowens6844 28 วันที่ผ่านมา +1805

    Nice one , music was a little loud

    • @user-zg2bx4oz2p
      @user-zg2bx4oz2p 27 วันที่ผ่านมา +57

      music is haram

    • @edism
      @edism 27 วันที่ผ่านมา

      😂​@@user-zg2bx4oz2p

    • @user-cn4co9mt4p
      @user-cn4co9mt4p 26 วันที่ผ่านมา +31

      Music is haram

    • @sa_med
      @sa_med 25 วันที่ผ่านมา +23

      Yes music is HARAM

    • @dontreadmyusername6787
      @dontreadmyusername6787 24 วันที่ผ่านมา +14

      Can verify music is indeed haram

  • @mona.supremacy
    @mona.supremacy 28 วันที่ผ่านมา +1133

    Man is a legend for admitting his mistake with that sshtty music and hot fixing it right away hahaha

    • @mona.supremacy
      @mona.supremacy 27 วันที่ผ่านมา +17

      @@scaffus no idea. Regardless of my taste in music, the music was stealing the show from what I would describe as a very important message that lots of engineers have to hear way more often.

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

      I’m going to steal your `sshtty` bit 👌

    • @knowledgedose1956
      @knowledgedose1956 24 วันที่ผ่านมา +16

      nice😂 ssh tty now has one more meaning

    • @mona.supremacy
      @mona.supremacy 24 วันที่ผ่านมา +5

      @@knowledgedose1956 I was messing with my ssh keys at the time of writing the op so it came naturally to me. Glad u noticed. Have a nice day

    • @jay_wright_thats_right
      @jay_wright_thats_right 17 วันที่ผ่านมา +2

      hot fixing? no one talks like that. learn to be human.

  • @kilerik
    @kilerik 14 วันที่ผ่านมา +27

    In my first job, I was in a small startup where we had a 60 year old linux neckbeard as IT. He built an incredibly robust infrastructure out of free open source software and old cheap hardware.

  • @BenChrzti
    @BenChrzti 27 วันที่ผ่านมา +606

    Thank you for having a version without music

    • @Gorillaeatz
      @Gorillaeatz 20 วันที่ผ่านมา +12

      😭😂🤣. Bro paid you for saving his ears

    • @pajeetsingh
      @pajeetsingh 17 วันที่ผ่านมา +1

      When are you donating us poor souls?

  • @Ghaz002
    @Ghaz002 22 วันที่ผ่านมา +195

    This is a genuinely a really good self-hosting walkthrough, and you're right about the cloud's shortcomings. I'll be dead before I carry water for aws/gcp/etc, but i think it must be said that there's a pretty large gap between what you're showing and the sort of commercial-scale operations that the cloud is meant to be a practical replacement for (one where the cost of a devops department would run into six figures)

    • @Jossarianz
      @Jossarianz 20 วันที่ผ่านมา +21

      Exactly. I’m really looking for a way to reduce our company’s AWS bill but this just wont cut it

    • @cloudboogie
      @cloudboogie 20 วันที่ผ่านมา +9

      Well, if you have 1 devops then your cost is already six figures. And cloud doesn't fix it, as most developers are too bad with cloud stuff so you'll still need to hire someone with an expertise or suffer the consequences.

    • @LoneWanderer905
      @LoneWanderer905 20 วันที่ผ่านมา +13

      ​​@@cloudboogie"most devs are bad with cloud stuff" hmmm... What? I see people developing/certifying themselves on it every single day man, and taking into account how many jobs there are available on that field... Just makes no sense unless you're thinking about the 40yo+ devs that have a beard, yellow glasses, "I'm on arch btw" and still think WSL is a desecration of the Linux Kernel or something.

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

      @@Jossarianz move to another provider - running your containers under VMs i.e. Linode, Equinix Metal, Digital Ocean, Vultur

    • @asdfbeau
      @asdfbeau 19 วันที่ผ่านมา +16

      for real.
      Have any of you been through a process-related audit (e.g. SOX, NIST, PCI, HIPAA)?
      Every single process in your enterprise will be reviewed, with varying degrees of thoroughness, depending on your industry.
      Your "it runs faster if I host it from the PC under my desk!" attitudes represent real risk to the company you work for. _Everything_ has to be logged, everything has to be auditable, and (at this point) nothing does that as well as public cloud.

  • @darrenzou2225
    @darrenzou2225 26 วันที่ผ่านมา +148

    Love the VC -> Bezos pipeline. One of the all time classics

  • @urzalukaskubicek9690
    @urzalukaskubicek9690 27 วันที่ผ่านมา +384

    I am simple person, I see self host, I like.

    • @prashis
      @prashis 5 วันที่ผ่านมา

      😆😆

  • @ev.c6
    @ev.c6 20 วันที่ผ่านมา +182

    As a software engineer who has worked with bare metals, hybrid infrastructure and Cloud I tell you cheap is a very relative concept. You can deploy anything on your cheap notebook, but maintaining it will be a pain. Backup, upgrades and disk replacement is just something you have to consistently consider when you host these things. I used to work in a company where the infrastructure was hybrid, we hosted our stuff through VMware and bare metal, and it was a pain. Setting up distaste recovery plans and monitoring was just annoying. No one wanted to do it. And with the cloud you just trust it will work. It’s truly on another level.

    • @sebastiang7394
      @sebastiang7394 20 วันที่ผ่านมา +46

      Exactly. Getting something to ”work“ and maintaining something are completely different things.

    • @user-vb9vc1es3o
      @user-vb9vc1es3o 19 วันที่ผ่านมา +19

      Everything is In your word trust.
      You trust until one day you notice issues in your data, then you open a ticket, the answer is yes we lost your data. You field a claim, the answer is in the contract your responsible for your data saving... Then you wonder why the cloud at the first point 😂

    • @dutchdykefinger
      @dutchdykefinger 17 วันที่ผ่านมา +1

      Most companies grossly underestimate the costs
      Also.. imagine trusting aws

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

      @@user-vb9vc1es3o me when backups do not exist

    • @AmpersAndAI
      @AmpersAndAI 14 วันที่ผ่านมา +6

      @@user-vb9vc1es3o "notice issues in your data". A competent software engineer would be able to discover the origin of these data issues and address them appropriately. The scenario you laid out assumes that the data/software engineer is not qualified for the role and needs to be let go.

  • @Sultan___
    @Sultan___ 28 วันที่ผ่านมา +181

    music was REALLY loud for a tech video. thanks!

  • @sarthakpatwari7988
    @sarthakpatwari7988 24 วันที่ผ่านมา +342

    if this man disappears, we all know the reason

    • @vr10293
      @vr10293 21 วันที่ผ่านมา +34

      The music mafia got to him

    • @AUniqueHandleName444
      @AUniqueHandleName444 21 วันที่ผ่านมา +2

      He's an aussie, Bezos has no power over him.

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

      @@AUniqueHandleName444 I don't think the music is from Amazon tho

    • @XalphYT
      @XalphYT 21 วันที่ผ่านมา +7

      Did he get trapped inside one of his own Docker containers?

    • @basswarnow
      @basswarnow 20 วันที่ผ่านมา +2

      The AWS death squadron is coming for you

  • @M3t4M4ng0
    @M3t4M4ng0 23 วันที่ผ่านมา +587

    Things I learned:
    a) How to self host
    b) This video used to have annoyingly loud music

    • @biomorphic
      @biomorphic 21 วันที่ผ่านมา +4

      Well, you are still going to use the cloud, but it will be Linode or Digital Ocean, which are way cheaper than AWS.

  • @arunaideepan293
    @arunaideepan293 27 วันที่ผ่านมา +94

    Better without music

  • @thestefandjokic
    @thestefandjokic 27 วันที่ผ่านมา +73

    This version is actually very good! Completely watchable, professional, and engaging, compared to the version with the loud music.
    Over there, I constantly felt like I want to turn the volume down, but I would also not be able to hear your voice

  • @rrmackay
    @rrmackay 24 วันที่ผ่านมา +145

    Currently in a startup: moved everything to linode from AWS, deployed on kubernetes using all open source solutions.
    Total operational cost for a horizontally scaled SaaS app is $50 per week.for a total of $2600 per year.

    • @mananshah3248
      @mananshah3248 23 วันที่ผ่านมา +17

      what was it like before?

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

      That's still a lot. Can you rewrite it into an efficient language with efficient algorithms to where a single node is sufficient?

    • @IAmPattycakes
      @IAmPattycakes 23 วันที่ผ่านมา +99

      ​@@vcoolif a startup is able to logically expense the cost of a full rewrite to save $1k/year they either don't have a product or won't have any staff soon.

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

      @@vcoolrewriting a product can take 100’s of 1000’s of $, and can potentially fail.

    • @kabal911
      @kabal911 22 วันที่ผ่านมา +2

      I'm also looking at something like Hetzner Cloud with k3s.
      I kind of still want to outsource DB to something like Neon or CoachroachDB, but cloud compute is too expensive, especially if your app is mostly I/O bound.
      Most of our line of business apps are literally sitting at sub 1% CPU on the smallest AWS Fargate instances

  • @NicholasAndre1
    @NicholasAndre1 21 วันที่ผ่านมา +10

    So my personal philosophy:
    - if project doesn’t demand absurd SLA or you just having fun, use home hosting
    - if initial or small deployment for high reliability, cloud makes sense. Cost of reliable internet and power usually exceeds cost of cloud (eg lambda + RDS instance)
    - the tipping point of dedicated local hosting is when the cost of backup power, real estate, and high SLA fiber can be amortized against cloud bill
    - cloud only makes sense for large loads in narrow circumstances. The overhead price for scalability is often not less than the cost of maintaining excess infra. The main variable here is time/consistency.
    Also worth differentiating “cloud” versus like private server hosting. I think that the typical shared data center renting rack space or even single bare metal server model looks more like home hosting with defrayed cost of reliable power and fiber.
    Personally being able to reconfigure my home network rack without taking down my public website is nice. Also if you try to do email from Comcast consumer IP space you will be permanently spammed. You need reverse DNS etc.

  • @Felix_Tpr
    @Felix_Tpr 24 วันที่ผ่านมา +2

    I am verry impressed by the details and all in one description you are delivering here. Thank you verry much!

  • @iamanishkumar
    @iamanishkumar 28 วันที่ผ่านมา +85

    I just watched your previous video and now i am hooked to your channel. Nice content.

    • @hendrikmartina3552
      @hendrikmartina3552 28 วันที่ผ่านมา +1

      Bro really. Make a tutorial replicate this one using Kamal I can help you with the configuration

  • @bot5am
    @bot5am 27 วันที่ผ่านมา +15

    You earned my trust in less than 15 minutes. Subscribed!

  • @philosophopotamus
    @philosophopotamus 23 วันที่ผ่านมา +3

    Nice video! I built my second startup using FreeBSD jails, Git, and Gitlab CI/CD. It's definitely possible to avoid cloud complexity until you really need it. Love your approach here, keeps things nice and simple but leaves options for later on the table. Bravo.

  • @thfsilvab
    @thfsilvab 24 วันที่ผ่านมา +21

    The only think I look for a provider today is for managed databases, I still don't want to deal with the pain of managing database servers (snapshots, backups, updates, security, patches, etc...). I don't need that much to run stateless applications, just spawning a new docker container and works like a charm, but the data store is still a pain to manage myself.

    • @patrickrobertshaw7020
      @patrickrobertshaw7020 22 วันที่ผ่านมา +6

      Okay, so we run RDS with backups. Cool.
      Where do you want to host your compute? Your compute needs to be hosted close to the database or else the database hops are going to end up costing you a lot of latency, not to mention the traffic costs at the edge for the connection into AWS coming from public internet. (additionally there's security concerns here now because your database is exposed publicly rather than living in the confines of an AWS VPC. Okay, the security issue here can be solved with properly configured security groups to limit connections in, but the requirements are stacking up here, and this is an easy step to miss for a team that's not savvy on security)
      Then there's the question of routing into your compute. Amazon makes this insanely easy with ELBs (Elastic Load Balancer). With your home internet provider, you'll either have a dynamic IP, or be straight up natted and you'll have a very difficult time routing to your system. The dynamic IP can be worked around with tools that will monitor your public IP address and update DNS records accordingly, but this is another piece of infrastructure to manage, and there's no way to do it with zero downtime. To get reliable static IPs you're talking about creating a datacenter, and a datacenter specifically close to AWS datacenters where they've already bought up the best land in the area for that purpose. It's also a giant upfront cost in terms of money and time for a startup that needs to be quick to market.
      Self hosting is a LOT more than running a couple of containers on a machine.

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

      @@patrickrobertshaw7020I would just set up a vpn to my database, something like zerotier, it’s super fast and doesn’t need to know your ip address. You don’t need to open up any ports on your firewall for it to work.
      For serving you app you can use something like Cloudfront tunnels. Or just buy a cheap 1-5$ vps and set your nginx on it. Although I prefer Traefik.

    • @AmpersAndAI
      @AmpersAndAI 14 วันที่ผ่านมา +1

      ​@@patrickrobertshaw7020
      "or be straight up natted"
      " already bought up the best land in the area for that purpose."
      You can write comments normally lol

  • @BeOnlyChaos
    @BeOnlyChaos 23 วันที่ผ่านมา +6

    So caught me off guard with the nixOS spin. It was a pleasant surprise.

  • @mlathrom
    @mlathrom 23 วันที่ผ่านมา +3

    Been wanting to self-host and this was a great start. Awesome video, man!

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

    The way you showcased how things would actually work if self hosted is really impressive. I, for the longest time, wanted to self host my website, blogs, packages, etc. But I couldn't figure out how to do it. This just gives me a reason to do it. Thanks.

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

    Without a too loud music. The video is still good !
    Since you always show things on screen while never stop of talking. There is no blank and that’s perfect.
    That’s nice of you to have made this modification and that show your dedication in your channel.
    Anyway nice job. I didn’t subscribe in the first video but it’s now done ^^

  • @weiSane
    @weiSane 27 วันที่ผ่านมา +40

    I watched the first video and there were complaints about music. Got back on and you had re uploaded and fixed version. That was fast man. I just subbed this video was great.

  • @AlexandreCassagne
    @AlexandreCassagne 27 วันที่ผ่านมา +5

    Good for you to reupload this. Great video, totally agree (as a cloud engineer myself!!)

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

    Agree with it all. Very nice to see a practical example on how to do it and love your explanation and reasoning

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

    I love how simple and straightforward all of this is. And I find it really interesting the choice for NIXOS for just it's config file nature

  • @valdimer11
    @valdimer11 22 วันที่ผ่านมา +8

    Companies like AWS, Google, and Azure price on a curve. Its cheaper in the begining but once you use the handy dandy "scalability" you are effectively trapped in an overpriced money pit that you can't escape from

  • @job4243
    @job4243 26 วันที่ผ่านมา +7

    Incedibly well done video. Really covered a lot of topics in a short time. I think all the advice was great! Even for someone who knows and uses most of these tools already, it is great to see how others are setting things up.
    Just one critical thing you missed (in my opinion) is backups. I very much agree with you that I am not so worried about a bit of down time. Downtime is no such a big deal. But data loss is a big deal. So maybe some cron jobs that backup some data to S3 for example? Sure you are using cloud in that case but in a very minimal way usually very low cost to use S3. Doing this really adds a lot of value and peace of mind at minimal cost.
    And one last thing. It would be great if you included a git repo with the files you created in the video.

  • @AlexWilkinsonYYC
    @AlexWilkinsonYYC 9 วันที่ผ่านมา +2

    We actually ended up with our startup self hosting, however our AWS costs were only about 1k a month when we switched. Our self hosting is essentially free.

  • @OrtinFargo
    @OrtinFargo 28 วันที่ผ่านมา

    Watched the previous video, and this is a good change! now this is a great resource of trying to self host without using complicated software.

  • @MzungaElephant
    @MzungaElephant 17 วันที่ผ่านมา +5

    You had me at "I refuse to use nano more than once per computer" 👏

  • @mudi2000a
    @mudi2000a 27 วันที่ผ่านมา +85

    The thing with AWS is you don’t have long term commitments and you can start and stop services on demand. BUT of course if you only need servers, there are also classic hosting providers that offer those on the same dynamic way as AWS for much less. Nobody says you can’t do this with normal servers. But you need more people, that is inevitable.

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

      Which is paradoxical since it is only by paying upfront for the resources you plan to use that you can get the best pricing, the true spirit of the whole thing what was pitched years ago when the whole thing started.

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

      @@TheS0meguy yes that's true and it is annoying. We offer a SaaS solution on AWS and we are working hard on cost optimization even though we have long term customers. If you can use spot instances then maybe you can have an advantage but for us it is not feasible. But we do benefit in that way that we have batch workloads where you would have to buy a lot of extra capacity if you used classic servers.

    • @AstralJaeger
      @AstralJaeger 23 วันที่ผ่านมา +6

      I've worked at a company that had their own servers sitting in Rackspace in a Datacenter nearby, the datacenter bill was laughbale compared to what we would've spent in the cloud, and surprisingly, 5 year old servers don't perform too bad. We were running on OpenShift and ArgoCD, including some very tight network firewall rules, meaning we could only log in to the control planes of those nodes from a Remote Desktop within the DC. It was honestly quite intruiging.

    • @mudi2000a
      @mudi2000a 23 วันที่ผ่านมา +3

      @@AstralJaeger if that fits your workload it is the best option. Server rental is always cheaper than cloud. But if you have a workload where you need like 5 servers for 4 hours and 1 for the rest of the day it can be problematic. On the other hand if you need fast disk I/O, servers are nearly always better as on AWS it is either slow AF or costs you an arm and a leg.

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

      @@mudi2000a Oh I fully agree, it was a long term hosted SaaS Product that was hosted in 3 datacenters over 3 european countries. It was honestly impressive how far you can get when your are unwilling to spend money.
      But I still think you can host on AWS and Azure without getting fully locked in, but then it would be cheaper to just rent a dedicated box on Hetzner for 50$/mo

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

    Your passion is contagious, I know what I will do this summer.

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

    wonderful video, sir! exactly what i was looking for. even as i'm not really a programmer, i do need to make my own tools from time to time and it always annoyed me to no end that whenever i'd try to get an actual professional to build a solution, they could never understand that i don't want it on a cloud, and that i also want to be able to control and change it myself, as i can't just sit around and wait for someone else to answer me when i have an error or something. so i would always actually end up crudely doing it myself, which took a bit longer, but it was at least working the way i needed it to. you explained this point very well at the end, most truly don't need such complicated tools and more often they take away too much in turn of some apparent advantages that few are actually asking for.

  • @xtremelinux
    @xtremelinux 21 วันที่ผ่านมา +4

    Look, I was going to make a tech joke about the video and all that, but the more I listened the more the video LITERALLY FUC.. ING showed what I do for a living. Including same decisions, mindset and more. Obviously you have more than 10 years of IT experience and have gone through the WTF moments as I have.
    This video touched so many points in so little time. So congratulations and I happily subscribed to the channel.
    Also the joke was "This video is for cases when you have less than 15 minutes for the cloud and server interview and no time to learn... But you need to sound knowledgeable".

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

      The more I learn the more I realize the solution is to bullshit other people at work. No matter what industry or what role, just bullshit a sense of competence and results. I remember one company, I lied about literally everything on the application, in the interview, and even when I was "working." The wrong people were pleased and the right people were mad but powerless to inflict on me personally any consequence.
      The whole world works like this. Everyone should just start doing it as much as possible. Grind the system to a halt.

    • @AmpersAndAI
      @AmpersAndAI 14 วันที่ผ่านมา

      "the video LITERALLY FUC.. ING showed what I do for a living."
      Why do people write like this?

  • @edwardscrase6136
    @edwardscrase6136 9 วันที่ผ่านมา +5

    Cloud has been oversold for nearly its whole lifetime. Outside of the original concepts of rapid scale out and scale back and software deployment speed, cloud makes little sense. If you are anything above a small business with predictable system load, clouds only purpose is to make the cost opex so you can sell it to the shareholders as something that can go down.

    • @NoOnesBCE
      @NoOnesBCE 3 วันที่ผ่านมา

      Even the scalability comes with massive risks as costs can scale out of control and tank a startup.

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

    This is really great! I'm starting to learn deployment techs and this really helped me make sense out of things.

  • @TerenceKearns
    @TerenceKearns 19 วันที่ผ่านมา +1

    This is awesome. I love the intro to this. Ill be coming back to try this tutorial for sure.

  • @omniscienceisdead8837
    @omniscienceisdead8837 28 วันที่ผ่านมา +5

    nice comeback dude, i saw how fast you acted on feedback, big ups!

  • @awksedgreep
    @awksedgreep 23 วันที่ผ่านมา +5

    Very wise. We’ve traded a strong magic aversion to layers of magic recently. Too much magic equals too little understanding.

  • @jordanjarvis8158
    @jordanjarvis8158 12 วันที่ผ่านมา +1

    This would be really good for small startups, as a DevOps engineer for a life sciences cloud service provider, AWS allows for things that self hosting just doesn't, but if you want to scale and start small, just make sure you implement your infrastructure as code (ansible terraform etc..), deploy on your own hardware, and if it makes sense to move to cloud, the same tools and CASC can be easily adapted to use cloud infrastructure. The technologies like kubernetes, nginx, docker, and others can all be used at massive scale and if you use Configuration and infrastructure as code, the code can be adapted to run on self hosting, aws, azure, or other systems with (relatively) little effort. The company I work for started with their own servers, after self hosting, to renting servers, to full aws, we were able to slightly adapt the CASC and scale from 2 servers to now over 8000 ec2 instances (we provide scalable cloud infra for life sciences industry)

  • @Aucacoyan
    @Aucacoyan 4 วันที่ผ่านมา

    Thank you so much, this is so inspiring that I want to setup a lab for myself and see how much do I need a cloud to "provide the solutions to my problems". Keep it coming!

  • @echognulinux
    @echognulinux 16 วันที่ผ่านมา +4

    Do you have a repository to view this code? For learning purposes

  • @manfredrichtoften8848
    @manfredrichtoften8848 23 วันที่ผ่านมา +33

    This video feels like an affirmation that I haven't gone crazy.
    Literally every professor this year in my faculty that had computer-related class (not programming, just the theory of computer architecture, professors that taught programming and oop were actually great) was telling us to use cloud, even when we were doing RAID.

    • @Macheako
      @Macheako 21 วันที่ผ่านมา +3

      It really did just sweep the industry by storm and people haven’t looked back at all 😢

    • @Beakerbite
      @Beakerbite 21 วันที่ผ่านมา +4

      @@Macheako Self hosting can be a major pain or outright impossible in some situations. You have to have a stable IP and you're ISP has to be ok with you hosting. If neither are true, then you simply can't self host. You could move, but that's quite the major life change just to avoid using someone else's computer.

    • @spencerstephens835
      @spencerstephens835 21 วันที่ผ่านมา +4

      @@Beakerbite That's what colocation datacenters are for. en.wikipedia.org/wiki/Colocation_centre

    • @Moe_Posting_Chad
      @Moe_Posting_Chad 21 วันที่ผ่านมา +4

      @@Beakerbite Or maybe its about time to force ISPs to give all customers static IP leases without expiration on demand at no charge. I don't believe that there is any reasonable explanation that can excuse this failure.

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

      @@Moe_Posting_Chad Won't work unless we all switch to ipv6

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

    This video is amazing, goes through so much!

  • @TerenceKearns
    @TerenceKearns 19 วันที่ผ่านมา +1

    Very smart things have been said here. Will definitely be taking a lot of these ideas into account when deploying my next project.

  • @drapala97
    @drapala97 27 วันที่ผ่านมา +3

    I really enjoyed finding this channel, I hope you keep up posting

  • @CompressionPolice
    @CompressionPolice 24 วันที่ผ่านมา +131

    Using 10+ different tools means 10+ more likely points of failure and 10+ different companies/discords to ask for help and 10+ tools you need to monitor for mandatory updates.

    • @pragmaticmero686
      @pragmaticmero686 23 วันที่ผ่านมา +57

      For 10+ less money bruh

    • @krobotak
      @krobotak 22 วันที่ผ่านมา +34

      and 10+ more skills and know-how which you usually dont have at the beggining since you are newbie :)

    • @kabal911
      @kabal911 22 วันที่ผ่านมา +29

      You still have to configure all these tools in AWS, and if you doing it properly, using IaC.
      The best middle ground IMO is something like Hetzner Cloud with k3s, and still outsourcing DB

    • @footballuniverse6522
      @footballuniverse6522 22 วันที่ผ่านมา +3

      @@kabal911 you are reading my mind thats the perfect balanced solution

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

      @@kabal911 kubernetes + LBs on hetzner and DBs on aws

  • @SwiftoMan
    @SwiftoMan 3 วันที่ผ่านมา

    Great video, think you hit the nail on the head with the format

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

    Thats fantastic! Thanks for the knowledge. I'll be using this on my project

  • @ducksies
    @ducksies 21 วันที่ผ่านมา +8

    As someone who has self-hosted many websites, you seem to be missing the entire point of why people prefer using cloud servers for their startups. It's all about scaling applications on a need basis to handle sudden, dramatic increases in traffic, which all startups expect as a part of their projected exponential growth strategy. Using local machines is cheaper, yes, but that is when the traffic and scale is static; even then there is a lot of infrastructure that goes into running a data center.

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

      Using a hybrid Cloud Model with Focus on bare-metal 😉

  • @noahgary6038
    @noahgary6038 22 วันที่ผ่านมา +3

    YESSS... I'm so happy I learned the LAMP stack doing everything by scratch before the insanity that is webdev now became what it is. I know how to do everything manually.

  • @jessthnthree
    @jessthnthree 28 วันที่ผ่านมา +2

    Very good video! It's good to see someone helping people move toward Free solutions rather than being reliant on megacorps

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

    thank you! been searching ages for this topic. it's been my age old interest to do devops without getting vendor locked in as a fullstack developer.

  • @dunar1005
    @dunar1005 23 วันที่ผ่านมา +44

    If you are a tinker, then do this, if you are a business, who wants to focus on business and not server maintenance, then use the cloud

    • @coreycollins8554
      @coreycollins8554 23 วันที่ผ่านมา +7

      Agreed. You probably already know but ECS isn't just docker like mentioned in the vid, it'll automate provisioning servers to scale to your traffic in a rubber-banding effect (hence elastic). When mentioned in the video that it's 'preferred to have the site crash and then provision more servers' makes me cringe because while that's fine for a random person's website that can be detrimental to a business whose infrastructure failed just as they may have finally gained the traffic they worked hard to get, and once user's see hiccups in your service then that's a lasting impression that you aren't trustworthy. There's ways of using cloud without being locked down to a provider.

    • @JamesBalazs
      @JamesBalazs 22 วันที่ผ่านมา +1

      ​@@coreycollins8554 Yeah it's never preferable to have the site crash, this guy has almost certainly never worked in a proper tech company if he recommends this. The bare minimum for an app with business customers is multi AZ and 4 nines - they likely wouldn't sign a contract for an app that does less. Docker swarm isn't a solution as stated in the video, since a powercut still kills all of your machines at once. No replication of customer data is a liability issue. No node autoscaling, and it's not really feasible to automate that at home. No CDN, so the frontend will load horrifically slow from a different country.
      There's many reasons we use PaaS.

    • @JamesBalazs
      @JamesBalazs 22 วันที่ผ่านมา +13

      "I've never seen anyone actually use multi regions on the cloud for their services" ok yeah that's the nail in the coffin for this video

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

      ​@@coreycollins8554 In this context it, ECS is a term of abstraction. Docker is just an core component of that abstraction. SLA is up to client to choose. If you implement "ECS" in house you pick and choose the requirements. That includes hardware(owned/rented) and location(s).

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

      And get shoved down the throat a 10k bill at the end of the month because you have no idea what you’re doing

  • @user-wt6wx5rp2d
    @user-wt6wx5rp2d 24 วันที่ผ่านมา +8

    Recently I have found "docker compose up --scale" removes the latest created container. Finally I have found the way to remove the old container. Thanks.

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

      Leah ?

    • @rayecast
      @rayecast 5 วันที่ผ่านมา

      Lawliet?

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

    Great video Tom, thank you very much for putting it together!

  • @christophschneider3260
    @christophschneider3260 28 วันที่ผ่านมา +2

    this inspires me to reevaluate my tech choices. i'm using a managed openshift right now.

  • @Skylla54
    @Skylla54 27 วันที่ผ่านมา +4

    simple != easy. Such a gold statement. Instant DeepCopy, right there :D

  • @sinterusde8869
    @sinterusde8869 22 วันที่ผ่านมา +3

    "I sleep for 30 seconds since it's easier than doing a health check" best life advice here

  • @HPerrin
    @HPerrin 16 วันที่ผ่านมา +1

    I couldn’t agree more. I built a server rack for multiple thousands of dollars that’s way over what I need, and it’ll still pay for itself within 2 years compared to hosting on the cloud.

  • @Fernando-ur6oq
    @Fernando-ur6oq 26 วันที่ผ่านมา +1

    Thank you for upload without music
    And what a great video you make thanks for this too

  • @nothingtoseehere93
    @nothingtoseehere93 22 วันที่ผ่านมา +38

    I think the assumption of this video is incorrect. The cloud is obviously not for you or your scale. The cloud is for SCALE and RELIABILITY not simplicity. Although it is significantly simpler than running your own tools

    • @binkbankbonk1
      @binkbankbonk1 10 วันที่ผ่านมา +3

      “Although it is significantly simpler than running your own tools.”
      Wut.

    • @KristianRobertsen
      @KristianRobertsen 10 วันที่ผ่านมา +5

      When you need certifications to do something, then it isn't simple.
      What this video went through is the absolute rock bottom of competence, because the level of understanding required is low, and you can get by mainly following instructions. You can't do this in a day, you shouldn't work as a software engineer.

    • @ryancraigdavis
      @ryancraigdavis 5 วันที่ผ่านมา

      100% this, as a DevOps engineer for a massive company (30,000 engineers and billions in revenue) you don’t choose these tools for simplicity of setup, you choose them for simplicity of adaptation and scale.

    • @samuelclemens6841
      @samuelclemens6841 4 วันที่ผ่านมา

      For most businesses and people, those are just buzz words. Startups usually don't make money and some of the biggest ones don't have stable business models. If you need cheap cloud scalability to run your business, you probably don't have a viable business model.

  • @prfwrx2497
    @prfwrx2497 8 วันที่ผ่านมา +3

    The cloud is just someone else's computer.

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

    This video is great, regardless of migrating to the cloud or not. I believe that knowing these steps is important to anyone deploying applications in cloud

  • @adamwarvergeben
    @adamwarvergeben 27 วันที่ผ่านมา +1

    Thanks a lot for explaining the rabbit holes to us :)

  • @johngleeson7919
    @johngleeson7919 28 วันที่ผ่านมา +8

    Subbed after no music upload

  • @youtubevideos415
    @youtubevideos415 24 วันที่ผ่านมา +111

    This is a great solution if you are young or unemployed, but when you are a business this is exactly what you want to avoid. This solution is very costly because you need to pay the wages for at least two employees who have such a deep understanding of those tools. Then you constantly need to monitor if this home grown solution still works and have to do software updates yourself all the time. While with AWS you don't need to spend money on those sysadmin guys and you have the confidence that your solution is tried and tested and will work all the time while not having to care about software updates at all.

    • @vcool
      @vcool 23 วันที่ผ่านมา +1

      Software updates for the most part are supposed to be automated or otherwise skippable.

    • @youtubevideos415
      @youtubevideos415 23 วันที่ผ่านมา +28

      @@vcool How would you automate software updates? You need to check if the application is still running after an update and be ready to revert the update if it fails. Plus you also need to check your homegrown solution if it is still compatible with the newer versions of the software it relies on. There's a reason why business spend so much on Amazon, because they would spend much more if they would do it themselves.

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

      ​@@youtubevideos415tools like Jenkins are great for testing before deployment. All the automation software has processes to check for updates at build which generally happens at use, so the flow could be fully automated.
      While I believe Amazon is obviously more stable, you'll still need experts to understand, setup, monitor and grow. I guess for me I'd rather have the autonomy to fix things to work for me, and not essentially allow my company to be owned and operated by Amazon. Also AWS really just makes hardware easily accessible. Everything going on in the background needs someone to get paid to monitor it.

    • @jimgrant0705
      @jimgrant0705 21 วันที่ผ่านมา +35

      thank you, finally a voice of reason. also, what happens if the power goes out at your office? or your internet provider goes down? or the CTO spills coffee on the server? or the disk fails? are your users going to wait around while you drive to Best Buy? like I get the hate for the AWS alphabet soup services, but there's a middle ground between that and a box under your desk like it's the 90s. look at Digital Ocean, Hetzner Cloud, Linode, etc.

    • @basswarnow
      @basswarnow 20 วันที่ผ่านมา +12

      The cloud isn't gonna maintain itself either. You got shared responsibility. Or you end up paying another MSP for doing that.

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

    This is soo good! I actually learnt the hard-way not to use the big vendors because I had 3 cosmosDB containers running slightly over free tier and it cost £150 for a month, absolute robbery. Now I use a $4/mo vps and it barely goes over 10% usage.

  • @algoexpert-bm5nj
    @algoexpert-bm5nj 22 วันที่ผ่านมา +1

    I am really working towards understanding this video and setting something like this up. I'll come back in 30 days and I hope to achieve this.

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

      This really doesn’t need 30 days, have a go at it and have fun

  • @MagDag_
    @MagDag_ 23 วันที่ผ่านมา +3

    Your example, is for small or pet project. Its not suitable for big projects. And who is using plain docker in project?

    • @ms-mousa
      @ms-mousa 16 วันที่ผ่านมา

      That’s exactly his point. This thinking that you shouldn’t use Docker alone…

  • @theAmazingJunkman
    @theAmazingJunkman 24 วันที่ผ่านมา +51

    Just finished IBM’s Full Stack Dev certification, gotta say that is as far down the cloud engineering rabbit hole as I ever want to be. Microservices in particular struck me as something only middle management would ever begin to think is a good idea.
    Edit: I think I meant to say serverless/FaaS, not so much Microservices

    • @username7763
      @username7763 24 วันที่ผ่านมา +14

      Everyone I've ever seen advocating for microservices has been an engineer. Engineers like it because they can start something new all the time without having to maintain ugly code. Don't like service x, let's re-write it as service y. It doesn't make sense from an engineering perspective but spinning up new services sure is fun.

    • @mattymattffs
      @mattymattffs 23 วันที่ผ่านมา +1

      Microservices are good in the correct context, but that is usually very specific and not applicable once it needs to know too much data. We use micro services for our API interfaces/bridges because they don't need to know anything. Allows us to scale them really fast

    • @coreycollins8554
      @coreycollins8554 23 วันที่ผ่านมา +7

      Microservices can be abused but when used correctly can be very effective. Each service is supposed to act as though other services may be down and can operate somewhat independently, preventing the classic "1 dev added a new feature that's bugged and now the whole website/system is offline". Services can also be in different tech stacks to fit their needs - some are ML workers and need pytorch, basic backend services are made in Go, performant critical services are made in Rust, etc. Large scale projects can be broken into smaller domains where each subteam or dev can work on their own API / spec without needing to understand the complexities of everything, which also helps with Agile teams who are focused on continuous deliverables especially as the product needs change over time. And with services deployed as pods we can automate horizontally scaling up a service if the traffic is hitting hard at that particular moment while keeping the other services scaled down to their own needs - rather than the monolith as a whole scaling up which may be unnecessary. I'm not a middle manager btw lol.

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

      @@coreycollins8554 But if you run everything on the same computer, you don't have so many things that can go wrong. Many more ways for a network call to fail vs a library function call. Modern computers are so crazy fast, you can get a lot of users on the same machine without putting a bunch of services in the middle. APIs have existed long before people put HTTP calls between them to slow them down. Distributed computed is needed sometimes for some problems, but way less often than what people think.

  • @didinesg3324
    @didinesg3324 26 วันที่ผ่านมา

    you can get away with absolutely no music if your video is interesting and compact with information like this one, good job!

  • @ancxanas
    @ancxanas 27 วันที่ผ่านมา +1

    Thank you my brother. You're goated. Expect more videos like this(also no music).

  • @Manyula
    @Manyula 21 วันที่ผ่านมา +4

    Where did you get that $1,160,000 figure from?

    • @BSTGMR-kj3tu
      @BSTGMR-kj3tu 20 วันที่ผ่านมา

      I'm curious too

    • @vcool
      @vcool 11 วันที่ผ่านมา

      From my experience having worked at a startup, it is absolutely in the ballpark.

  • @markamber1480
    @markamber1480 27 วันที่ผ่านมา +5

    I love your content! I work at a self hosting organization. We buy used servers and run kubernetes. We own the building. We use 2 ISP and use cloudflare to load balance but looking to get into BGP when we move buildings soon.
    Your setup scales well. I can attest to that. Simple, not easy I mean.
    We use Amazon for S3 storage though.
    I would tweak your video by jumping straight from docker run bypassing compose and swarm straight to kubernetes. Kubernetes is great, if you don’t think so let me talk you into it.

    • @markamber1480
      @markamber1480 27 วันที่ผ่านมา +1

      If you call me a hypocrite for using s3… try beating about $200 last month bill for s3 but $208k of revenue. Yeah I’m not spending one minute of my day to optimize that.
      But the fun part is on premise I don’t have to optimize anything, ever. 32 gigs of ram per tenant ? Database server + redis + single tenant app per customer? Sure. Done. Easy.
      AWS is like hundreds of dollars per month for a couple cores and a couple gigs

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

      Would you suggest K8 for a single node server? I 'm deploying customer projects on VMs and trying to dockerize the process. I 've never touched K8 or Swarm, and just stick to compose, but I 'm not confident it's a stable solution.

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

    what music... man this was a breath of common sense after a week of aws test prep... i understood it all intuitively (except i had not used cuddy - just nginx) with like zero weirdness plus i liked the penguins. And i have used aws for 4 years professionally and ... yes i have never scaled more than a server at a time and... it used to be cheap. subscribed!

  • @TheForge47
    @TheForge47 20 วันที่ผ่านมา +1

    Never moved to the cloud, always on premise. In the future there could be a possability to switch to hybrid cloud, but only to catch peaks and implement more bare-metal if the base line rises.

  • @ProjectGreenfieldSolutions
    @ProjectGreenfieldSolutions 23 วันที่ผ่านมา +3

    Great video. Thought it was going to be a talking point on cloud services. Was pleasantly surprised to discover what this video actually was.
    I like the workflow and your video taught a few tips and tricks that I hadn't previously known.
    P.S. You had me at "I refuse to use nano more than once per device"

  • @siestoelemento1019
    @siestoelemento1019 28 วันที่ผ่านมา +5

    nice, music was a headache

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

    Very nice and I agree with everything you said about the cloud. And this is coming from someone who is actually dealing cloud stuffs for Fortune 500s. Thanks for posting and would like to see more like this.

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

    This is helpful. I am programming a web application for the F&B industry. I had been looking for something that helps understand why the cloud vs alternatives. Thank you for sharing this.
    I have a question, how do I host a MySQL database on a secure domain that works like a cloud but is affordable?

  • @totex1979
    @totex1979 27 วันที่ผ่านมา +4

    Much better without the music.

  • @ataadevs
    @ataadevs 27 วันที่ผ่านมา +4

    How did you manage your static ip and connected it to the DNS

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

    Absolutely incredible video. Actually useful information delivered well. Keep it up 👍

  • @henrispriet9812
    @henrispriet9812 26 วันที่ผ่านมา

    wow this video is even better than the last one!!
    jokes aside, really good video 👍

  • @evanhruskar
    @evanhruskar 22 วันที่ผ่านมา +3

    You're comparing 1 mil of cloud spending by a startup to an old laptop running a docker container in someone's apartment. Is this a joke?
    Also, depending on the website (static vs dynamic), It might be cheaper to just run it in the cloud. Statically host it in S3 + use cloudfront for your CDN, and use lambda for API routes. Use a serverless DB like dynamo or aurora. Depending on your traffic, the cloud soultion could be cheaper.
    Also, it would come out of the box with: Unified metrics, logging, and alarms. 99.99+ SLAs on availability and persistence. IaC, no infra management, near infinite scalability, audit logs, ops console, etc...
    Perhaps people reach for cloud solutions too often -- but the self hosted docker container is not convincing me of anything.

  • @rubenk548
    @rubenk548 22 วันที่ผ่านมา +3

    It's a bit of a hard claim that cloud is over engineerd. Too bad that the majority of the video was around deploying a simple webserver. It would better proof your point if you would be able to apply, integrate, secure and scale multiple different applications. Then add data processing and analytics on top and ensure that the entire stack is fully observable.
    My point is: cloud is very usefull, but merely overkill if you only have a very simple compute demand. Other than that, the additional services are worth their money very fast.

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

    Great video! The only issue I see is in the case of ISP dynamically allocated IPs, if you want to send emails from the self hosted server it won't work as your email server would usually be red flagged

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

    Thanks for such a great video! I have one doubt, does ngix map dynamic IP? As per my knowledge, personal pcs and routers have dynamic IP.

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

      Same question here, what does the dns forward to?

  • @dandogamer
    @dandogamer 28 วันที่ผ่านมา +16

    AWS was built for enterprise in mind and then they just take popular open source libraries, create a thin wrapper around it and charge people. I'm surprised libraries allow them to do this tbh

    • @rafaeldeleon3386
      @rafaeldeleon3386 24 วันที่ผ่านมา +2

      redis isn't letting them do it any more. I wouldn't doubt if more oss start heading this way.

  • @M3t4lstorm
    @M3t4lstorm 24 วันที่ผ่านมา +18

    Can't tell if this is a troll or not 🤔

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

      Totes. Just pay your way into submission. Not worth thinking your way to success.

  • @GloriousBagel
    @GloriousBagel วันที่ผ่านมา

    I love getting a MS Azure ad before video about cloud service over dependence 😂

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

    I will tell you this...this is a great video...and looking at your past videos, I feel this video is the most useful one. If possible please go in detail of the setup of each components you discussed, I believe each topic can be separate video of its own. But anyhow Great work!!!!!!!

  • @drchamp1902
    @drchamp1902 23 วันที่ผ่านมา +56

    He forgot to mention that most internet service providers don’t allow home users to host websites, so now you have to pay for hosting. If you do that, who wants to mess with setting this up and then maintain the OS, patch it, provide SLAs etc. for commercial use, it’s not practical.

    • @yobtoyb
      @yobtoyb 22 วันที่ผ่านมา +4

      Mine allows it

    • @dasGieltjE
      @dasGieltjE 22 วันที่ผ่านมา +8

      Haven't run into one that blocks that in the last 10+ years

    • @dv_xl
      @dv_xl 22 วันที่ผ่านมา +2

      It's often more technical than an allow/disallow policy to the ISP. If your ISP implements a CGNAT network, it's not feasible to host because you're NATTED in some private subnet so incoming packets wouldn't know where to go. Luckily many ISPs are adopting ipv6, which can provide a real IP for every device in your network, so you can get something working. I've also worked around this with a remote hosted reverse proxy tunnel, but that isn't the best long term

    • @patrickrobertshaw7020
      @patrickrobertshaw7020 22 วันที่ผ่านมา +3

      @@dv_xl Yeah, the fact that routing is left as an exercise to the reader here, and he spent literally 10 seconds talking about pointing DNS to your website makes this an absolutely insane video. It's just a docker compose demo, which anyone thinking about self hosting is already well versed in

    • @noahmetz5892
      @noahmetz5892 22 วันที่ผ่านมา +1

      @@patrickrobertshaw7020What is there to say about it? "If you're lucky and not behind a CGNAT by your ISP you can directly point the DNS to your IP, otherwise you'll need to pay for or setup a reverse proxy with a public IPv4"?

  • @briangman3
    @briangman3 17 วันที่ผ่านมา +4

    So if your power goes off or internet goes out your web app goes offline

    • @JLoon824
      @JLoon824 10 วันที่ผ่านมา +1

      Realistically, how often does your power go out? If the answer is even somewhat often, you might want to find a new office space/landlord.

    • @Helycon
      @Helycon 8 วันที่ผ่านมา

      Thats what UPS and redundant internet lines are for. If it happens consistently its time to get a new ISP/Landlord/Power provider. This is a non-issue as if the internet and power goes out, so does your access to the cloud so your employees still cant work

  • @paweminkina4832
    @paweminkina4832 11 วันที่ผ่านมา +1

    Thanks for this video, it changed the way how I view world.

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

    I was on a project to upgrade some sql server databases on aws vm’s. They werent doing massive number of databases. They spent 9 months of development on teraform scripts that I could have manually created all the necessary databases in 2-3 weeks at most with simpler aws tools.