<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Lucas Vieira</title>
    <description>The latest articles on Forem by Lucas Vieira (@vieiralucas).</description>
    <link>https://forem.com/vieiralucas</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F11402%2F7764293.jpeg</url>
      <title>Forem: Lucas Vieira</title>
      <link>https://forem.com/vieiralucas</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/vieiralucas"/>
    <language>en</language>
    <item>
      <title>Free, Open-Source LocalStack Alternative for AWS Testing</title>
      <dc:creator>Lucas Vieira</dc:creator>
      <pubDate>Sat, 11 Apr 2026 14:36:32 +0000</pubDate>
      <link>https://forem.com/vieiralucas/free-open-source-localstack-alternative-for-aws-testing-3ac4</link>
      <guid>https://forem.com/vieiralucas/free-open-source-localstack-alternative-for-aws-testing-3ac4</guid>
      <description>&lt;p&gt;In March 2026, LocalStack replaced its Community Edition with a proprietary image that requires an account and auth token. For teams that relied on LocalStack for local AWS testing, this broke CI pipelines and forced a choice: pay for a Pro license or find an alternative.&lt;/p&gt;

&lt;p&gt;fakecloud is that alternative.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is fakecloud?
&lt;/h2&gt;

&lt;p&gt;fakecloud is a free, open-source local AWS emulator for integration testing and local development. It runs on a single port (4566), requires no account or auth token, and aims to faithfully replicate AWS behavior.&lt;/p&gt;

&lt;p&gt;Currently supports 20 AWS services with 1,000+ API operations:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;S3&lt;/strong&gt; — objects, multipart uploads, versioning, lifecycle, notifications&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lambda&lt;/strong&gt; — real code execution via Docker, 13 runtimes, event source mappings&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SQS&lt;/strong&gt; — FIFO queues, dead-letter queues, long polling&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SNS&lt;/strong&gt; — fan-out to SQS/Lambda/HTTP, filter policies&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DynamoDB&lt;/strong&gt; — tables, transactions, PartiQL, streams, global tables&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;EventBridge&lt;/strong&gt; — pattern matching, scheduled rules, API destinations&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;RDS&lt;/strong&gt; — PostgreSQL/MySQL/MariaDB via Docker, snapshots, read replicas&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ElastiCache&lt;/strong&gt; — Redis/Valkey via Docker, replication groups, failover&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SES&lt;/strong&gt; — v2 API (97 operations), inbound email pipeline, event destinations&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cognito User Pools&lt;/strong&gt; — authentication, MFA, user management&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Kinesis&lt;/strong&gt; — data streams, shard iterators, stream retention&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Step Functions&lt;/strong&gt; — ASL interpreter, Lambda/SQS/SNS/DynamoDB integrations&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CloudWatch Logs&lt;/strong&gt; — groups, streams, filtering, subscriptions&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;API Gateway v2&lt;/strong&gt; — HTTP APIs with Lambda integration&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;IAM, STS, SSM, Secrets Manager, KMS, CloudFormation&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://github.com/faiscadev/fakecloud#supported-services" rel="noopener noreferrer"&gt;Full service list with operation counts&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  LocalStack vs fakecloud
&lt;/h2&gt;

&lt;p&gt;In March 2026, LocalStack moved many previously-free services behind a paywall (Cognito, SES v2, RDS, ElastiCache, ECR, ECS). The Community Edition now requires authentication and has limited service availability.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Feature&lt;/th&gt;
&lt;th&gt;fakecloud&lt;/th&gt;
&lt;th&gt;LocalStack Community&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;License&lt;/td&gt;
&lt;td&gt;AGPL-3.0 (free, open-source)&lt;/td&gt;
&lt;td&gt;Proprietary&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Auth required&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;Yes (account + token)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Commercial use&lt;/td&gt;
&lt;td&gt;Free&lt;/td&gt;
&lt;td&gt;Paid plans only&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Docker required&lt;/td&gt;
&lt;td&gt;No (standalone binary)&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Startup time&lt;/td&gt;
&lt;td&gt;~500ms&lt;/td&gt;
&lt;td&gt;~3s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Idle memory&lt;/td&gt;
&lt;td&gt;~10 MiB&lt;/td&gt;
&lt;td&gt;~150 MiB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Install size&lt;/td&gt;
&lt;td&gt;~19 MB binary&lt;/td&gt;
&lt;td&gt;~1 GB Docker image&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AWS services&lt;/td&gt;
&lt;td&gt;20&lt;/td&gt;
&lt;td&gt;30+&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Test assertion SDKs&lt;/td&gt;
&lt;td&gt;TypeScript, Python, Go, Rust&lt;/td&gt;
&lt;td&gt;Python, Java&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cognito User Pools&lt;/td&gt;
&lt;td&gt;80 operations&lt;/td&gt;
&lt;td&gt;&lt;a href="https://docs.localstack.cloud/references/licensing/" rel="noopener noreferrer"&gt;Paid only&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SES v2&lt;/td&gt;
&lt;td&gt;97 operations&lt;/td&gt;
&lt;td&gt;&lt;a href="https://docs.localstack.cloud/references/licensing/" rel="noopener noreferrer"&gt;Paid only&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SES inbound email&lt;/td&gt;
&lt;td&gt;Real receipt rule action execution&lt;/td&gt;
&lt;td&gt;&lt;a href="https://docs.localstack.cloud/user-guide/aws/ses/" rel="noopener noreferrer"&gt;Stored but never executed&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RDS&lt;/td&gt;
&lt;td&gt;22 operations, PostgreSQL/MySQL/MariaDB via Docker&lt;/td&gt;
&lt;td&gt;&lt;a href="https://docs.localstack.cloud/references/licensing/" rel="noopener noreferrer"&gt;Paid only&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ElastiCache&lt;/td&gt;
&lt;td&gt;44 operations, Redis/Valkey via Docker&lt;/td&gt;
&lt;td&gt;&lt;a href="https://docs.localstack.cloud/references/licensing/" rel="noopener noreferrer"&gt;Paid only&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;LocalStack has more services overall, but many are behind a paywall. fakecloud focuses on implementing fewer services completely, with 100% conformance to AWS behavior.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why we built fakecloud
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;LocalStack went proprietary.&lt;/strong&gt; In March 2026, &lt;code&gt;localstack:latest&lt;/code&gt; started requiring authentication. CI pipelines broke. The message was clear: LocalStack Community Edition was no longer community.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Correctness matters for testing.&lt;/strong&gt; If you're building on AWS, your integration tests should talk to something that behaves like AWS — not mocks that return fake success responses. When fakecloud behaves differently from AWS, that's a bug we fix.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real infrastructure, not stubs.&lt;/strong&gt; fakecloud runs actual software via Docker: real Lambda runtimes (13 languages), real databases (PostgreSQL, MySQL, MariaDB), real Redis/Valkey instances. When your Lambda function reads from RDS, it's talking to an actual Postgres instance, not a mock.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Testing tools should be free.&lt;/strong&gt; fakecloud is a development dependency, not production infrastructure. It should be free and open-source, the same way test frameworks like Jest, Mocha, and pytest are free.&lt;/p&gt;

&lt;h2&gt;
  
  
  How we verify correctness
&lt;/h2&gt;

&lt;p&gt;fakecloud doesn't claim to be "AWS-compatible" without backing it up:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;34,000+ conformance test variants&lt;/strong&gt; validated against official AWS Smithy models, covering every operation parameter, boundary condition, and error case&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;280+ end-to-end tests&lt;/strong&gt; using the official AWS SDKs (aws-sdk-rust, boto3, aws-sdk-js)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automated testing against real AWS&lt;/strong&gt; — our test suite runs against both fakecloud and actual AWS to verify behavioral parity&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When tests fail, we fix the behavior. We don't stub responses or return fake success codes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting started
&lt;/h2&gt;

