Fireship · @fireship

How To Make AWS Not Suck

Uploaded September 20, 2024 · Length 6:38

How To Make AWS Not Suck

Summary

This video teaches how to use open-source tools to optimize cloud computing on AWS, Google Cloud, and Azure, avoiding vendor lock-in and reducing costs.

  • aws optimization
  • cloud computing
  • vendor lockin
  • terraform
  • palumi
  • sst
  • docker
  • docker build cloud
  • local stack
  • encore

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:00

    in this video you're going to learn how

  2. 0:01

    to make cloud computing great again if

  3. 0:03

    you're a software developer that means

  4. 0:05

    you're on the Spectrum a spectrum that

  5. 0:07

    defines how dependent you are on big

  6. 0:09

    cloud platforms like AWS Google cloud

  7. 0:12

    and Azure on one end we have the based

  8. 0:14

    self Hoster this Dev does a million plus

  9. 0:16

    an annual recurring revenue and handles

  10. 0:18

    5,000 requests per second with PHP and

  11. 0:20

    jQuery on a $5 FreeBSD VPS the thought

  12. 0:24

    of proprietary close Source software

  13. 0:26

    triggers their gag reflex and they pity

  14. 0:28

    the fools paying for Jeff beus yacht

  15. 0:29

    when Lambda HTTP request at a time but

  16. 0:32

    at the other end of the spectrum we have

  17. 0:34

    the SAS Som leer this Dev bought a $200

  18. 0:36

    template and now pays $20 a month for

  19. 0:38

    website hosting at $50 a month for

  20. 0:40

    postgress at $10 a month for a

  21. 0:42

    notetaking app and $20,000 for data dog

  22. 0:45

    all of which is funded by rewards credit

  23. 0:46

    cards instead of customer revenue and

  24. 0:48

    they had no idea all the things they

  25. 0:49

    were paying for are just rappers of AWS

  26. 0:52

    but being on either end of the spectrum

  27. 0:54

    is not ideal being two based is timec

  28. 0:56

    consuming and error prone and leads to

  29. 0:58

    superiority complex but not being based

  30. 1:00

    enough allows the AWS rapper industry to

  31. 1:03

    enslave you which will make you poor and

  32. 1:04

    reduce your te count luckily there is

  33. 1:06

    another path a path where you leverage

  34. 1:08

    big cloud at optimal efficiency with

  35. 1:10

    amazing DX and zero vendor lockin and

  36. 1:12

    there are some amazing open source tools

  37. 1:14

    that can help us get there but first why

  38. 1:16

    do I even need a tool well if you go on

  39. 1:17

    big Cloud's website you'll look around

  40. 1:19

    for the right tool for the job end up

  41. 1:21

    deploying a massive kubernetes cluster

  42. 1:22

    you don't need then forget about it and

  43. 1:24

    end up homeless if you're deploying on

  44. 1:26

    big cloud you should never do this and

  45. 1:27

    instead use infrastructure as code there

  46. 1:30

    are many tools that can get the job done

  47. 1:31

    with one of the most popular options

  48. 1:33

    being terraform but it's not open-

  49. 1:34

    source and requires its own special

  50. 1:36

    language a good alternative is palumi

  51. 1:39

    which itself is written in go but allows

  52. 1:41

    you to write your code in multiple

  53. 1:43

    languages like typescript python go the

  54. 1:45

    c or just damel taking a declarative

  55. 1:48

    approach like this is not only safer but

  56. 1:50

    just far more efficient like in this

  57. 1:52

    example here I'm using palumi to create

  58. 1:54

    a Google Cloud virtual machine I can

  59. 1:56

    Define all the machine settings here

  60. 1:58

    like the size and operating system as