Code Monkey home page Code Monkey logo

localstack-pro-samples's Introduction

LocalStack Pro Samples

This repository contains sample projects that can be deployed on your local machine using LocalStack Pro.

Each example in the repository is prefixed with the name of the AWS service being used. For example, the elb-load-balancing directory contains examples that demonstrate how to use the Elastic Load Balancing service with LocalStack. Please refer to the sub directories for more details and instructions on how to start the samples.

Prerequisites

Configuration

Some of the samples require LocalStack Pro features. Please make sure to properly configure the LOCALSTACK_API_KEY environment variable. You can find your API key in the LocalStack Pro dashboard and you can refer to our API key documentation for more details.

Outline

Sample Name Description
Serverless Websockets API Gateway V2 websocket APIs deployed via the Serverless framework
RDS Database Queries Running queries locally against an RDS database
Neptune Graph Database Running queries locally against a Neptune Graph database
Lambda Event Filtering Lambda event source filtering with DynamoDB and SQS
Glacier & S3 select queries Using Glacier API and running S3 Select queries locally
Cloudwatch Metrics alarm Triggering a Cloudwatch metrics alarm based on a failing Lambda
EC2 with Docker backend Running EC2 instances with Docker backend
QLDB ledger queries Running queries locally against a QLDB ledger
Cognito with JWT Running Cognito authentication and user pools locally
Transfer API with S3 Using the Transfer API to upload files to S3
Codecommit with Git repository Using the Codecommit API to create and push to a Git repository
Lambda Mounting and Debugging Debugging Lambda functions locally
IAM Policy Enforcement Enforcement of IAM policies when working with local cloud APIs
Lambda Hot Reloading Hot reloading Lambda functions locally
IoT Basics Usage of IoT APIs locally
REST API using Chalice Deploying a REST API using the Chalice framework
ECS ECR Container application Pushing Docker images to ECR and running them locally on ECS
Athena queries over S3 Running Athena queries over S3 files locally
Terraform resources Deploying various AWS resources via Terraform
Lambda Function URLs Invoking Lambda functions via HTTP(s) URLs
Sagemaker inference Creating & invoking a Sagemaker endpoint locally with MNIST dataset
MSK with Glue Schema Registry Use of MSK, Glue Schema Registry, Glue ETL, and RDS
AppSync GraphQL Deploying a GraphQL API using AppSync
Lambda XRay tracing Using Lambda XRay tracing locally
Mediastore Uploads Using MediaStore API locally
Serverless Lambda Layers Using Lambda layers locally deployed via the Serverless framework
Java Notification App Notification app using AWS Java SDK, SNS, SQS, SES, deployed via CloudFormation
Lambda Container images Deploying Lambda functions as container images
Glue crawler with RedShift Glue Crawler to populate the Glue metadata store with the table schema of RedShift database tables
API Gateway custom domain Using API Gateway v2 endpoints using custom domain names, deployed via the Serverless framework
CDK resources Deploying various AWS resources via CDK
Glue for ETL jobs Using Glue API to run local ETL jobs
Message Queue broker Using MQ API to run local message queue brokers
ELB Load Balancing Using ELBv2 Application Load Balancers locally, deployed via the Serverless framework
Reproducible ML Train, save and evaluate a scikit-learn machine learning model using AWS Lambda and S3

Checking out a single sample

To check out a single sample, you can use the following commands:

mkdir localstack-samples && cd localstack-samples
git init
git remote add origin -f [email protected]:localstack/localstack-pro-samples.git
git config core.sparseCheckout true
echo <LOCALSTACK_SAMPLE_DIRECTORY_NAME> >> .git/info/sparse-checkout
git pull origin master

The above commands use sparse-checkout to only pull the sample you are interested in. You can find the name of the sample directory in the table above.

localstack-pro-samples's People

Contributors

ackdav avatar alexrashed avatar baermat avatar bentsku avatar calvernaz avatar dependabot[bot] avatar dfangl avatar giograno avatar harshcasper avatar joe4dev avatar lashd avatar lukqw avatar pandomic avatar silv-io avatar snhardin avatar steffyp avatar thrau avatar viren-nadkarni avatar whummer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.