Terraform has forever changed the way I deploy code

Поділитися
Вставка
  • Опубліковано 30 лип 2024
  • Never deploy code manually again.
    Terraform has probably had one of the biggest impacts to the way I deploy code, and whilst it's not my favorite piece of tooling for performing IaC, it's perhaps the piece that is still the most ubiquitous.
    In this video, we take a brief look at Infrastructure as Code, and why it's useful, as well as deploying a project to AWS using terraform.
    #iac #terraform #coding
    Links:
    Git repo: github.com/dreamsofcode-io/ia...
    IAM file: github.com/dreamsofcode-io/ia...
    Hashicorp documentation: registry.terraform.io/provide...
    tfenv: github.com/tfutils/tfenv
    My Equipment:
    Voice over: kit.co/dreamsofcode/voiceover
    Coding: kit.co/dreamsofcode/coding
    My socials:
    Twitter: / dreamsofcode_io
    Discord Server: / discord
    Please consider supporting me as well!
    Patreon: / dreamsofcode
    00:00 Intro
    01:13 Terraform and IaC
    03:33 Setup
    05:40 Terraform basics
    08:58 Project Overview
    10:43 S3 Bucket
    12:05 SQS Queue
    13:05 Lambda
    17:07 Testing Deployment
    18:33 Cleanup (Important!)
    18:46 Outro
  • Наука та технологія

