DEV Community

Twisted-Code'r
Twisted-Code'r

Posted on

I built a free open-source LocalStack alternative in Go โ€” v0.7.0 is out

CloudDev v0.7.0 is live ๐Ÿš€

CloudDev is a free, open-source local AWS emulator built in Go โ€” a self-hosted alternative to LocalStack. No Docker, no Python, no Java. Just a single binary.

Today I'm releasing v0.7.0 with 6 new AWS services, bringing the total to 43 emulated services.

๐Ÿ‘‰ github.com/Jeffrin-dev/CloudDev


Why I built this

LocalStack is great โ€” but the free tier is limited and the pro tier is expensive. I wanted something that:

  • Works completely offline
  • Has zero runtime dependencies
  • Is free forever, for everyone
  • Is open source and hackable

So I built CloudDev.


What's new in v0.7.0

This release focuses on compute infrastructure, managed data services, and developer tooling โ€” the services that make CloudDev viable for real-world application stacks beyond serverless.

EC2 (port 4600)

Instance lifecycle, AMIs, key pairs, and security groups.

aws --endpoint-url=http://localhost:4600 ec2 run-instances \
    --image-id ami-00000001 --instance-type t2.micro --key-name mykey
Enter fullscreen mode Exit fullscreen mode

RDS (port 4601)

DB instances, snapshots, and parameter groups. PostgreSQL and MySQL supported.

aws --endpoint-url=http://localhost:4601 rds create-db-instance \
    --db-instance-identifier mydb --db-instance-class db.t3.micro \
    --engine postgres --master-username admin --db-name mydb
Enter fullscreen mode Exit fullscreen mode

OpenSearch (port 4602)

Domain management and tag support.

aws opensearch create-domain --domain-name mydomain \
    --engine-version OpenSearch_2.3 \
    --endpoint-url http://localhost:4602
Enter fullscreen mode Exit fullscreen mode

MSK โ€” Managed Kafka (port 4603)

Cluster management with realistic bootstrap broker endpoints.

aws kafka create-cluster --cluster-name mycluster \
    --number-of-broker-nodes 2 --kafka-version 3.4.0 \
    --broker-node-group-info InstanceType=kafka.m5.large,ClientSubnets=subnet-1 \
    --endpoint-url http://localhost:4603
Enter fullscreen mode Exit fullscreen mode

CodePipeline (port 4604)

Full pipeline lifecycle with execution tracking.

aws codepipeline start-pipeline-execution \
    --name mypipeline --endpoint-url http://localhost:4604
Enter fullscreen mode Exit fullscreen mode

WAF (port 4605)

Web ACLs, rule groups, and resource associations.

aws wafv2 create-web-acl --name myacl --scope REGIONAL \
    --default-action Allow={} \
    --visibility-config SampledRequestsEnabled=true,CloudWatchMetricsEnabled=true,MetricName=myacl \
    --endpoint-url http://localhost:4605
Enter fullscreen mode Exit fullscreen mode

Quick start

git clone https://github.com/Jeffrin-dev/CloudDev.git
cd CloudDev
go build -o clouddev .
./clouddev init my-app
cd my-app
../clouddev up
Enter fullscreen mode Exit fullscreen mode

That's it. All 43 services start instantly.


Full service list

43 services: S3, DynamoDB, DynamoDB Streams, Lambda, Lambda Layers, Lambda Function URLs, SQS (+ FIFO), SNS, API Gateway, API Gateway v2, IAM, STS, KMS, CloudFormation, Step Functions, EventBridge, CloudWatch Events, Secrets Manager, CloudWatch Logs, CloudWatch Metrics, ElastiCache, Cognito, X-Ray, Route53, SSM Parameter Store, Rekognition, SES, Bedrock, Kinesis Data Streams, Kinesis Firehose, ECS, ECR, CloudFront, AppSync, Athena, ACM, EC2, RDS, OpenSearch, MSK, CodePipeline, WAF, and Dashboard.


What's next

I'm focused on stability and community feedback for now. If there's a service you need, open an issue on GitHub!

โญ If CloudDev saves you time or money, a star on GitHub goes a long way.

๐Ÿ‘‰ github.com/Jeffrin-dev/CloudDev

Built for Devs ยท Apache 2.0

Top comments (0)