Simple lambda created for connection your Reactivesearch with AWS Elasticsearch.
- Clone this repo:
git clone https://github.com/codica2/reactivesearch-aws-es-proxy
- Install dependencies:
yarn
-
Change
app.js
for your needs -
Install The Serverless Framework:
yarn global add serverless
- Setup credentials for the serverless framework:
serverless config credentials --provider aws --key ACCESS_KEY --secret SECRET_KEY
-
Change
serverless.yml
for your needs -
Deploy to AWS lambda
serverless deploy
APP_URL // Your app url
APP_AWS_ES_REGION // AWS Elasticsearch region
APP_AWS_ES_DOMAIN // AWS Elasticsearch domain
APP_AWS_ACCESS_KEY_ID // AWS_ACCESS_KEY_ID for role with access to AWS Elasticsearch
APP_AWS_SECRET_ACCESS_KEY // AWS_SECRET_ACCESS_KEY for role with access to AWS Elasticsearch
We love open source software! See our other projects or hire us to design, develop, and grow your product.