КОМЕНТАРІ • 177

  • @princemarkied8071
    @princemarkied8071 Рік тому +14

    Thanks!

  • @mambusskruj
    @mambusskruj Рік тому +41

    Love the way you make videos. Aesthetic, simplicity and helpfulness. All the time I stay away from video tutors because of how boring these are. But I really like to watch your content.

  • @33v4.
    @33v4. Рік тому +21

    I'm a junior and you're teaching me what I have struggled to learn for almost a year now (and nobody had the patience to explain so far)... thank you SO much

    • @dreamsofcode
      @dreamsofcode  Рік тому +1

      You're very welcome! Please let me know if there's anything else you wish to learn.

  • @wralith
    @wralith Рік тому +3

    Your videos keeps getting better and better, it was joy to watch, thanks!

    • @dreamsofcode
      @dreamsofcode  Рік тому +1

      Thank you! I definitely push myself with this one in the motion graphics. I'm glad you enjoyed it

  • @allroni
    @allroni Рік тому +2

    Thank you for putting out such high quality content! Your presentation is great and your tutorials are on point!

    • @dreamsofcode
      @dreamsofcode  Рік тому

      I'm glad you liked it! Thank you for the feedback!

  • @iantimmis651
    @iantimmis651 Рік тому +1

    Checked out a couple of videos in the last few days. Excellent youtube channel. You have a unique style where the video has a nice and relaxing aesthetic and the information feels very high level, but before you know it you've learned a lot of the lower level details with nice examples. Its like 100 seconds meets in-depth tutorial meets Sebastian Lague. Very cool. Subscribed.

    • @dreamsofcode
      @dreamsofcode  Рік тому

      Thank you! I appreciate the feedback a lot.
      I've got a long way to improve still, but hearing this makes me feel like I'm on the right track!

  • @Antonio-yy2ec
    @Antonio-yy2ec Рік тому

    Brilliant, just what I needed for my new project. Thanks for sharing!!

  • @jaredharp9815
    @jaredharp9815 Рік тому +2

    My friend, you are making some truly fantastic videos! Seriously, this video was so well done. I can tell the work that went into it, from the script, to the editing, etc etc. Just 10/10 job, you got a new subscriber from me :)

    • @dreamsofcode
      @dreamsofcode  Рік тому

      Thank you! I appreciate the feedback and am glad you liked the video, friend!

  • @_billiam_
    @_billiam_ 8 місяців тому

    Awesome video. I would love to see a video on Pulumi. Keep up the great work.

  • @ahmed.systems
    @ahmed.systems Рік тому +27

    Do you ever have dreams of code?

    • @TechBuddy_
      @TechBuddy_ Рік тому +6

      No, but I have dreams of dreams of code 😆

    • @dreamsofcode
      @dreamsofcode  Рік тому +27

      I used to, now I have dreams of video editing software.

    • @quinnmikelson5777
      @quinnmikelson5777 Рік тому +9

      More like nightmares, I once dreamed I had to configure a wedding with yaml files 😢

    • @TechBuddy_
      @TechBuddy_ Рік тому

      @@quinnmikelson5777 w......what !?

    • @dreamsofcode
      @dreamsofcode  Рік тому +2

      @@quinnmikelson5777 🤣

  • @claudioperroni3153
    @claudioperroni3153 Рік тому

    I would like to thank you for providing such a simple and understandable tutorial for this topic.

    • @dreamsofcode
      @dreamsofcode  Рік тому

      You're very welcome. I'm just happy it was enjoyed!

  • @igniteflow
    @igniteflow Рік тому +1

    So clear, concise and insightful. Thank you 👏

  • @Avlec1000
    @Avlec1000 Рік тому +1

    This video really stands out, it is packed full of useful information. Using a practical example of how to stand up IAC fits well with how I learn. I'm curious to know how you added the animations into the video?
    Thanks for putting this super helpful content up.

    • @dreamsofcode
      @dreamsofcode  Рік тому

      Thank you for the feedback!
      I use Davinci Resolve and create a lot of the animations myself. I'm actually starting to package these up into an effects package that others can use. I'm also going to start a new channel with tutorials on how do this: @dreamsofmotion
      I'll keep you updated with it!

  • @cherkim
    @cherkim Рік тому +2

    Superb video once more! Thanks kind sir

  • @pangloss3619
    @pangloss3619 Рік тому +13

    After a few years of working with TF, I’ve found it to be a great, but limited product. It’s well suited to configuration management, but not application development imo. With serverless stacks (as you showed in this vid) it starts to fall apart when you need to build your code bundles for lambda, as well as when you want to implement common deployment strategies like feature branches. I’ve been working with Pulumi for the last two years and have found that it takes the best elements of terraform (it’s providers) and let’s you create really nice build, test and deploy abstractions. AWS CDK is great, but obviously limited to AWS, which can be limiting if for example you want to deploy a db on another provider and monitors on another again. Pulumi is basically general purpose language terraform (compared to HCL) that gives you some really ergonomic developer experiences, whilst still being declarative, though frustratingly it’s not available in Rust…yet.

    • @dreamsofcode
      @dreamsofcode  Рік тому +3

      I'm a huge fan of Pulumi, its definitely got some huge benefits over terraform (as well as not being in HCL). Unfortunately, TF is still probably the most used at places I've worked.
      I'm also pretty excited for the potential of K8s operators, which seem to be getting better and better every year. Although, you need a K8s cluster, which is pretty costly for hobbyists. Unless you run some pi nodes like I do.
      Is Rust on Pulumi a possibility...? cause that's v exciting if so.

    • @victormendoza3295
      @victormendoza3295 Рік тому +3

      There is already a Terraform CDK (not in rust I don't think). I've used some CDK and automated some of the HCL module creation, but yeah it's a pain sometimes. TF can sometimes do app deploys but oviously just having a serverless cli / sam cli / etc. step your pipeline works to. The future isn't a bunch of IaC, but actually less if you can and relying more on the cloud provider. You can have terraform that creates yaml policies and those policies apply to newly created resources vs having to write a bunch of TF modules to apply to them (i.e. WAF). It's really YML Policies / Drag-n-Drop (confusing how to add that into IaC / Client Onboarding pipelines (with shared IaC state can be boto3 or others) / and IaC pipelines. Eventually it will just be a prompt you enter what app you want and AWS will create a SOC compliant app for you. Maybe SaaS As a Service.

    • @russellsanders4535
      @russellsanders4535 Рік тому

      CDK only exists so AWS can dogfood it

  • @asencme
    @asencme Рік тому +2

    Been using Terraform at my job for more than a year and I'm really happy with it.

  • @egemensentin
    @egemensentin Рік тому

    Berkeley Mono looks so lovely on the terminal!

  • @life1hunt
    @life1hunt Рік тому +1

    Would love someone to make these kind of videos for rest of the hashicorp products, especially nomad

  • @typecraft_dev
    @typecraft_dev Рік тому +2

    Amazing video! Terraform was always a black box to me. This broke things down nicely

  • @BillLambert
    @BillLambert Рік тому +67

    If you're a developer who does *everything* through automation, Terraform can be great, but if you're a sysadmin who has to clean up after developers' messes, Terraform quickly becomes the bane of your existence. It is very powerful but also very blunt. Trying to apply (or import) small incremental changes to your environment can quickly spiral out of control.

    • @dreamsofcode
      @dreamsofcode  Рік тому +20

      I think you're right, you either have to fully commit or not at all.
      We've had many problems where someone has made a manual change and not reflected it in terraform.
      That being said, we've had little to no problems when we have everything in IaC, and we've made exceptions for a few fields by marking them as ignore_changes.

    • @StephaneMoser
      @StephaneMoser Рік тому +3

      But that also apply to different platforms that provide an UI and API, or for example with Kubernetes, we can have a pipeline to deploy the code but if a developer has permissions can also change stuff manually using the dashboard or kubectl

    • @aaronglass890
      @aaronglass890 Рік тому +3

      you can target apply specific modules and resources. in fact, if you're a sysadmin who struggles with terraform - I'd advise you learn how to use it.

    • @Evan-dh5oq
      @Evan-dh5oq Рік тому +3

      Disagree. Cleaning up terraform code is infinitely easier than cleaning up random resources that no one knows exists. Just remove the resource from whichever state file contains it and run apply. Terraform has commands for all this so there's no need to manually parse state files. All of which can be automated. I've been working in ops for 7 years and nothing is worse than unterraformed(or some form of IAAC) resource creep.
      As the other poster mentioned, id recommend learning how to use a hammer before having an opinion on how it does with the nail use case.

    • @leosamu81
      @leosamu81 Рік тому +2

      @@dreamsofcode dont let them make manual changes if you are using terraform

  • @asta8288
    @asta8288 6 місяців тому

    out of curiosity
    how many ads are there in the video !!
    Nicely done
    Clear !

  • @wtcxdm
    @wtcxdm Рік тому +2

    I love the keeping hydrated part. As long as you are not deploying RDS or things that take ages....

    • @dreamsofcode
      @dreamsofcode  Рік тому +1

      It takes so long 😭.
      AWS WAF is the worst

  • @cyb3ristic
    @cyb3ristic Рік тому +1

    I would love to see a behind the scenes view of your editing process

    • @dreamsofcode
      @dreamsofcode  Рік тому +1

      I was thinking I should start a channel about how I do some of it. I did a bit of a write up on my discord. It's mostly Davinci Resolve with some After Effects and then ffmpeg for screen recording

  • @murtadha96
    @murtadha96 Рік тому

    I love this! Thanks

  • @user-ki6cb6en9d
    @user-ki6cb6en9d 10 місяців тому

    Thank you so much :)

  • @kristun216
    @kristun216 Рік тому

    I've been using Serverless Framework instead, been meaning to learn Terraform though looks very cool

  • @orterves
    @orterves Рік тому +3

    Even when the resources like IAM users are first created manually, it can be a good idea to import the resources into the Terraform
    Also bootstrapping with an admin user to create Terraform IAM user+minimal policies required to run the Terraform, then using those minimal credentials for subsequent runs, can be a good approach

    • @Davidlavieri
      @Davidlavieri Рік тому

      i think that is best to have another "admin" terraform which could set those IAMs to be imported, you don't want self-assigned roles lol, also operating IAM with each little detail of access is pain and huge bottleneck when starting out or testing out, so it should be just production

    • @dreamsofcode
      @dreamsofcode  Рік тому

      As Davidlavieri suggests, I also use an admin terraform typically. I also do more than just iam with it. Ill set up the project repo and any other supplementary resources that are needed.

    • @orterves
      @orterves Рік тому

      To be clear, in my approach the deployment IAM User gets only read-only permissions to its IAM policies - so plan will work but if there is any drift the deployment will fail. The admin IAM user creates and updates the IAM policy when necessary, they are not self-assigned.
      Separating into Terraform admin/bootstrap and Terraform deployment steps is a good choice I think - but I'd at least keep the scripts in the same repository.
      If you're going to need it in production anyway, I think it's best to bite the bullet upfront and enforce the minimal required policies from the beginning - the alternative I see encourages Devs to be laissez-faire about permissions management and everything seems to end up with admin credentials and db_owner and sacred access key that none dare rotate

  • @inversetv6643
    @inversetv6643 Рік тому

    Great video!

  • @heldercosta6556
    @heldercosta6556 Рік тому

    Do you have or use terraform code completion with neovim ?

  • @naruto5437
    @naruto5437 Рік тому

    awesome...i finally understand why terraform and iac

  • @kokizzu
    @kokizzu Рік тому

    this is one of the clearest terraform video i ever watch '__')

  • @debemdeboas
    @debemdeboas 11 місяців тому +1

    will you be migrating to OpenTF now that Terraform has gone greedy?

  • @xmatteex
    @xmatteex Рік тому

    What’s your take on terraform/terragrunt vs CDK (in e.g. Go)?

    • @dreamsofcode
      @dreamsofcode  Рік тому

      I've not played with CDK enough to give a full opinion, but it looks really cool. Pulumi may win out because it's more cloud agnostic, but if you're working purely in AWS then CDK is probably going to be great!

  • @vikingthedude
    @vikingthedude Рік тому

    Is terraform an alternative to ansible? Or do they do different things? I’m a dev but I’ve never done infra stuff before, so which would be more suitable for me to start with?

    • @dreamsofcode
      @dreamsofcode  Рік тому +1

      They both serve different use cases I'd say. Ansible is more for automation, whereas terraform is much more of a dependency graph for infrastructure as code.
      If you're a dev and learning infra, terraform is probably going to be a better skill to learn IMHO!

    • @vikingthedude
      @vikingthedude Рік тому

      @@dreamsofcode I think i will. I’m still not sure how terraform works though at a high level. In this video you showed us aws provisioning through terraforming . Im assuming this works through the aws API? Is terraform mostly just a declarative interface for various APIs underneath?

    • @TheFeljoy
      @TheFeljoy Рік тому +1

      ⁠@@vikingthedudepretty much yeah

  • @kikisbytes
    @kikisbytes Рік тому

    What are your thoughts on TF vs using Cloudformation?

    • @dreamsofcode
      @dreamsofcode  Рік тому

      I prefer TF personally when comparing the two, mainly because TF can be used for more than just aws. Such as repo management, documentation sites, and user setup. It also means you're not confined to AWS either. If you only have AWS resources then CF may work!

  • @gingersmurf7057
    @gingersmurf7057 Рік тому

    Would you be intrested in making a video following this that covers creating a CD pipeline that will utilies this?

    • @dreamsofcode
      @dreamsofcode  Рік тому

      I absolutely would be! Any CI/CD pipeline platform that you prefer?

  • @fuguimashu
    @fuguimashu Рік тому

    Hi, I would like to ask you what terminal you are using? And what is the theme?

    • @dreamsofcode
      @dreamsofcode  Рік тому

      I am using Alacritty with the Catppuccin theme!
      I also use Tmux as well with the same theme.

    • @fuguimashu
      @fuguimashu Рік тому

      @@dreamsofcode thank! i love your video.

  • @omaririskic98
    @omaririskic98 Рік тому

    Hey, really good video man.
    Btw can you share the wallpaper you’re using

    • @dreamsofcode
      @dreamsofcode  Рік тому

      Thank you! All my wallpapers are from Freepik. Some of them are free and others licenced so I can't give them out unfortunately! Freepik should have a free version though. I can provide the search term if that helps

    • @omaririskic98
      @omaririskic98 Рік тому

      Got it
      Yes, search term would help

  • @Davidlavieri
    @Davidlavieri Рік тому

    with terraform right now, im going my way to deploy SvelteKit SSR on lambda (creating my own adapter), s3, cloudfront so far so good, but i know by heart somewhere down the line i will hit a nightmarish issue, the usual with serverless

    • @dreamsofcode
      @dreamsofcode  Рік тому

      If you hit the issues with serverless, it only means you're project is successful.

  • @soldadopreciso
    @soldadopreciso 4 місяці тому

    Nice theme in your terminal, the clock in the right is perfect. Share us the name of the theme, or How install that. Thanks pal. God bless you.

    • @dreamsofcode
      @dreamsofcode  4 місяці тому +1

      Sure! I'll have a video coming out soon on my terminal setup on my other channel. In the mean time, it's powerlevel 10k plugin for zsh!

  • @albinopepegas8391
    @albinopepegas8391 Рік тому

    What os are you using? Love your desktop

    • @dreamsofcode
      @dreamsofcode  Рік тому

      I use Arch! The WM is gnome with Catppuccin theme.
      Thank you!

    • @albinopepegas8391
      @albinopepegas8391 Рік тому

      @@dreamsofcode do you think debian with gnome is also a good option?

    • @dreamsofcode
      @dreamsofcode  Рік тому

      @@albinopepegas8391 absolutely. You should be able too apply the same Catppuccin theme

  • @TechBuddy_
    @TechBuddy_ Рік тому +2

    Can you please do one on terraform for gcp. Great video though ❤️

  • @AlJohri
    @AlJohri 11 місяців тому

    Can you do a video comparing CDK, TF, and Pulumi?

  • @Rizhiy13
    @Rizhiy13 Рік тому

    What is the advantage of using Terraform over CloudFormation?

    • @dreamsofcode
      @dreamsofcode  Рік тому +1

      Terraform can be used for more than just AWS, which is one advantage. Although it still requires some knowledge of the different providers.
      If you're AWS focused though, then it probably comes down to personal preference and vendor lock in.

  • @pratronald
    @pratronald Рік тому

    what ide is used at 0:03 ???

    • @dreamsofcode
      @dreamsofcode  Рік тому

      I use Neovim! I have a video up that goes into my setup on my channel.

  • @michaelakin766
    @michaelakin766 Рік тому

    So, what IS a good security policy for the terraform user?

    • @dreamsofcode
      @dreamsofcode  Рік тому +1

      I could do a whole video on that!

    • @michaelakin766
      @michaelakin766 Рік тому

      @@dreamsofcode Put it on the list. 😀😀

    • @michaelakin766
      @michaelakin766 Рік тому

      @@dreamsofcode This is a great video. How to you do this with code build? What is the process? How do you deploy a new lambda in a production environment? Anything you can point me to? I can't find a good resource that really lays it out.

  • @NderFN
    @NderFN Рік тому +1

    Think it's important to note, before using a tool like Terraform or any other IaC you should be familiar with the cloud provider and its services. No point writing Terraform when you don't know what a vpc is etc...

  • @fille.imgnry
    @fille.imgnry Рік тому

    How does it compare to AWS CDK?

    • @dreamsofcode
      @dreamsofcode  Рік тому

      CDK is good if you're solely in the AWS ecosystem! However terraform can do more than AWS which makes it more versatile. If you don't need more than AWS then it's likely personal preference!

  • @waytospergtherebro
    @waytospergtherebro Рік тому

    Welcome to 8 years ago.

  • @seanknowles9985
    @seanknowles9985 Рік тому

    Cdktf looks promising

  • @yash1152
    @yash1152 Рік тому

    1:49 meaning of declarative

  • @bluesquare23
    @bluesquare23 Рік тому

    But this takes all the fun out of doing it manually.😢 Now what am I supposed to do with that extra time, actually write software?

    • @dreamsofcode
      @dreamsofcode  Рік тому

      No no no. You don't have to write software, fortunately. You just spend time automating everything so that when code is finally written, it sets off a chain reaction that feels really comfy.

  • @alairock
    @alairock Рік тому +1

    Terraform is fine, but level up with Pulumi. Much easier to reason about, code based not yaml based, and is much easier to import existing infra configurations.

  • @eoussama
    @eoussama 5 місяців тому

    While I do get the sentiment, as soon as you got to the IAM permissions part, terraform lost a huge deal of appeal for me. Writing IAM statements is hell.
    I still think that using AWS CDK in Python is the easier way, especially while dealing with permissions as they have built-in methods that attach the right permissions to resources without needing to write a dissertation-long IAM statement.

  • @oliversaxon8656
    @oliversaxon8656 Рік тому

    Change Management and Service Management might have something to say about this 🙂

    • @dreamsofcode
      @dreamsofcode  Рік тому

      I'm so sorry you have those orgs.
      We practice autonomous continuous delivery at my place of work and ship about 5 times a day per team.

  • @ordinarygg
    @ordinarygg Рік тому

    Holly this is so complex and still we see how a lot of real world deployments still screw up xD

  • @liamlindy
    @liamlindy Рік тому

    How would you deploy a code change?

    • @dreamsofcode
      @dreamsofcode  Рік тому

      You can rebuild the app and run terraform apply again, although the best option is to automate a lot of this with CI/CD pipelines

    • @dreamsofcode
      @dreamsofcode  Рік тому

      You can rebuild the app and run terraform apply again, although the best option is to automate a lot of this with CI/CD pipelines

    • @dreamsofcode
      @dreamsofcode  Рік тому

      You can rebuild the app and run terraform apply again, although the best option is to automate a lot of this with CI/CD pipelines

    • @liamlindy
      @liamlindy Рік тому

      Thank you! After a lot of digging I realized that you can actually apply a `source_code_hash = data.archive_file.zip_lambda.output_base64sha256` and that will check for underlying source code changes !! Thanks for a truly fantastic video. Love your content!

  • @nekoill
    @nekoill 5 місяців тому

    Bro, you literally have aws CLI tool

  • @nikandfor
    @nikandfor Рік тому

    AWS are so complex that even a layer of simplification on top of it doesn't simplify it much.

  • @qwertyuiop2994
    @qwertyuiop2994 Рік тому

    Aws allows you you deploy via code using cloud formation

    • @dreamsofcode
      @dreamsofcode  Рік тому +1

      It does, but it's restricted to AWS. Terraform is a more general option which works across multiple cloud providers

  • @ollydix
    @ollydix Рік тому

    I though people moved onto Kubernetes; I found Terraform pretty broken in many cases.

    • @dreamsofcode
      @dreamsofcode  Рік тому

      I love K8s personally, but I usually use terraform to spin up clusters. Although it seems like k8s is being used more and more for cluster management.

  • @superuser8636
    @superuser8636 Рік тому

    If AWS is your example, you should use the CDK instead of Terraform. It’s a nightmare for sysadmins

  • @gileee
    @gileee Рік тому

    if err != nil return err
    else return nil
    Real advanced coding going on here.

    • @dreamsofcode
      @dreamsofcode  Рік тому

      Normally you'd wrap errors in Go using fmt.Errorf. but given this is a tutorial, I obviously omitted it.
      I hope you understand that, right?

  • @seanknowles9985
    @seanknowles9985 Рік тому

    CDK and Pulumi is how I deploy

  • @jamilxt
    @jamilxt Рік тому +1

    How to edit tutorials like you? 😮

    • @dreamsofcode
      @dreamsofcode  Рік тому +2

      I should link to my setup! It's mainly Davinci resolve and after effects!

    • @TechBuddy_
      @TechBuddy_ Рік тому +1

      @@dreamsofcode a tutorial would be cool

    • @joshpetit
      @joshpetit Рік тому +1

      @@dreamsofcode Woww really just d.r and after effects? Dope stuff dude. Do you run after effects on another laptop/dual boot or do you use it in a vm?

    • @dreamsofcode
      @dreamsofcode  Рік тому +2

      @@joshpetit Yeah just those two, and mainly D.R. more than anything else. Fusion is pretty awesome once you get the hang of it.
      I use After effects on a windows PC, and just bought a MacBook Pro so I can edit on a single machine moving forward, which will save a lot of time.

  • @chromosome24
    @chromosome24 Рік тому +1

    this... is not simple.

  • @norude
    @norude Рік тому

    More like
    In
    a
    Cloud

  • @BartekP
    @BartekP Рік тому

    IAM destroys me :D before that i think is so cool and easy :D

    • @dreamsofcode
      @dreamsofcode  Рік тому

      I dislike IAM a lot, but it's a good practice. It's not too hard once you get the hang of it but just so much boilerplate 😭

  • @maddsua
    @maddsua Рік тому

    Or we can just use Railwayapp

    • @dreamsofcode
      @dreamsofcode  Рік тому

      Choo choo
      $10 / GB per month - yikes

    • @maddsua
      @maddsua Рік тому

      @@dreamsofcode waaait, aren't your numbers a bit off?

  • @andrewmarek
    @andrewmarek Рік тому

    CDK > Terraform for AWS

  • @user-zq8bt6hv9k
    @user-zq8bt6hv9k Рік тому +6

    Soy latte woke developer would use AWS. I just ssh my personal server and deploy it there .

    • @TechBuddy_
      @TechBuddy_ Рік тому +4

      Lmao I wanted to comment something very similar 😂. Great minds think alike IG 😅

    • @MrA26749
      @MrA26749 Рік тому +3

      I type 'make deploy' and it runs a one line SSH command that's sitting in a Makefile in the project's repo. Took five minutes to set that up, a quarter of the time just watching this video would take

    • @dreamsofcode
      @dreamsofcode  Рік тому +4

      Such a horrible way to deploy code 🤣🤣. At least use a cicd pipeline

    • @Arma2iwillbuy
      @Arma2iwillbuy Рік тому +1

      @@MrA26749 Thats what I started out with and it works fine, I totally can relate. But lets not kid ourselves here, this isn't even remotely close to what the IaC approach can do for you. Especially if you don't just have one repo and now need to manage those Makefiles across different projects or have different VMs/Clusters to deploy to.

    • @user-zq8bt6hv9k
      @user-zq8bt6hv9k Рік тому

      @@dreamsofcode sorry mate, I'm not going to follow you on your plant based low testosterone programming journey.

  • @nonefvnfvnjnjnjevjenjvonej3384

    I will put everything up as a monolithic app on digital ocean and scale to at least a million users like that. All this complication is useless.

  • @nickdhrones6425
    @nickdhrones6425 Рік тому

    To many distracting animations .

  • @NexusGamingRadical
    @NexusGamingRadical Рік тому

    I wouldn't deploy it.

  • @TyrboCreed
    @TyrboCreed 7 місяців тому

    I didn't understand a shit(

  • @benkeil
    @benkeil Рік тому

    The language sucks, mUch better is Terraform CDK

    • @dreamsofcode
      @dreamsofcode  Рік тому

      Have you got a good resource I can take a look at? I'd love to do a video on it.

  • @ITAlpaka
    @ITAlpaka Рік тому

    Danke!

  • @madhank93
    @madhank93 Рік тому

    Thanks for sharing. If you like IaC, then you would definitely like Pulumi.

    • @dreamsofcode
      @dreamsofcode  Рік тому +1

      Pulumi is awesome. I've got a video in my backlog planned for it.