logoJerry Wang

Localstack: A Guide to Local Cloud Development

Localstack is a powerful tool that allows you to develop and test cloud applications locally by emulating various cloud services. It provides a fully functional local cloud environment that mimics the capabilities of popular cloud providers like AWS, Azure, and Google Cloud Platform. In this guide, we'll explore how you can use Localstack to streamline your development workflow and test cloud applications without incurring cloud costs.

Installation

Let's focus on MacOS. Could find the installation instructions for other OSs here.

Also starting from here

  1. Install cli
brew install localstack/tap/localstack-cli
  1. Personal auth token
export LOCALSTACK_AUTH_TOKEN="<token>"
  1. Start Localstack
localstack start
  1. Download LocalStack Desktop

Download from here

AWS & Terraform

  1. Install AWS CLI & AWS Local

(Don't need pip to install now, can use brew)

brew install awscli
brew install awscli-local
  1. Install Terraform & Terraform Local
brew install terraform
brew install terraform-local

Refs