-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
Create a mock sample for AWS S3 API.
Update: LocalStack (64k+ GitHub stars) is the de facto standard for mocking AWS services locally. It provides a fully functional local AWS cloud stack including S3. Consider using LocalStack instead.
Alternative: LocalStack
LocalStack is a cloud service emulator that runs in a single container on your laptop or in your CI environment. With LocalStack, you can run your AWS applications or Lambdas entirely on your local machine without connecting to a remote cloud provider.
Features
- Full S3 API emulation
- Supports most AWS services (Lambda, DynamoDB, SQS, SNS, and more)
- Docker-based, easy to run locally or in CI/CD
- Active community with 64k+ GitHub stars
Quick Start
# Install
brew install localstack/tap/localstack-cli
# Start
localstack start -d
# Use with AWS CLI
awslocal s3 mb s3://my-bucket
awslocal s3 cp myfile.txt s3://my-bucketSee: https://github.com/localstack/localstack
Original request (for reference)
Why
- Ubiquitous cloud storage API
- Many devs use AWS SDKs that can be configured for local endpoints
- Enables offline development without AWS credentials
- Cost savings during development/testing
Suggested endpoints to mock
- Object operations (GET, PUT, DELETE)
- Bucket listing
- Presigned URL generation
- Multipart upload
- Error responses (NoSuchKey, AccessDenied, etc.)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request