In this chapter, we went through the requirements that are needed when designing an Elastic Stack using Elasticsearch, Logstash, and Kibana. For Elasticsearch, we determined that the minimum CPU requirement is two vCPUs for small setups, and the CPU speed should be kept above 2 GHz. If these minimum requirements are not met, Elasticsearch will take longer to start up and will perform more slowly. This manifests as a decrease in the number of indexes per second and an increased search latency, both of which are things that need to be avoided in order for us to be able to take full advantage of the near-instant searches that Elasticsearch provides.
Memory sizing is probably the most important specification when designing an Elasticsearch setup. Part of the system memory will be used for the filesystem cache (also known as the page cache), which helps with searches and indexes...