Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Amazon OpenSearch Service: High Level Constructs for ColdStorage Options #29366

Closed
2 tasks
Aman199825 opened this issue Mar 6, 2024 · 3 comments · Fixed by #29387 · May be fixed by NOUIY/aws-solutions-constructs#98 or NOUIY/aws-solutions-constructs#99
Closed
2 tasks
Labels
@aws-cdk/aws-opensearch Related to the @aws-cdk/aws-opensearchservice package effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2

Comments

@Aman199825
Copy link

Describe the feature

The OpenSearch Team allows customers to configure Cold Storage options on their cluster which is a cost efficient way to store infrequently and historical data https://docs.aws.amazon.com/opensearch-service/latest/developerguide/cold-storage.html

The CFN support for this feature is already there please refer: CFN Docs link for ColdStroageOptions

Use Case

he general recommendation is to use high level constructs and due to lack of High level construct for this feature, the CDK template needs to be migrated to use CFN constructs if there is a need to Create an OpenSearchDomain with ColdStorageOptions. This serves as a hinderance to the adoption of the ColdStorageOptions feature for AWS OpenSearch Domains.

Proposed Solution

Add a seperate field for ColdStorageOptions in the existing Domain CDK construct refer below
const domain = new Domain(this, 'Domain', {
version: EngineVersion.OPENSEARCH_1_0,
capacity: {
masterNodes: 2,
warmNodes: 2,
warmInstanceType: 'ultrawarm1.medium.search',
},
ColdStorageOptions: {
Enabled: true
}

});

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.84.0

Environment details (OS name and version, etc.)

macOS Ventura 13.4

@Aman199825 Aman199825 added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Mar 6, 2024
@github-actions github-actions bot added the @aws-cdk/aws-opensearch Related to the @aws-cdk/aws-opensearchservice package label Mar 6, 2024
@msambol
Copy link
Contributor

msambol commented Mar 6, 2024

I'll take this.

@pahud
Copy link
Contributor

pahud commented Mar 6, 2024

Thank you @msambol as always!

@pahud pahud added p2 effort/medium Medium work item – several days of effort and removed needs-triage This issue or PR still needs to be triaged. labels Mar 6, 2024
@mergify mergify bot closed this as completed in #29387 Mar 8, 2024
mergify bot pushed a commit that referenced this issue Mar 8, 2024
Closes #29366. 

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Copy link

github-actions bot commented Mar 8, 2024

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
@aws-cdk/aws-opensearch Related to the @aws-cdk/aws-opensearchservice package effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2
Projects
None yet
3 participants