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?

demandé il y a un an391 vues
1 réponse
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
INGÉNIEUR EN ASSISTANCE TECHNIQUE
Rajat_C
répondu il y a un an
AWS
EXPERT
vérifié il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions