AWS CDK Day 2023 - CDK Best Practices

Поділитися
Вставка
  • Опубліковано 11 лис 2024

КОМЕНТАРІ • 10

  • @chikosan99
    @chikosan99 8 місяців тому +1

    Great! Thanks

  • @illyam689
    @illyam689 9 місяців тому

    Thanks! Very clear and straight to the point!

  • @SamuelCarreira
    @SamuelCarreira 2 місяці тому

    Thanks for the video. When you are talking about a single stack you are not referencing the nested stacks approach right? I’m asking because a “simple stack” can reach the resources limit

    • @ranthebuilder
      @ranthebuilder  2 місяці тому +1

      Nested stacks are a great solution to overcome resource limit in CF

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

    Thank you for the experience. About one stack is questionable. I am using Stages to group stacks. Separate stacks with storage and application by criticality (in case if stack with Lambda fails I don't want to allow DB stack to fail) and by frequency of deployment (I am not changing for example RDS a lot so I don't want to touch this stack.)

    • @ranthebuilder
      @ranthebuilder  8 місяців тому +1

      Yeah, there are no hardcore rules. Rds is a good option to move to a different stack but it can work in a single stack too. We moved it to a different stack so all developers working on the same account would not deploy aurora but share one db and create their own table

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

      @@ranthebuilder We are doing the same for such "shared" resources. They are in a separate CDK application "Core Infrastructure" with an outputs to SSM Parameter store

  • @richardferneygarcia
    @richardferneygarcia 9 місяців тому +1

    So, am I wrong when into the same project I create two Stacks?

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

      Not wrong, but it's riskier. I don't recommend it.