document-understanding-solution icon indicating copy to clipboard operation
document-understanding-solution copied to clipboard

Allow control over the size of the Elasticsearch instance when deploying

Open MuazOthman opened this issue 4 years ago • 1 comments

Is your feature request related to a problem? Please describe. As of now, the solution fixes the instance size for ES to m5.large.elasticsearch, which is larger than what we need in our use case. This can drive up the base monthly cost.

Describe the feature you'd like Set the value of instanceType based on the value of a new CloudFormation template parameter (a new prop in TextractStackProps) https://github.com/awslabs/document-understanding-solution/blob/b375268de159ea52296a3747506eb154962b4a2f/source/lib/cdk-textract-stack.ts#L304

MuazOthman avatar Nov 25 '20 18:11 MuazOthman

Thanks for reaching out. I will bring it up with the team and post an update in the coming weeks.

alexchirayath avatar Dec 04 '20 22:12 alexchirayath

@MuazOthman, as a builder we always face a dilemma between how to much to abstract and the features to expose. Sometime too many options also makes the deployment confusing. So to lean towards simplicity this was not an option that was directly exposed as a parameter. Having said that, I have added this to the backlog, we plan to address this in the forthcoming releases. Closing this ticket for now.

knihit avatar Mar 07 '23 18:03 knihit