By using AWS re:Post, you agree to the Terms of Use

Which Opensearch instance type to choose for a new webapplication with little data?

0

Amazon recommends running an opensearch domain that contains 3 regular nodes and 3 master nodes distributed accross 3 AZ zones. The lowest instance type that is still suitable for a production environment is the t3 medium.search instance type.

I've run this setup for about 1.5 days, using t3 small.search instead of medium. When i looked at the bill afterwards i could see that running such an instance for merely 1.5 days already costs 9 dollars. That's way too expensive for me. According to the amazon cost calculator the monthly cost for this setup would have been well over 350 dollars.

My web application will use the open search server only for serving autocomplete suggestions and finding documents whose coordinates reside within a certain geographical area. When the webapplicatoin is launched the open search server will start out with only 5 indexes containing only a small number of documents, no more then 200 mb in total. Of these only one index is used to preform geospatial queries on. I don't think i need a t3 medium instance for this.

So my question is: With what kind of open search instance can i start out with? The setup needs to be economical because it will take a while before my web application starts making money. I was thinking about setting up a t2 micro.search domain service with 2 micro master instances and 2 micro worker instances. That would cost me about 50 dollars a month in total. Could this be a good setup to start with? If so then i would like to know how i can setup a domain that uses t2 micro.search instances. When i go to the domain creation page in my aws console i'm not able to select t2 micro.search from the instance type list. The smallest i can select is t3 small.search but thats already too expensive for me because i want to run nodes in atleast two availability zones. I could opt for running only one t3 small.search master node and one worker node, which would cost 50 dollars a month as well, but then the domain service is no longer highly available. If the availability zone it sits in crashes then i can't serve autocomplete suggestions anymore, nor can i return documents based on their coordinates.

I'd love to hear your opinions on this.

Thank you