{"id":43238999,"url":"https://github.com/jensvogt/awsmock","last_synced_at":"2026-06-07T17:01:21.361Z","repository":{"id":170771006,"uuid":"646854309","full_name":"jensvogt/awsmock","owner":"jensvogt","description":"AWS Mock","archived":false,"fork":false,"pushed_at":"2026-06-04T13:42:24.000Z","size":380968,"stargazers_count":7,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-04T14:04:15.872Z","etag":null,"topics":["aws","lambda","mock","mocking","s3","sns","sqs","testing"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jensvogt.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-05-29T13:42:17.000Z","updated_at":"2026-06-04T13:41:45.000Z","dependencies_parsed_at":"2024-04-18T07:38:36.319Z","dependency_job_id":"2555379e-5b34-4677-9cd3-c26e3eb852fc","html_url":"https://github.com/jensvogt/awsmock","commit_stats":null,"previous_names":["jensvogt/aws-mock"],"tags_count":1290,"template":false,"template_full_name":null,"purl":"pkg:github/jensvogt/awsmock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jensvogt%2Fawsmock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jensvogt%2Fawsmock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jensvogt%2Fawsmock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jensvogt%2Fawsmock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jensvogt","download_url":"https://codeload.github.com/jensvogt/awsmock/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jensvogt%2Fawsmock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34029790,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-07T02:00:07.652Z","response_time":124,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","lambda","mock","mocking","s3","sns","sqs","testing"],"created_at":"2026-02-01T11:16:07.406Z","updated_at":"2026-06-07T17:01:17.462Z","avatar_url":"https://github.com/jensvogt.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# awsmock\n\n![Release](https://img.shields.io/github/v/release/jensvogt/awsmock)\n![Docker Pulls](https://img.shields.io/docker/pulls/jensvogt/awsmock)\n![License](https://img.shields.io/github/license/jensvogt/awsmock)\n![Language](https://img.shields.io/github/languages/top/jensvogt/awsmock)\n![CI](https://img.shields.io/github/actions/workflow/status/jensvogt/awsmock/build-release.yml)\n\n\u003e Run AWS services locally — no cloud account, no costs, no latency.  \n\u003e A high-performance C++ alternative to LocalStack that starts in under a second.\n\n---\n\n## Why awsmock?\n\nMost local AWS simulators are slow, memory-hungry, or lock core features behind a paywall.\nawsmock is different: written in C++, it starts instantly, uses minimal memory, and is completely free.\n\n| Feature      | awsmock          | LocalStack (free)    |\n|--------------|------------------|----------------------|\n| Language     | C++              | Python / JVM         |\n| Startup time | ~1s              | 15–30s               |\n| Memory usage | ~50 MB           | 500 MB+              |\n| Persistence  | ✅ Free (MongoDB) | 💰 Pro only          |\n| Web UI       | ✅ Free           | 💰 Pro only          |\n| Qt UI        | ✅ Free           | ❌                    |\n| Offline      | ✅                | ✅                    |\n| Price        | Free             | Free / $35 per month |\n\n---\n\n## Quick Start (30 seconds)\n\n```bash\ndocker run -p 4566-4568:4566-4568 jensvogt/awsmock:latest\n```\n\nPoint your AWS SDK or CLI at `http://localhost:4566`. That's it — no config, no credentials required.\n\n```bash\n# Verify it's running\naws --endpoint-url=http://localhost:4566 s3 mb test-bucket\naws --endpoint-url=http://localhost:4566 s3 ls\n```\n\n---\n\n## Works with your existing code\n\nawsmock listens on the same port and speaks the same protocol as real AWS.\nChange one line — the endpoint URL — and your existing SDK code works as-is.\n\n**Python (boto3)**\n\n```python\nimport boto3\n\ns3 = boto3.client(\"s3\", endpoint_url=\"http://localhost:4566\")\ns3.create_bucket(Bucket=\"my-bucket\")\ns3.put_object(Bucket=\"my-bucket\", Key=\"hello.txt\", Body=b\"Hello, world!\")\n```\n\n**Java (AWS SDK v2)**\n\n```java\nS3Client s3 = S3Client.builder()\n    .endpointOverride(URI.create(\"http://localhost:4566\"))\n    .region(Region.US_EAST_1)\n    .build();\n\ns3.createBucket(r -\u003e r.bucket(\"my-bucket\"));\n```\n\n**AWS CLI**\n\n```bash\naws --endpoint-url=http://localhost:4566 sqs create-queue --queue-name my-queue\naws --endpoint-url=http://localhost:4566 dynamodb list-tables\naws --endpoint-url=http://localhost:4566 s3 cp file.txt s3://my-bucket/\n```\n\n---\n\n## Supported Services\n\n| Service             | Status |\n|---------------------|--------|\n| S3                  | ✅      |\n| SQS                 | ✅      |\n| SNS                 | ✅      |\n| DynamoDB            | ✅      |\n| Lambda              | ✅      |\n| Cognito             | ✅      |\n| API Gateway         | ✅      |\n| Secrets Manager     | ✅      |\n| KMS                 | ✅      |\n| SSM Parameter Store | ✅      |\n| Transfer (FTP → S3) | ✅      |\n\nFull API coverage details are in the [docs](https://github.com/jensvogt/awsmock/blob/main/docs/man).\n\n---\n\n## Persistence modes\n\n**In-memory** (default) — fastest, perfect for unit/integration tests, data lost on shutdown.\n\n**Persistent** (MongoDB) — survives restarts, ideal for shared dev environments or realistic local stacks.\n\n```bash\n# Run with persistence\ndocker run \\\n  -p 4566-4568:4566-4568 \\\n  -e AWSMOCK_MONGODB_HOST=your-mongo-host \\\n  jensvogt/awsmock:latest\n```\n\n---\n\n## Docker (full options)\n\n```bash\ndocker run \\\n  -p 4566-4568:4566-4568 \\\n  -p 2121:2121 \\\n  -p 6000-6100:6000-6100 \\\n  -v /var/run/docker.sock:/var/run/docker.sock \\\n  jensvogt/awsmock:latest\n```\n\n| Port      | Purpose                |\n|-----------|------------------------|\n| 4566      | Main AWS API endpoint  |\n| 4567      | Web UI                 |\n| 4568      | Management API         |\n| 2121      | FTP (Transfer service) |\n| 6000–6100 | Lambda execution       |\n\n---\n\n## Tooling\n\nawsmock ships with three ways to manage your local infrastructure:\n\n- **`awsmockctl`** — CLI tool to start/stop/configure individual services\n- **Angular Web UI** — browser dashboard at `http://localhost:4567`\n- **Qt Desktop UI** — native app for Windows, macOS, Linux → [awsmock-qt-ui](https://github.com/jensvogt/awsmock-qt-ui)\n\n---\n\n## Installation\n\n### Docker (recommended)\n\n```bash\ndocker pull jensvogt/awsmock:latest\n```\n\n### Debian / Ubuntu\n\n```bash\nwget https://jensvogt.github.io/awsmock/awsmock-\u003cversion\u003e-amd64.deb\nsudo apt install ./awsmock-\u003cversion\u003e-amd64.deb\n```\n\n### RPM (RHEL / Fedora)\n\n```bash\nwget https://jensvogt.github.io/awsmock/awsmock-\u003cversion\u003e.rpm\nsudo rpm -i awsmock-\u003cversion\u003e.rpm\n```\n\n### macOS\n\n```bash\nwget https://jensvogt.github.io/awsmock/awsmock-\u003cversion\u003e-macos.tgz\ntar -xzf awsmock-\u003cversion\u003e-macos.tgz\n```\n\n### Windows\n\n```bash\nwget https://jensvogt.github.io/awsmock/awsmock-\u003cversion\u003e-amd64.exe\nawsmock-\u003cversion\u003e-amd64.exe\n```\n\n### Build from source\n\n```bash\ngit clone https://github.com/jensvogt/awsmock.git\ncd awsmock\ncmake . -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=\u003cpath-to-install\u003e\ncmake --build .\n```\n\nRequires: GCC 4.9+ or Clang 3.3+, CMake, Boost, Beast.\nSee [build docs](https://github.com/jensvogt/awsmock/blob/main/docs/man) for full dependency list.\n\n---\n\n## Use cases\n\n- **Integration testing** — deterministic, fast, no cloud dependencies\n- **CI pipelines** — lightweight container, no AWS credentials needed\n- **Offline development** — work on planes, in basements, anywhere\n- **Event-driven systems** — wire up S3 → SQS → Lambda locally end-to-end\n- **Cost control** — eliminate accidental dev/test AWS charges entirely\n\n---\n\n## Architecture\n\n- Written in **modern C++** using Boost/Beast for HTTP\n- Optional **MongoDB** persistence layer\n- Modular design — each AWS service is an independent module\n- Docker-native, also runs as a system service on Linux/macOS/Windows\n\n---\n\n## Contributing\n\nContributions are welcome — especially:\n\n- New AWS service support\n- Improved API coverage for existing services\n- Bug reports with reproduction steps\n\nOpen an issue or PR. Real-world usage drives the roadmap.\n\n---\n\n## License\n\n[GPL-3.0](LICENSE)\n\n---\n\n⭐ **If awsmock saves you time or money, a star helps others find it.**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjensvogt%2Fawsmock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjensvogt%2Fawsmock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjensvogt%2Fawsmock/lists"}