Comment by moribvndvs

Comment by moribvndvs 4 hours ago

7 replies

Also where is this idea that it takes days to ship Python in CDK coming from?

Edit: great, getting downvoted for daring to ask the author to explain a claim. I’m noticing other people asking questions getting downvoted, too. Brigading isn’t a good look.

sebst 4 hours ago

Stelvio's main selling point here is that you can use our higher-level components for different services and have them automatically configured.

So, you don't have to configure IAM roles, or Env vars manually, as this is handled for you through a concept called linking. https://stelvio.dev/concepts/linking/

In our experience, that alone adds a lot of productivity gains for teams.

  • turtlebits an hour ago

    Why not use CDK L3 constructs (patterns) or the corresponding for Pulumi, since that's what you generate?

  • raw_anon_1111 4 hours ago

    Higher level CDK constructs do the same thing. But honestly, IAC is one of the easiest thing for LLMs to do and there is plenty of documentation to troubleshoot. There is no reason to introduce this into a company instead of using the official CDK.

    • michal-stlv 3 hours ago

      I respect your point of view.

      But coincidentally Stelvio was born out of frustration with CDK which I'm using at my day job for 4 years at this point:

      - slow deployment: CDK is layer on top of cloud formation, it first translates to CF which is then moved to AWS and resolved/deployed there. Process is quite slow and if something goes wrong it's hard to debug, rollbacks take ages, sometimes they block due to inter-stack dependencies - CDK is still quite low level and focused on infra. You just can't create say api gateway with 3 routes each using 3 different lambdas with permission to use dynamo table in 4 lines - you an with stelvio - whatever code change you need to test you need to deploy it first which is probably slowest with CDK(compared e.g. to pulumi) then even if you run it you can't really debug it or just see prints, you need to just go thru cloudwath or other services - stelvio allows you to run lambdas in "dev mode" so you don't need to redeploy and run your lambdas locally for instant feedback and even debugging support

      Having said that CDK is good tool and I'm happy that it exists as I like it much better than CF itself or Terraform. Stelvio just tries to be even better and focused on developers.

      Regarding LLMs sure, problem with LLMs is not they can't generate the code but if you're willing to read and understand all of it. Stelvio is less code with higher abstractions so it's easier to comprehend.

      • raw_anon_1111 3 hours ago

        And what assurances are there that you will be around for five years? Or that you will support new services features when they come out?

        And I always “disable rollbacks” this has been a feature in CloudFormation, CDK and SAM for years.

        Running lambdas locally with SAM has been a feature for at least 5 or six years as with the CDK. But these days you really should be packaging lambdas as Docker containers - those are really easy to test locally without any special infrastructure

    • sebst 4 hours ago

      True, and there's nothing wrong with them.

      We still believe to have a more flexible solution that also adds some features, including combining multiple cloud providers which at the moment we use to enable cloudflare DNS in front of AWS infra. Feel free to give it a try!

      • raw_anon_1111 4 hours ago

        In that case just use Terraform with an entire community to support it across all types of infra.