Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/indyaah/personal-capital
https://github.com/indyaah/personal-capital
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/indyaah/personal-capital
- Owner: indyaah
- Created: 2019-06-18T06:25:54.000Z (over 5 years ago)
- Default Branch: develop
- Last Pushed: 2020-06-18T16:18:52.000Z (over 4 years ago)
- Last Synced: 2024-11-07T18:50:55.995Z (about 2 months ago)
- Language: Java
- Size: 57.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Personal Capital Challenge
## Challnege 1:
##### Ingest a CSV file into ElasticSearch and expose an API Gateway endpoint for allowing users to search based on certain fields.### Major Infrastructure Components
1. AWS ElasticSearch Service (ElasticSearch v6.7.0) : Managed search engine service
2. AWS Api Gateway
3. AWS Lambda
4. AWS EC2
5. API Gateway# Building
1. Use `infra/build.sh` to setup AWS environment, you'd need AWS credentials of a user with cloudformation permissions.
2. The script should setup everything except for API Gateway and Lambda for test
3. For lambda:
1. `mvn clean package` from root
2. `sam package
--template-file template.yaml
--output-template-file packaged.yaml
--s3-bucket BUCKET_NAME`
3. `aws cloudformation deploy --template-file packaged.yaml --stack-name test-2 --capabilities CAPABILITY_IAM --region us-west-2`## Challenge 2:
##### Predict returns on investment using monte carlo simulattion
1. `mvn clean package` from root
2. `java -jar simulator/target/simulator-1.0.0.jar`