- Create a elasticsearch domain on Amazon AWS
- Change the host config in client.js to your elasticsearch domain
- Clone and build this Lambda application and make zip package.
- Deploy
lambda-crawler.zip
from AWS Management Console.
git clone https://github.com/storyblok/lambda-crawler-aws-elasticsearch
cd lambda-crawler-aws-elasticsearch
npm install
npm run build
# lambda-crawler.zip