█

AI/TLDR

मुझे पिलाएं कॉफ़ी
मुझे एक कॉफ़ी पिलाएँ

AWS Emulator

AWS APIs का मुफ़्त लोकल स्टैंड-इन, टेस्ट, CI और AI coding agents के लिए

Code Sandboxes & Isolationओपन सोर्स
अपडेट किया गया
11 नव॰ 2026
भाषा
Rust
लाइसेंस
CC0-1.0
कवरेज
1 story

नया क्या है

11 नव॰ 2026

AWS launched AWS Emulator, a free local emulator of the AWS APIs for Linux, Docker and Rust tests, and published its CC0 source and fidelity tests on GitHub.

ताज़ा खबरें

संक्षेप में

AWS Emulator क्या है?

AWS Emulator AWS APIs का मुफ़्त लोकल स्टैंड-इन, टेस्ट, CI और AI coding agents के लिए. यह Agents & Automation टूल्स की Code Sandboxes & Isolation श्रेणी में आता है; ओपन सोर्स है, Rust में लिखा गया है और CC0-1.0 लाइसेंस के तहत है। शुरू करने के लिए: package install करें (Debian, amd64).

अपडेट किया गया Markdown वर्शन ↗

सारांश

AWS Emulator, Amazon Web Services द्वारा प्रकाशित, AWS APIs का एक लोकल emulator है। इसे आप अपनी मशीन, डेवलपमेंट सर्वर या CI runner पर चलाते हैं, कुछ environment variables सेट करते हैं, और AWS CLI और AWS SDKs अपनी रिक्वेस्ट AWS के बजाय emulated resources को भेजते हैं। आपका कोड नहीं बदलता, आपको AWS अकाउंट की ज़रूरत नहीं होती, और कोई service fee नहीं है। इसका कोई ग्राफ़िकल इंटरफ़ेस नहीं है: यह एक single endpoint है जो AWS APIs की भाषा बोलता है।

यह emulator Rust में लिखा गया है और डिफ़ॉल्ट रूप से 127.0.0.1:9297 पर HTTPS सर्व करता है। हर start पर यह नई access keys, एक config file और certificate ~/.aws/emulator/<port>/ के अंदर बनाता है, और AWS की तरह SigV4 signatures की जाँच करता है, इसलिए सिर्फ़ वही callers आगे जा सकते हैं जो उन keys का इस्तेमाल करते हैं। सारे resources memory में रहते हैं और emulator बंद होने पर मिट जाते हैं, जिससे हर test run को एक साफ़ state मिलती है। जिन operations को इसने implement नहीं किया है, उन पर कॉल HTTP 501 लौटाते हैं, ताकि tests चुपचाप पास होने के बजाय ज़ोर से fail हों।

Diagram: test writers, issue finders and fixer agents working through one shared CodeCommit repository
Three teams of agents build AWS Emulator: test writers, issue finders and fixersAbout Amazon ↗

यह प्रोजेक्ट agent-built सॉफ़्टवेयर का एक प्रयोग भी है। Amazon के मुताबिक़ AI agents की तीन टीमें AWS API models से इसे बनाती और maintain करती हैं, जिसमें असली AWS ही reference है: test writers AWS के मुकाबले scenarios verify करते हैं, issue finders उन fidelity tests को emulator पर दोबारा चलाते हैं और failures दर्ज करते हैं, और fixers build, review, security और fidelity के लिए एक automated gate से गुज़रकर हर issue का एक fix merge करते हैं। AWS के मुताबिक़ उसके इंजीनियरों ने कोड न लिखा है और न उसकी समीक्षा की है। हर release में हर service के लिए fidelity scores प्रकाशित होते हैं, और tests खुद public हैं।

यह क्या करता है

  • environment variables के ज़रिए AWS CLI और AWS SDKs के साथ काम करता है, कोड में कोई बदलाव किए बिना
  • हर emulated service के लिए एक लोकल HTTPS endpoint, SigV4 checks और हर run की अपनी keys के साथ
  • Memory में रहने वाली state, जो stop होने पर साफ़ हो जाती है, और अलग-अलग ports पर एक साथ कई emulators
  • x86_64 और aarch64 Linux के लिए native RPM और Debian packages; macOS और Windows पर Docker
  • Rust tests के लिए embedded mode (aws-emulator-embedded), हर instance की अलग state के साथ
  • एक aws-emulator skill, जिससे AI coding agents emulator को install, start और connect कर सकते हैं
  • हर release के साथ हर service के fidelity scores, और एक public fidelity test suite
  • कोई service fee नहीं; GitHub पर CC0-1.0 source (vendor/ के लिए Apache-2.0)
Diagram: fixes batch from mainline through build, test and final checks to a release branch, GitHub and a binary
The release gate re-verifies batched fixes before a release is packaged and published to GitHubAbout Amazon ↗

शुरू करें

