Member-only story
LocalStack provides an easy-to-use test/mocking framework for developing Cloud applications. In today’s post, we’re going to have a quick look at setting up LocalStack locally to work with their free tier AWS emulated products.
In particular, today’s post will have a quick look at emulating S3 buckets for local development.
Prerequisites
Before getting started, it is required that you have the following on your machine:
- Python (both Python 2.x and 3.x supported)
- pip (python package manager)
- Docker
- AWS CLI (for interacting with LocalStack after installation)
Installing LocalStack
Following the instructions on their README, we can use pip
to install the package.
Running LocalStack
Once installed, we can get everything up by running localstack start
. You will get feedback in the terminal that a number of services are started and finally get the service list with the ports they are running on. By default, these services…