https://github.com/codica2/reactivesearch-aws-es-proxy
Simple lambda created for connection your Reactivesearch with AWS Elasticsearch.
https://github.com/codica2/reactivesearch-aws-es-proxy
aws-elasticsearch elasticsearch nodejs proxy-server reactivesearch secure
Last synced: 9 months ago
JSON representation
Simple lambda created for connection your Reactivesearch with AWS Elasticsearch.
- Host: GitHub
- URL: https://github.com/codica2/reactivesearch-aws-es-proxy
- Owner: codica2
- Created: 2020-07-17T10:35:37.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-17T10:36:06.000Z (almost 6 years ago)
- Last Synced: 2025-05-17T06:41:00.025Z (12 months ago)
- Topics: aws-elasticsearch, elasticsearch, nodejs, proxy-server, reactivesearch, secure
- Language: JavaScript
- Homepage:
- Size: 15.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [Reactivesearch -> Amazon Elasticsearch Service] proxy server
Simple lambda created for connection your Reactivesearch with AWS Elasticsearch.
## Usage
1. Clone this repo:
```
git clone https://github.com/codica2/reactivesearch-aws-es-proxy
```
2. Install dependencies:
```bash
yarn
```
3. Change `app.js` for your needs
4. Install [The Serverless Framework](https://www.npmjs.com/package/serverless):
```bash
yarn global add serverless
```
5. Setup credentials for the serverless framework:
```bash
serverless config credentials --provider aws --key ACCESS_KEY --secret SECRET_KEY
```
6. Change `serverless.yml` for your needs
7. Deploy to AWS lambda
```bash
serverless deploy
```
## List of ENV variables used
```
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
```
## About Codica
[](https://www.codica.com)
We love open source software! See [our other projects](https://github.com/codica2) or [hire us](https://www.codica.com/) to design, develop, and grow your product.