localstack

The official LocalStack image — a cloud service emulator that runs AWS APIs such as S3, SQS, Lambda, and DynamoDB locally for development, integration testing, and CI.

localstack, aws emulator, local aws, integration testing, s3, lambda

What is LocalStack?

The LocalStack image packages LocalStack, a cloud service emulator that provides local implementations of AWS APIs including S3, SQS, SNS, Lambda, DynamoDB, Kinesis, and IAM. Developers point their SDKs and tools at a single edge endpoint on port 4566 and run integration tests, infrastructure-as-code deployments with Terraform or CDK, and event-driven applications without touching a real AWS account. The image runs as a long-lived service in Docker Compose, CI pipelines, and Kubernetes test environments, and it can persist state and load initialization scripts at startup. It is used by application, QA, and platform teams that want fast, cheap, and repeatable cloud tests.

What is Echo's LocalStack image?

Echo's LocalStack image is a hardened build of LocalStack on Echo's hardened base. Echo images are designed to be a drop-in replacement: swap the image reference in your Dockerfile or deployment manifest and CVEs go to zero without disrupting your service configuration, init scripts, persisted state volumes, and the SDK endpoints your tests target. Every image is tested across clouds, image use cases, and deployment targets. Echo ships every image in two variants:

  • Distroless variant — optimized for runtime use, with the smallest possible attack surface
  • Default variant — includes essential build tools, package managers, and shells for teams that need operational access

For production LocalStack deployments, the distroless variant keeps all runtime operations — AWS API emulation, Lambda execution, event routing, and state persistence — fully intact while minimizing exposure; the default variant suits application and QA teams that need shell access for checking service logs, inspecting emulated resources, or debugging test failures.

What is the difference between Echo's LocalStack image and the public LocalStack image?

Public LocalStack images ship on bases that include OS-level tooling convenient for development but which contribute CVEs that accumulate on a cloud emulator service used in production. LocalStack images run continuously with access to test data, emulated credentials, and the Docker socket when Lambda and container services are enabled. OS-level CVEs in the base image — particularly in libraries such as openssl, zlib, and libc, along with python and java runtime dependencies — create exploitable paths that bypass application-layer controls entirely, allowing attackers to move from a network-reachable service to host-level access. For teams running LocalStack across many environments, the image is also a steady source of scanner noise in the CI pipeline — every package in the base becomes a finding your security team must triage, even when none of it is reachable from the service. Echo's build retains everything LocalStack needs for AWS API emulation, Lambda execution, event routing, and state persistence while removing the packages that don't belong in a production LocalStack cloud emulator service. As we covered in our post on how to protect your company from software supply chain attacks, long-running services that hold sensitive data and listen on the network are among the widest attack surfaces in the container stack. Echo commits to a 7-day SLA for critical and high severity vulnerabilities, and 10 days for medium, low, and unknown — with vulnerabilities triaged within 24 hours. Echo images are recognized by all major scanners and mirrored to all major registries, so they fit into existing pipelines without changing your registry, scanner, or runtime tooling.

FAQ

Can I replace my LocalStack image with Echo's LocalStack image?

Yes. Echo's LocalStack image is a drop-in replacement. Update the FROM line in your Dockerfile and your workloads keep running. AWS SDK endpoints, emulated services, init scripts, Terraform and CDK deployments, and persisted state all continue to work without changes to your tests or tooling.

Is Echo's LocalStack image FIPS-validated?

Yes. Echo's FIPS-validated images use cryptographic modules with an active FIPS 140-3 CMVP certificate, making them fit for federal use — unlike FIPS-compliant images that haven't been validated. This matters for teams running LocalStack workloads inside FedRAMP boundaries, where a cloud emulator service that exposes emulated cloud APIs to pipelines and often runs with access to the Docker socket must meet cryptographic requirements across the full stack — including the OpenSSL and TLS libraries bundled with the LocalStack image.

What is Echo's vulnerability management SLA on the LocalStack image?

Echo commits to a 7-day SLA for critical and high severity vulnerabilities, and 10 days for medium, low, and unknown — with vulnerabilities triaged within 24 hours. Patches are mirrored automatically into your private registry so you're always running a clean version — critical for a long-running service that holds test data, emulated credentials, and the Docker socket when Lambda and container services are enabled and is reachable over the network.

Is Echo's LocalStack image distroless?

Echo ships every image in two variants: a distroless variant optimized for runtime use, and a default variant that includes essential build tools, package managers, and shells. For production LocalStack deployments, the distroless variant is the leaner, more secure choice; for application and QA teams that need shell access for checking service logs, inspecting emulated resources, or debugging test failures, the default variant is the right fit.

How does Echo achieve such a drastic CVE reduction in LocalStack?

Echo's LocalStack image is built from source with only the absolute essentials needed to run the LocalStack cloud emulator service, which significantly shrinks the attack surface. Echo also patches aggressively over time, with backports available so you can stay on the LocalStack version your applications and their dependencies are certified against — avoiding a disruptive upgrade forced purely by OS-level vulnerabilities in the base image rather than by your own requirements.

Will Echo's LocalStack image help us achieve FedRAMP?

Yes. The hard parts of FedRAMP — managing vulnerabilities, applying fixes, and using FIPS-validated cryptography — are baked into Echo images, including STIG-hardened configuration and ConMon/POA&M-ready reporting. For application and platform teams running LocalStack under an ATO — whether that's local development against AWS APIs, integration testing in CI, or infrastructure-as-code validation — Echo's hardened LocalStack image keeps the cloud emulator service layer in-boundary and compliant without requiring custom hardening scripts or manual base image patching between compliance cycles.

‍

Interested in base images that start and stay clean?