{
  "id": 21640657,
  "title": "AWS Emulator Hands-On: Test S3 and KMS Locally on Linux",
  "url": "https://urgent.news/2026/11/24/aws-emulator-hands-on-test-s3-and-kms-locally-on-linux",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-24T18:25:50.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/qainsights/aws-emulator-hands-on-test-s3-and-kms-locally-on-linux-4f9m"
  },
  "original_language": "en",
  "account": "In this blog post, the process of installing and testing the AWS Emulator on a Linux virtual machine is outlined. The AWS Emulator is a free, local emulator of AWS APIs designed to run on Linux, macOS, and Windows. It is installed as a .deb or .rpm package on Linux or in Docker on macOS and Windows. The AWS CLI and SDKs interact with the emulator through a few environment variables. Upon testing the emulator on Ubuntu, KMS encryption, decryption, encryption context, disabled keys, key usage, rotation, grants, and S3 SSE-KMS all behaved as expected. However, two S3 plus KMS edge cases were found to have issues. The emulator is written in Rust and generates responses similar to those provided by the AWS cloud. It uses real SigV4 and must have signed requests. The emulator has its own access key IDs beginning with EMULATOR and operates within a single fake account. If an operation is not yet implemented, the emulator returns an HTTP 501 status code. AWS provides a fidelity metric for the emulator, which is published and available in the open aws-emulator-evaluation-suite repository. The post explains that testing AWS code locally can be challenging due to factors such as slow feedback loops, shared dev accounts, leftover resources, real credentials in CI, and flaky network tests. KMS is considered one of the hardest parts to test because it deals with state and context, which are typically skipped by mocks. The post provides instructions on installing the AWS Emulator on Ubuntu or any Linux system, as well as steps to install the AWS CLI version 2 and verify the emulator's operation.",
  "summary": "In this blog post, we will see how to install the new AWS Emulator on a Linux VM, point the AWS CLI and boto3 at it, and test Amazon S3 and AWS KMS locally, including the KMS failure cases that usually only show up after you deploy. Quick answer: AWS Emulator is a free, local emulator of the AWS APIs that AWS announced on 11 November 2026. You install it as a .deb or .rpm package on Linux (or run…",
  "key_points": [
    "AWS Emulator is a free, local emulator of AWS APIs for Linux, macOS, and Windows.",
    "AWS Emulator installed as .deb or .rpm package on Linux or in Docker on macOS and Windows.",
    "KMS encryption, decryption, and S3 SSE-KMS tested successfully on Ubuntu with emulator."
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}