13 comments

  • arpinum2 hours ago
    I have detailed knowledge of dynamodb. This code does not properly mimic the service exceptions, input validations, eventual consistency, or edge cases. I would not feel comfortable developing against ministack or running tests against it. A lot of these services also have free tiers, so the use cases are quite minimal.
  • philip12098 hours ago
    I&#x27;m frustrated with the Localstack license changes and will evaluate ministack.<p>But, for anybody else who needs a quick fix - you can pin to the `community-archive` tag and it should unblock you quickly:<p><a href="https:&#x2F;&#x2F;hub.docker.com&#x2F;layers&#x2F;localstack&#x2F;localstack&#x2F;community-archive&#x2F;images&#x2F;sha256-f72625f6b9546f1be730e9a9a9b1438c2298a4234634b1b823e3d3294e0b8bbe" rel="nofollow">https:&#x2F;&#x2F;hub.docker.com&#x2F;layers&#x2F;localstack&#x2F;localstack&#x2F;communit...</a>
  • staticassertion11 hours ago
    I really don&#x27;t see how any clone is going to manage to do what localstack couldn&#x27;t - maintain compatibility with tons of AWS services while not getting paid for it. If this were viable, why would it not have worked before?<p>The only things I can think of are that perhaps LocalStack was just a mess of a codebase that couldn&#x27;t maintain velocity or attract contributors, or it just failed to steward new contributors or some such thing.
    • onion2k4 hours ago
      <i>If this were viable, why would it not have worked before?</i><p>Because something wasn&#x27;t in place to make it work. There are <i>millions</i> of examples where the second mover won, often because the first mover was too early, or the tech wasn&#x27;t there to make it work, or the market didn&#x27;t understand the value, etc.<p>In this case I imagine there are three massive benefits that you&#x27;d have over being the first mover:<p>- AWS is more mature and therefore moving slower, so it&#x27;s easier to keep up.<p>- AI is useful for building 80% working code, so there&#x27;s a lot less to do to keep up.<p>- There&#x27;s a lot of devs looking for ways to move off Localstack due to the price change, which gives you (potentially) a pool of willing volunteers to contribute to an OSS alternative.<p>You can also learn from Localstack&#x27;s open source version about what&#x27;s needed, what works, what doesn&#x27;t work, etc.
    • mikeocool10 hours ago
      Personally, I would get value out of really solid compatibility of the base features of a few core services (sqs, s3, kms, and maybe dynamo are the main ones that come to mind) with a light weight gui interface and persistence.<p>If I’m getting into esoteric features or some “big” features that don’t make sense locally, then I just spin up a real dev account of aws, so I know I’m getting the real experience.
      • petcat9 hours ago
        &gt; getting into esoteric features<p>The problem is that everybody needs different &quot;core&quot; features<p>&gt; &gt; compatibility of the base features of a few core services (sqs, s3, kms, and maybe dynamo are the main ones that come to mind)<p>For instance, I don&#x27;t care about any of those features at all. But I would care a lot about EC2, RDS, and ElastiCache Redis
        • mikeocool5 hours ago
          Interesting — those are the ones that depending on the case, approximating them with local redis&#x2F;postgres&#x2F;vms without the AWS specific APIs on top is often good enough — because my app is just talking to them over native protocols anyway.<p>Or I am doing something so specific, that a local emulation of the aws api isn’t ever going to be good enough, so there’s not a lot of point in trying. For example, writing code that handles automatically spinning up RDS instances from an RDS snapshot — a local emulation of that process is going to be so far off from what would actually happen no matter what they do.
        • drzaiusx117 hours ago
          I&#x27;d put ALL the ones listed above: SQS, S3, KMS, DynamoDB, EC2, RDS, Redis in the required &quot;core&quot; services column, and also throw in IAM, SNS, and SecretsManager as well. Those are all table stakes imho.<p>I&#x27;m using all of the above in LocalStack today. Frankly, I don&#x27;t believe this is as &quot;impossible&quot; a task as several in this thread are insinuating. It&#x27;s the type of rote work you can delegate to AI to build these days, as observed in this OP.<p>Building a test suite to validate the state-transient mocks in question against the real deal is not difficult. Only annoyingly expensive (in time and money) if run often, which is exactly the problem they&#x27;re solving.
    • nnucera11 hours ago
      Hello! We won&#x27;t have the broad coverage that Localstack has... we&#x27;re not aiming to be the &quot;next Localstack&quot;... just want to keep the core services that were available for free in the LS community up to date. If you’re looking for larger services like MWAA, sorry, but we won&#x27;t be supporting them.... Most core AWS services don&#x27;t receive many updates anyway (their APIs don’t change drastically or frequently)
      • evil-olive8 hours ago
        &gt; We won&#x27;t have the broad coverage that Localstack has... we&#x27;re not aiming to be the &quot;next Localstack&quot;<p>you should tell that to the LLM that writes your website:<p>&gt; MiniStack is your free, MIT-licensed drop-in replacement.<p>is it a drop-in replacement, or not?
        • nnucera8 hours ago
          If you’re looking for a Localstack alternative, it’s often because you were using the community tier... In that case, Ministack can serve as a drop-in replacement... otherwise, the price reduction in LS might already address your needs
    • jillesvangurp5 hours ago
      That&#x27;s true if you assume making these things is manual work. But of course with well documented API service and AI coding tools, making a functional local equivalent of any given service is not all that hard.
      • hrmtst938373 hours ago
        Cloning the API surface is cheap, but once you try to match edge-case behavior across auth and retries you spend way more time than most weekend projects can justify.<p>You fake half the error modes or your test rig drfits from prod fast.
    • switchbak11 hours ago
      &quot;LocalStack was just a mess of a codebase&quot; - very true.<p>I do think there&#x27;s potential to semi-automatically create a compatible suite of services, but it&#x27;ll require some very talented use of LLMs and some novel testing approaches. Not something I want to sign up for.<p>I evaluated Floci, but that has the typical issues you&#x27;d expected with freshly minted vibe code.
      • sysguest4 hours ago
        idk maybe AWS should create one?<p>I mean, if we can use &quot;virtual-AWS&quot;, it would dramatically lower entry-barrier for devs&#x2F;companies who are scared of &quot;tales of huge aws bills&quot; and such
    • 4m1rk11 hours ago
      I suppose (among many other things) LLMs are changing this. We no longer need that many contributors when we can use AWS docs, intercept AWS API calls and give it to AI agent to mimic. Of course, contributors are still needed for maintaining tests and validations.
      • yieldcrv11 hours ago
        and then the maintainer goes on a rant about accurate but agentically coded pull requests and doesn’t merge it
  • robshippr6 hours ago
    The real issue with LocalStack was always drift. Tests pass locally, then something breaks in staging because the S3 response format is slightly different or DynamoDB throttling doesn&#x27;t match. After getting burned enough times we just switched to short-lived real AWS environments for integration tests. More expensive, but way fewer surprises in prod.
    • chii5 hours ago
      i would imagine localstack is a sniff-test - aka, if it doesn&#x27;t pass localstack, you don&#x27;t run the more expensive real AWS integration test. In other words, like food, you don&#x27;t eat the cost unless it passes the sniff test.
    • tazsat05124 hours ago
      [dead]
  • oefrha8 hours ago
    Any project with Claude’s signature misaligned ASCII diagram just screams DON’T USE to me. If you can’t even bother to read your damn generated README, how do I know you have QC’ed anything else? At the very least supported features claimed in README &#x2F; on website could be totally fake, which is extremely common among all the vibed Show HNs.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;Nahuel990&#x2F;ministack&#x2F;blob&#x2F;a1b1d20a27d2238dd7b776eeb426e93d816e5c09&#x2F;README.md#architecture" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Nahuel990&#x2F;ministack&#x2F;blob&#x2F;a1b1d20a27d2238d...</a>
    • oefrha4 hours ago
      I love how a comment pointing out glaring lack of human review of this project (with clear evidence) is flagged to death. With zero counter-argument no less. Can’t wait for the bright future of vibed crap with zero human quality control getting hacked every day.
    • andai7 hours ago
      But brother, he is shipping at inference speed!
    • ramon1562 hours ago
      ASCII with rounded corners is already a red flag, let alone not being able to check if it&#x27;s aligned. Claude LOVES these.<p>Something more realistic would be:<p>+-----+<p>| foo |<p>+-----+
    • arcanemachiner7 hours ago
      Yeah. Could at least run a formatter on it afterwards... You can even configure a hook for Claude to do that.
    • sebmellen7 hours ago
      We live in the golden age of slop. It seems a surprisingly small number of people have the visceral AI disgust response.
      • heliumtera6 hours ago
        Maybe that visceral response being against the rules (assume good faith) and actively being punished explains the small number of people doing it?
        • dspillett7 minutes ago
          My visceral AI disgust response here is just a subset of my more general lazyly-slapped-together-without-sufficient-testing-or-other-review disgust response. If it doesn&#x27;t look bad in that way, whether hand-made or ghostwritten, then I&#x27;ll not react to it that way. But if someone can&#x27;t be bothered to do a simple clean-up pass on that documentation, what mess could they have left in the code too?<p>As far as I&#x27;m concerned the social contract (“the rules”) has already been broken by people taking insufficient care, and my reaction to that is a healthy one from the PoV of self-preservation. Acting in good faith works both ways, or it doesn&#x27;t.
  • giobox12 hours ago
    Ugh, I hadn&#x27;t heard the news about the LocalStack licensing changes. I had some great results building AWS services for local dev as well as CI&#x2F;CD and testing in GH actions with LocalStack in previous jobs.<p>I secretly always hoped Amazon would buy out LocalStack and make it the official free local development environment for AWS work, but I guess it probably would reduce revenues spent on AWS based dev and test environments. The compatibility with the AWS CLI was mostly excellent in my experiences.
    • drzaiusx118 hours ago
      Unclear what LocalStack&#x27;s end game is tbh. My company has an active enterprise license atm so their recent changes won&#x27;t affect me in the short term at least. As of writing I&#x27;m still a happy user of LocalStack. Disappointed with their overall direction, but I hold no ill will and I&#x27;m sure they had their reasons. I wish them luck.<p>Hopefully this change was not just an short term attempt to lock in current enterprise customers by shoring up existing income streams. That&#x27;ll only work in the VERY short term.<p>It&#x27;s not difficult to forsee the inevitable customer drain to free competitors or private one-shots easily produced by genai from publicly available AWS SDK code. Maybe they&#x27;re already feeling that pressure and that&#x27;s all this change is. I hope not.<p>AFAICT, they have no appreciable moat to retain customers long term. For example, I have absolutely no interest in their &quot;Pods&quot; or even their console UI, so thosr aren&#x27;t keeping me around forever. For their sakes I hope they&#x27;re still shopping themselves around and didn&#x27;t take some VC poison pill with preconditions for killing the community edition. Really It&#x27;s anyone&#x27;s guess though.
    • hexedpackets8 hours ago
      &gt; The compatibility with the AWS CLI was mostly excellent in my experiences.<p>Interesting, I&#x27;ve had the opposite experience. Every single AWS service I&#x27;ve ever tried to build tests around with LocalStack has run into compatibility issues. Usually something works in LocalStack but fails when it hits the real endpoint.<p>I guess the CLI itself has mostly worked, its more the LocalStack service not behaving the way the real service is documented&#x2F;works.
      • drzaiusx118 hours ago
        Got any concrete examples? I&#x27;ve been happily using LocalStack for roughly a decade now and haven&#x27;t run into a single compatibility issue, aside from the obvious missing of net new services for the first N months after AWS product launches. Things like AppConfig, etc, but those gaps got filled in time. They clearly prioritized the 95pct&#x2F;most used features of each service first though. There&#x27;s a long tail in some AWS services, as one might expect. I&#x27;ve never used any of the more esoteric AWS feature sets of any of their services. Those are the things that tend to end up deprecated. So requiring those long tail featur sets may be the simple answer to having very different experiences.
  • mikecarlton11 hours ago
    Another alternative, earlier on HN: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=47420619">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=47420619</a>
    • cmertayak11 hours ago
      I liked the transparency: &quot;Built entirely with AI by Jack Danger | All prompts saved in prompts&#x2F;&quot;
    • switchbak11 hours ago
      Thus far I&#x27;ve tried that (rejected), Floci (not great), and now looking at this.<p>This one is 7 days old.<p>I&#x27;m eager to have a localstack replacement, but these are a long way off from being mature enough. I suppose this is just the new state of software? Shiny website, big claims, AI coded, insufficiently tested.
      • thegagne10 hours ago
        Out of curiosity, why did you reject Floci? It lacked some feature I needed, so I just went ahead and added them. My needs were not that complex and it has patterns to test that implementations match AWS. I agree it’s lacking things, but the bones aren’t that bad.
  • kay_o12 hours ago
    &gt; Copyright (c) 2024 MiniStack Contributors<p>Already lying or totally unreviewed AI slop ?
    • nnucera11 hours ago
      Hey yeah sorry I copied from an old repo I had... Thanks for the contribution &lt;3 <a href="https:&#x2F;&#x2F;github.com&#x2F;Nahuel990&#x2F;ministack&#x2F;blob&#x2F;master&#x2F;CHANGELOG.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Nahuel990&#x2F;ministack&#x2F;blob&#x2F;master&#x2F;CHANGELOG...</a>
    • cmertayak11 hours ago
      slop copy
  • threethirtytwo9 hours ago
    What’s the gcp equivalent
  • weiyong10246 hours ago
    [dead]
  • redlewel11 hours ago
    [dead]
  • volume_tech9 hours ago
    for most teams the pain was not missing features -- it was drift. you build against the emulator for months, then hit some edge case in prod where the S3 response format differed slightly or DynamoDB error codes were not qui
    • heyethan7 hours ago
      Drift feels inevitable here. AWS keeps evolving, so any local emulator will eventually diverge. At some point it’s more about how much drift you can tolerate than missing features.