Skip to content
@localstack-samples

LocalStack Samples

Samples and demo applications that run on @localstack

LocalStack: Run Locally, Deploy Globally

Docs Blog Slack YouTube LinkedIn

LocalStack Samples

Sample applications that run on LocalStack, the local cloud development platform. Each sample deploys a real architecture to the LocalStack emulators for AWS, Snowflake or Azure, on your machine or in CI, with no cloud account. Most samples also include a CI workflow that deploys the app and tests it on every pull request.

Run a sample

  1. Install the lstk CLI and log in:

    brew install localstack/tap/lstk   # or: npm install -g @localstack/lstk
    lstk login                         # or: export LOCALSTACK_AUTH_TOKEN=<your-token>
  2. Start the emulator the sample needs:

    lstk start                     # AWS
    lstk start --type snowflake    # Snowflake
    lstk start --type azure        # Azure
  3. Clone a sample and follow its README to deploy and test it.

Browse all repositories, or find samples by service in the docs.

Contributing

Found a broken sample or want a new one? Open an issue in the sample's repository, or read the contributing guide to add your own. Everyone taking part is expected to follow our Code of Conduct.

Bugs in LocalStack itself belong in localstack/localstack. For questions, join the LocalStack Community Slack.

Pinned Loading

  1. sample-lambda-s3-image-resizer-hot-reload sample-lambda-s3-image-resizer-hot-reload Public

    A serverless application that automatically resizes images on S3 upload using Lambda. Showcases Lambda hot reloading for rapid development, integration testing, and S3 event-driven architecture on …

    HCL 51 31

  2. sample-terraform-fullstack-serverless-shipment-app sample-terraform-fullstack-serverless-shipment-app Public

    Forked from tinyg210/shipment-list-demo

    A full-stack shipment management app (React, Spring Boot) using S3, Lambda, and DynamoDB. Demonstrates IaC testing with Terraform and highlights AWS parity for seamless local development on LocalSt…

    Java 34 19

  3. localstack-pro-samples localstack-pro-samples Public

    Sample projects to demonstrate advanced LocalStack features

    Makefile 195 65

  4. localstack-terraform-samples localstack-terraform-samples Public

    Repository with terraform samples for LocalStack

    HCL 112 30

  5. localstack-demo localstack-demo Public

    Simple demo application deployed using LocalStack

    TypeScript 68 33

  6. sample-terraform-ecs-apigateway sample-terraform-ecs-apigateway Public

    Serverless Container-based APIs with Amazon ECS and Amazon API Gateway deployed using LocalStack

    HCL 25 1

Repositories

Showing 10 of 102 repositories