&lt;p&gt;Install and run fakecloud:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-fsSL&lt;/span&gt; https://raw.githubusercontent.com/faiscadev/fakecloud/main/install.sh | bash
fakecloud
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or via Docker:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker run &lt;span class="nt"&gt;--rm&lt;/span&gt; &lt;span class="nt"&gt;-p&lt;/span&gt; 4566:4566 ghcr.io/faiscadev/fakecloud
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Point your AWS SDK at &lt;code&gt;http://localhost:4566&lt;/code&gt; with dummy credentials:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;aws &lt;span class="nt"&gt;--endpoint-url&lt;/span&gt; http://localhost:4566 sqs create-queue &lt;span class="nt"&gt;--queue-name&lt;/span&gt; test-queue
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Test assertions with fakecloud SDKs
&lt;/h2&gt;

&lt;p&gt;fakecloud exposes introspection endpoints that AWS doesn't provide, so you can assert on side effects in your tests:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;FakeCloud&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;fakecloud&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;fc&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;FakeCloud&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;http://localhost:4566&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="c1"&gt;// After your app sends an email via SES&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;emails&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;fc&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;ses&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getEmails&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="nf"&gt;expect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;emails&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nf"&gt;toHaveLength&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nf"&gt;expect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;emails&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;].&lt;/span&gt;&lt;span class="nx"&gt;destination&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;toAddresses&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nf"&gt;toContain&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;user@example.com&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="c1"&gt;// After your Lambda processes an event&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;invocations&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;fc&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;lambda&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getInvocations&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="nf"&gt;expect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;invocations&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;].&lt;/span&gt;&lt;span class="nx"&gt;statusCode&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nf"&gt;toBe&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;200&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;SDKs available for TypeScript, Python, Go, and Rust.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's not implemented (yet)
&lt;/h2&gt;

