DEV Community

Alex Spinov
Alex Spinov

Posted on

LocalStack Has a Free AWS Emulator — Test AWS Services Locally Without an Account

LocalStack is a local AWS cloud emulator — run S3, Lambda, DynamoDB, SQS, and more on your laptop without an AWS account.

What You Get for Free (Community Edition)

  • S3 — create buckets, upload/download objects
  • Lambda — deploy and invoke functions locally
  • DynamoDB — full table operations, queries, scans
  • SQS/SNS — message queues and notifications
  • CloudWatch — basic logging
  • IAM — basic policy checks
  • API Gateway — REST API endpoints
  • CloudFormation — deploy stacks locally
  • Step Functions — state machine execution

Quick Start

docker run -d -p 4566:4566 localstack/localstack
Enter fullscreen mode Exit fullscreen mode
# Use AWS CLI with local endpoint
aws --endpoint-url=http://localhost:4566 s3 mb s3://my-bucket
aws --endpoint-url=http://localhost:4566 s3 cp file.txt s3://my-bucket/

# Or use awslocal (wrapper)
pip install awscli-local
awslocal s3 ls
awslocal dynamodb create-table --table-name users ...
Enter fullscreen mode Exit fullscreen mode

Why Developers Switch from Real AWS Dev Accounts

Developing against real AWS is slow and expensive:

  • Offline dev — no internet needed, works on planes
  • $0 cost — no surprise AWS bills for dev/test
  • Fast — no network latency, instant API responses
  • Safe — can't accidentally delete production data
  • CI-friendly — run LocalStack in CI, test AWS code without credentials

A team's AWS dev account cost $300/month and tests took 5 minutes (network latency). After LocalStack: $0/month, tests run in 30 seconds, work offline on flights.

Need Custom Data Solutions?

I build production-grade scrapers and data pipelines for startups, agencies, and research teams.

Browse 88+ ready-made scrapers on Apify → — Reddit, HN, LinkedIn, Google, Amazon, and more.

Custom project? Email me: spinov001@gmail.com — fast turnaround, fair pricing.

Top comments (0)