Member-only story

Trigger a lambda function via S3 Bucket without using AWS!

Nikhil Adiga
7 min readNov 1, 2024

We all know the pain of developing serverless solutions using lambda functions šŸ¤¦. Testing them and debugging them is a headache. I have wondered many times if there was an easy solution to solve this problem and it turns out that there is a very good solution. Localstack! šŸ¤©

Introduction

LocalStack is an open-source tool that emulates (or ā€œmocksā€) many of the services provided by Amazon Web Services (AWS) on your local machine, which allows developers to run applications locally without needing a connection to AWS. Itā€™s particularly useful for testing and developing cloud-native applications without incurring cloud costs or needing internet access.

Problem statement architecture

Setup šŸ’»

Letā€™s follow the installation guide and get started.

One of the best things about localstack is its amazing documentation. Itā€™s very easy to understand and follow. There are multiple ways to install localstack as per the official docs.

  1. Using homebrew
  2. Downloading the binary executable
  3. Using the Localstack Desktop app

--

--

Nikhil Adiga
Nikhil Adiga

No responses yet