If you are building on AWS, you need LocalStack. It mocks the entire AWS cloud in a single Docker container.
Docker Compose Setup
services:
localstack:
image: localstack/localstack
ports:
- "4566:4566"
environment:
- SERVICES=s3,lambda,dynamodb
Now you can point your AWS SDK to `http://localhost:4566`.
`var client = new AmazonS3Client(new AmazonS3Config { ServiceURL = “http://localhost:4566” });`
You can create S3 buckets, trigger Lambdas, and write to DynamoDB locally, offline. No credit card required.
Discover more from C4: Container, Code, Cloud & Context
Subscribe to get the latest posts sent to your email.