Blog Logo
TAGS

.NET and AWS S3 with LocalStack: How to develop with local S3 buckets

LocalStack is an open-source framework that allows us to emulate the major AWS services locally, making it easier to develop and test cloud applications without incurring the cost and complexity of deploying to a real cloud environment. In this post, I’ll show how to configure it to emulate S3 buckets and how to interact with those buckets from a C# application. LocalStack can be run as a CLI or using a container. In this post, I’ll explain how to run it in a container with docker run and docker-compose. LocalStack has a web-based dashboard that allows us to manage and configure its services and visualize its logs. Access https://app.localstack.cloud. and it will connect to the LocalStack instance running locally. It runs in the browser, so there is no need to expose any ports to the internet.