How to use existing OpenSearch reserved instance while creating an OpenSearch domain in Terraform?

0

Hi AWS community, I'm working on creating an OpenSearch domain using Terraform and would like to use an existing reserved instance to save on costs. However, I'm not sure how to specify this in my Terraform script. Can someone provide guidance on how to use an existing OpenSearch reserved instance when creating a new OpenSearch domain with Terraform?

gefragt vor einem Jahr408 Aufrufe
1 Antwort
0

Hello,

Once you have purchased a reserved instance, your OpenSearch domain using same instance type will start getting billing discounts without any changes in OpenSearch domain.

Similarly, you don’t have to specifically specify the reserved instance while creation of OpenSearch domain. The billing discount is automatically applied to the instances you have reserved.

Amazon OpenSearch RIs are not flexible; they only apply to the exact instance type that you reserve. For example, a reservation for eight c5.2xlarge.search instances does not apply to sixteen c5.xlarge.search instances or four c5.4xlarge.search instances.

Note: OpenSearch reserved instances are different from EC2 reserved instances and are purchased from AWS OpenSearch console/CLI/SDK. Please refer to below document for reference.

[+] Reserved Instances in Amazon OpenSearch Service - https://docs.aws.amazon.com/opensearch-service/latest/developerguide/ri.html

[+] https://aws.amazon.com/opensearch-service/pricing/#Reserved_Instance_pricing

AWS
SUPPORT-TECHNIKER
Rajat_C
beantwortet vor einem Jahr
AWS
EXPERTE
überprüft vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen