Skip to content

Latest commit

 

History

History
45 lines (41 loc) · 2 KB

README.md

File metadata and controls

45 lines (41 loc) · 2 KB

Fuzzy Movies

Lambda, Kinesis, Firehose, ElasticSearch, S3

Screenshot

This Hackathon project is an AWS app consisting of:

  • A data ingestion pipeline which allows adding movie data to an ElasticSearch index via:
    1. An AWS Lambda function, explosed via a fuction URL.
    2. The Lambda function sends the JSON payload to a Kinesis Data Stream.
    3. A Kinesis Firehose Delivery Stream forwards the data to an ElasticSearch domain.
  • A frontend / website which:
    • Has a simple search interface to search for movies in the database.
    • The HTML page uses a vanilla JS script to query data using a second Lambda function.
    • This Lambda function performs a fuzzy query on the movie index in the ElasticSearch cluster.

System Overview

System Overview

Setup

  1. Clone this repo and cd into its working directory
  2. Install the following tools:
  1. Start LocalStack in the foreground so you can watch the logs:
    docker compose up
    
  2. Open another terminal window and cd into the same working directory
  3. Create the resource and trigger the invocation of the lambda:
    ./run.sh
    

TODO: