Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

Implementing an Elasticsearch Backed Search Microservice

In this lab, we will create a Lambda function which will connect the provided web interface to an Elasticsearch domain to provide search functionality. **Note:** This lab can have extended launch times (10 to 30 minutes).

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Advanced
Duration
Clock icon 1h 30m
Published
Clock icon Apr 20, 2021

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Investigate the Lab Environment

    With the provided information, log in to the AWS web console and look around at the provided resources. You should find:

    • An Elasticsearch domain
    • A Franken_Search Lambda function
    • An S3 bucket containing the files for the Frankenwords site
    • An API Gateway configured to trigger the Franken_Search Lambda function
  2. Challenge

    Update the Lambda Function

    Update the Franken_Search function to forward an appropriately formatted query to the provided Elasticsearch domain and return a JSON string with the required information.

    The JSON object, which is expected by the frontend site, should be structured as follows:

    {
        "total_hits": integer,
        "chapter_count": integer,
        "total_score": float,
        "hits": [
            {
                "location": string,
                "score": float
            }
        ]
    }
    
  3. Challenge

    Test Frankenwords!

    Test the Frankenwords site to ensure functionality, and learn how often words and phrases are used in Mary Shelley's Frankenstein!

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans