As a first step, we should create the search domain. A search domain is a cluster of machines in which we store our documents.
To create a search domain, first, we need to navigate to the CloudSearch section of the AWS Console and click on the Create a New Domain button.
After pressing this button, a new wizard will launch that will walk you through the new search domain creation. You should specify a name for your search domain, and in our case, we name it serverlessbook:
On the same screen, you should also specify an instance type. So far, we never had to specify any instance type, but CloudSearch is not fully serverless, so you will be launching virtual machines under the hood. CloudSearch has a family of instances starting from search.m1.small to search.m3.2xlarge. These instances have different hardware configurations and different pricing per...