&lt;p&gt;fakecloud is younger than LocalStack and has fewer services. If you need EC2, ECS, or other services not listed above, LocalStack may still be your best option (if you're willing to pay for Pro).&lt;/p&gt;

&lt;p&gt;We're prioritizing services based on real-world demand. &lt;a href="https://github.com/faiscadev/fakecloud/issues" rel="noopener noreferrer"&gt;Open an issue&lt;/a&gt; if there's a service you need.&lt;/p&gt;

&lt;h2&gt;
  
  
  Roadmap
&lt;/h2&gt;

&lt;p&gt;Coming next:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Bedrock&lt;/strong&gt; — AI/ML testing (high demand across the ecosystem)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lambda Containers&lt;/strong&gt; — practical container support with ECR&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CloudFront&lt;/strong&gt; — CDN configuration testing&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CloudWatch Metrics&lt;/strong&gt; — complete monitoring story alongside Logs&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Athena&lt;/strong&gt; — SQL analytics on S3&lt;/li&gt;
&lt;li&gt;More RDS engines (Oracle, SQL Server)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://github.com/faiscadev/fakecloud/blob/main/ROADMAP.md" rel="noopener noreferrer"&gt;Full roadmap&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Other alternatives to LocalStack
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Moto&lt;/strong&gt; — Python-based AWS mocking library. More services than fakecloud (100+), but designed for unit tests with mocks rather than integration tests. Doesn't support cross-service integrations or real Lambda execution.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;LocalStack Pro (paid)&lt;/strong&gt; — If you need the full service catalog and don't mind paying, LocalStack Pro is mature and feature-complete.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real AWS&lt;/strong&gt; — For the highest fidelity, test against real AWS. fakecloud is for fast local iteration; real AWS is for pre-production validation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try fakecloud
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Repo:&lt;/strong&gt; &lt;a href="https://github.com/faiscadev/fakecloud" rel="noopener noreferrer"&gt;github.com/faiscadev/fakecloud&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Site:&lt;/strong&gt; &lt;a href="https://fakecloud.dev" rel="noopener noreferrer"&gt;fakecloud.dev&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Install:&lt;/strong&gt; &lt;code&gt;curl -fsSL https://raw.githubusercontent.com/faiscadev/fakecloud/main/install.sh | bash&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you find a case where fakecloud behaves differently from AWS, &lt;a href="https://github.com/faiscadev/fakecloud/issues" rel="noopener noreferrer"&gt;open an issue&lt;/a&gt; — that's a bug, and we'll fix it.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://fakecloud.dev/blog/localstack-alternative/" rel="noopener noreferrer"&gt;fakecloud.dev&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>testing</category>
      <category>opensource</category>
      <category>localstack</category>
    </item>
    <item>
      <title>Why I'm building a free, open-source AWS emulator</title>
      <dc:creator>Lucas Vieira</dc:creator>
      <pubDate>Mon, 06 Apr 2026 22:27:35 +0000</pubDate>
      <link>https://forem.com/vieiralucas/why-im-building-a-free-open-source-aws-emulator-5gfl</link>
      <guid>https://forem.com/vieiralucas/why-im-building-a-free-open-source-aws-emulator-5gfl</guid>
      <description>&lt;p&gt;A few days ago, our CI started failing. The culprit: &lt;code&gt;localstack:latest&lt;/code&gt; now requires an account and an auth token. Broken builds.&lt;/p&gt;

&lt;p&gt;I'd seen LocalStack creeping toward proprietary for a while, but this was the moment it actually hit. A colleague noticed it at the same time as me, but I was already working on a fix. I patched the build, but the question stuck: how long can we keep using the old version until we start having real problems?&lt;/p&gt;

&lt;h2&gt;
  
  
  I don't trust mocks
&lt;/h2&gt;

&lt;p&gt;I should back up. I care about tests a lot. Enough to become a &lt;a href="https://github.com/chaijs/chai" rel="noopener noreferrer"&gt;maintainer of Chai.js&lt;/a&gt;. Enough that when I build something, the test infrastructure comes first.&lt;/p&gt;

&lt;p&gt;But I have a specific opinion about &lt;em&gt;what kind&lt;/em&gt; of tests matter. I hate mocks. Not the concept — the way most codebases use them. You end up with tests that don't test anything real. You're asserting that you call functions in the right order. You're verifying the plumbing, not the behavior.&lt;/p&gt;

&lt;p&gt;The worst part is when mocked tests give you false confidence. I've seen tests that assert you do the wrong thing successfully — the mock doesn't care, it just returns what you told it to. Your tests pass. Your code has a bug. You ship it.&lt;/p&gt;

&lt;p&gt;If you're building on AWS, you need integration tests that actually talk to something that behaves like AWS. Not a mock. Not a stub that returns 200 to everything. Something that implements the real behavior: if you call API A then API B, and AWS would produce side effect C, then your test environment should produce side effect C too.&lt;/p&gt;

&lt;p&gt;That's what LocalStack used to give us. And that's what I wanted to keep — but free and open source.&lt;/p&gt;

&lt;h2&gt;
  
  
  So I built it
&lt;/h2&gt;

&lt;p&gt;I started fakecloud on April 4th, 2026. Three days later: 13 AWS services, 300+ commits, 1,000+ tests.&lt;/p&gt;

&lt;p&gt;That pace was possible because of two things. First, I used LLMs heavily throughout — not to generate code I don't understand, but as a force multiplier with strong guardrails. Every feature ships with E2E tests. The tests are the guardrails. If the LLM generates something that doesn't match real AWS behavior, the tests catch it.&lt;/p&gt;

&lt;p&gt;Second, Rust. I chose Rust because I love static-typed compiled languages, and Rust's type system is genuinely amazing. You get the performance of no garbage collector without having to manually manage memory. It means fakecloud starts in under 100ms and runs as a single binary — no Docker required, no runtime dependencies.&lt;/p&gt;

&lt;h2&gt;
  
  
  Correctness is the whole point
&lt;/h2&gt;

&lt;p&gt;fakecloud doesn't try to be a scalable production cloud. It's not that. It's a testing tool. And the one thing a testing tool needs to get right is correctness.&lt;/p&gt;

&lt;p&gt;What does that mean in practice? If you call &lt;code&gt;CreateQueue&lt;/code&gt;, then &lt;code&gt;SendMessage&lt;/code&gt;, then &lt;code&gt;ReceiveMessage&lt;/code&gt; on real AWS and get back your message with specific attributes — fakecloud should do exactly the same thing. If it doesn't, that's a fakecloud bug.&lt;/p&gt;

&lt;p&gt;We currently verify this with 280+ E2E tests that use the official &lt;code&gt;aws-sdk-rust&lt;/code&gt; crate and 34,856 auto-generated conformance test variants validated against official AWS Smithy models — covering all 983 API operations across 13 services at 100% conformance. The plan for the near future: set up a real AWS account and run our test suite against both fakecloud and real AWS side by side, so we can verify behavioral parity automatically.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's here today
&lt;/h2&gt;

&lt;p&gt;13 services, 983 API operations, all open source, all free:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;S3&lt;/strong&gt; (107 actions) — objects, multipart uploads, versioning, lifecycle, notifications, encryption&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SQS&lt;/strong&gt; (23 actions) — FIFO queues, dead-letter queues, long polling, batch operations&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SNS&lt;/strong&gt; (34 actions) — fan-out to SQS, HTTP delivery, filter policies, platform applications&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;EventBridge&lt;/strong&gt; (57 actions) — pattern matching, scheduled rules, connections, API destinations, endpoints&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;IAM&lt;/strong&gt; (128 actions) — users, roles, policies, groups, instance profiles, OIDC/SAML providers&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;STS&lt;/strong&gt; (11 actions) — assume role, session tokens, federation, credential expiration&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SSM&lt;/strong&gt; (146 actions) — parameters, documents, commands, maintenance windows, associations, automation, sessions&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DynamoDB&lt;/strong&gt; (57 actions) — tables, items, transactions, PartiQL, backups, global tables, streaming&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lambda&lt;/strong&gt; (10 actions) — function CRUD, invoke, event source mappings&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Secrets Manager&lt;/strong&gt; (23 actions) — versioning, soft delete, rotation, replication, resource policies&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CloudWatch Logs&lt;/strong&gt; (113 actions) — groups, streams, filtering, deliveries, transformers, anomaly detection&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;KMS&lt;/strong&gt; (53 actions) — encryption, aliases, key management, grants, custom key stores&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CloudFormation&lt;/strong&gt; (8 actions) — template parsing, resource provisioning&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Services talk to each other: S3 notifications deliver to SNS/SQS. SNS fans out to SQS. EventBridge rules fire on schedule and deliver to targets. This is the kind of cross-service behavior that matters in integration tests and that most emulators get wrong or skip entirely.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-fsSL&lt;/span&gt; https://raw.githubusercontent.com/faiscadev/fakecloud/main/install.sh | bash
fakecloud
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then point any AWS SDK at &lt;code&gt;http://localhost:4566&lt;/code&gt; with dummy credentials. That's it.&lt;/p&gt;

&lt;p&gt;The code is at &lt;a href="https://github.com/faiscadev/fakecloud" rel="noopener noreferrer"&gt;github.com/faiscadev/fakecloud&lt;/a&gt;. It's AGPL-3.0 — free and open source, including for commercial use.&lt;/p&gt;

&lt;p&gt;If you need a local AWS emulator for your integration tests, give it a try. And if something doesn't behave like real AWS — &lt;a href="https://github.com/faiscadev/fakecloud/issues" rel="noopener noreferrer"&gt;open an issue&lt;/a&gt;. That's a bug, and we'll fix it.&lt;/p&gt;

</description>
      <category>aws</category>
      <category>rust</category>
      <category>testing</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
