Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Amazon Web Services

Lab - Integrate Amazon Bedrock Foundation Models into a Serverless App

Amazon Web Services and Amazon via AWS Skill Builder

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it

This lab provides you hands-on experience in building a serverless backend, integrating an LLM service, and connecting it to a frontend application, enabling seamless communication between the different layers of a modern web application.


Objectives

  • Build an AWS Lambda function to invoke the Amazon Bedrock LLM service and generate flash cards from study notes in a JSON format suitable for the frontend.
  • Create an API Gateway REST API with a gateway proxy method and configure CORS settings to enable communication between the frontend and backend.
  • Integrate the frontend application with the backend by updating the API endpoint URL in the frontend source code.
  • Test the end-to-end application by submitting study notes and verifying the generated flash cards, gaining practical experience in building a serverless backend with an LLM service and connecting it to a frontend application.


Prerequisites

  • Basic understanding of Amazon API Gateway
  • Basic understanding of AWS Lambda
  • Familiarity with Python


Outline

Task 1: Set up and launch the frontend application

Task 2: Request Amazon Bedrock model access

Task 3: Create a Lambda function to generate flash cards

Task 4: Create an API Gateway REST API with a gateway proxy method

Task 5: Integrate the frontend application with the backend

Task 6: Test the end-to-end application

Reviews

Start your review of Lab - Integrate Amazon Bedrock Foundation Models into a Serverless App

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.