Linux पर package install करें, एक terminal में emulator start करें और दूसरे terminal से अपनी shell को उसकी ओर point करें। macOS और Windows पर इसके बजाय user guide में दी गई Docker guide follow करें।

Package install करें (Debian, amd64)

dnf के लिए RPM packages और arm64 builds भी प्रकाशित होते हैं; user guide में हर command दी गई है।

bashbash
curl -fsSLo aws-emulator.deb https://downloads.aws.com/aws-emulator/packages/aws-emulator/LTS/latest/aws-emulator_amd64.deb
sudo apt-get install -y ./aws-emulator.deb
aws-emulator -v

Emulator start करें

यह इसी terminal में चलता रहता है और 127.0.0.1:9297 पर HTTPS सर्व करता है। कोई दूसरा port चुनने के लिए -p का इस्तेमाल करें।

bashbash
aws-emulator

AWS CLI और SDKs को इसकी ओर point करें

दूसरे terminal में endpoint, emulator की credential, config और certificate files सेट करें, और कोई भी असली credentials unset कर दें।

bashbash
export AWS_ENDPOINT_URL=https://127.0.0.1:9297
export AWS_SHARED_CREDENTIALS_FILE=~/.aws/emulator/9297/emulator_credentials
export AWS_CONFIG_FILE=~/.aws/emulator/9297/config
export AWS_CA_BUNDLE=~/.aws/emulator/9297/ca.pem
export AWS_EC2_METADATA_DISABLED=true
export AWS_DISABLE_HOST_PREFIX_INJECTION=true
export AWS_REGION=us-east-1
export AWS_DEFAULT_REGION=us-east-1
unset AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_SESSION_TOKEN AWS_PROFILE

जाँचें कि आप emulator से बात कर रहे हैं

Emulator एक ही account 000000000000 इस्तेमाल करता है। अगर आपको अपना account ID दिखे, तो आपकी रिक्वेस्ट AWS पर जा रही हैं।

bashbash
aws sts get-caller-identity
aws s3api create-bucket --bucket amzn-s3-demo-bucket
aws s3api list-buckets --query 'Buckets[].Name'

या coding agent से setup करवाएँ

AWS CLI 2.35.0 या उसके बाद के version के साथ aws-emulator skill जोड़ें, ताकि AI coding agent खुद emulator को install, start और connect कर सके।

bashbash
aws agent-toolkit add-skill --skill-name aws-emulator --region us-east-1

कमांड और कोड प्रोजेक्ट के अपने दस्तावेज़ों से लिए गए हैं — हमेशा जांचें आधिकारिक repo ताज़ा जानकारी के लिए।

कब इस्तेमाल करें

  • बिना AWS अकाउंट के लैपटॉप पर S3, DynamoDB, SQS और दूसरी services के खिलाफ integration tests चलाएँ
  • CI pipelines को AWS जैसे tests दें, बिना credentials के और बिना cloud resources साफ़ करने के झंझट के
  • AI coding agent को असली credentials दिए बिना AWS कोड बनाने और आज़माने दें
  • Deploy से पहले validation errors और API व्यवहार जाँचें, फिर साफ़ state के लिए restart करें

How AWS Emulator compares

AWS Emulator alongside other open-source code sandboxes & isolation tools AI/TLDR tracks, ranked by GitHub stars.

टूलस्टारयह क्या करता है
Daytona★ 71.2kAI-जनरेटेड कोड चलाने के लिए सुरक्षित, लचीले सैंडबॉक्स
NVIDIA NemoClaw★ 23.1kNVIDIA का रेफ़रेंस स्टैक, जिससे तीसरे-पक्ष के एजेंट OpenShell सैंडबॉक्स के अंदर चलाए जा सकते हैं
OpenShell★ 22.1kNVIDIA का ओपन सोर्स, नीति-आधारित sandbox रनटाइम, जो AI एजेंट्स के पूरे बेड़े को सुरक्षित रूप से चलाता है
OpenSandbox★ 18.1kAI-जनित कोड को अलग-अलग कंटेनर में चलाने वाला सामान्य-उद्देश्य सैंडबॉक्स प्लेटफ़ॉर्म
E2B★ 15.1kसुरक्षित, अलग-थलग cloud sandboxes में AI-generated कोड चलाएं
AX (Agent Executor)★ 15kGoogle का डिक्लेरेटिव ऑर्केस्ट्रेटर, जो Kubernetes क्लस्टर पर सैंडबॉक्स में अविश्वसनीय agent टास्क चलाता है
AWS Emulator★ 10.4kAWS APIs का मुफ़्त लोकल स्टैंड-इन, टेस्ट, CI और AI coding agents के लिए
Astrid★ 10.3kएक क्षमता-सुरक्षित WebAssembly रनटाइम, जहाँ एजेंट कंपोनेंट्स को कोई निहित अधिकार नहीं मिलता