Creating AWS Cloud Search Service

Introduction

Amazon cloud search is a managed service in the Amazon cloud that helps you to manage, set up and scale a search solution for your website.

It also enables you to search a large collection of data such as web pages, forum posts, document files or any product information.

The main advantage of cloud searches is that you can quickly add search capabilities to your website and for that, you don't need to become a search expert or worry about hardware components like setup and maintenance.

So basically, you can use Amazon Cloud Search to index and search both kinds of structured data and plain text.

In Azure Cloud Search you can get two kind of search results one is JSON and another in XML format, sort and filter results based on field values and you can sort results alphabetically, numerically or according to custom expressions.

Let’s see how to create Amazon cloud search

  • Login to the console account.
  • Then click on Create a New Domain.
  • This is available in some of the few regions, it is not available in all the regions.

    AWS

  • After that give the domain name.
  • Desired instance Type and desired replication count remain default as it is.

    AWS

  • In the configuration index, you can upload sample files or you can fetch sample objects from Amazon S3 or get from DynamoDB so Amazon also provides you predefined configurations you can use that if you don’t have the configuration.

    AWS

  • Use default configuration.
  • Now, configure the index field according to the data so for default configuration you have some default index field.

    AWS

  • After that, you need to set the access policy rules to allow and block IP addresses.

    AWS

  • Review the configuration or information which you have configured.

    AWS

  • Then click on Confirm to create the domain.

    AWS
  • Once it is Active then we have to upload the documents to the domain which we have created.

    AWS
  • So, once it is active we can start uploading the document in the existing domain and also, we can upload the default available documents provided by Amazon.

    AWS
  • Now after this, click on Upload Documents.
  • Select the data which you want to upload so there are many ways from which you can upload the document ;one from the file disk, secondly from the Amazon object S3 , third from the Amazon Dynamo Db and, fourth from the Predefined data.
  • So in this case, we can choose the predefined data and upload the imdb default documents.

    AWS
  • So, on the next screen, you are uploading 5000 default documents.

    AWS
  • Now, click on Upload Documents.

    AWS
  • It's  successfully uploaded.

    AWS
  • After that, you can test in test search option.

    AWS

  • So, write 2018 in the search result input box and it will search the relevant content in the existing 5000 documents.
  • So, here is the search result as follows.

    AWS 

So, this is how you can create the Amazon cloud search for your website.


Similar Articles