Building Serverless Apps with AI Services on AWS

Building Serverless Apps with AI Services on AWS

3h 11mIntermediate2024-05-17

Authors

Marcia Villalba

Marcia Villalba

Software Engineer

Course details

Looking to pair the flexibility and efficiency of serverless architecture with the power of generative AI? In this course, instructor Marcia Villalba shows you how to build serverless applications using AI services on AWS. The course focuses on integrating various services such as Amazon AI Service, Amazon Bedrock, AWS SAM, AWS Step Functions, and EventBridge. Along the way, practice your new skills in real time with hands-on demos and projects, building an application that can transcribe a video, translate its subtitles to another language, and then generate a title and a video description using generative AI.

Note: This course is designed for AWS developers and architects. Prior experience with AWS is required.

Skills covered

Amazon Web Services (AWS)AmazonCloud ServicesCloud PlatformsCloud ComputingOne-Off

Concepts

Introduction

  • Serverless apps with AI services on AWS
  • What you should know
  • What you are going to build in this course

Introduction to AI

  • Introduction to AI
  • Introduction to Amazon AI Services
  • Introduction to Gen AI
  • Introduction to Amazon Bedrock
  • Challenges when building AI and Gen AI applications

Getting started with Serverless

  • What is serverless
  • Why serverless is great to build AI apps
  • Using Amazon Bedrock from serverless services

Infrastructure as code

  • The important role of infrastructure as code
  • Introducing AWS SAM
  • Installing and configuring AWS SAM
  • Getting started with the project

Introduction to Step Functions

  • Understanding Step Functions
  • Creating your first workflow in the AWS console
  • Creating a workflow as IaC
  • Introduction to ASL
  • Introduction to flow states
  • Step Functions integrations
  • Modifying the workflow with simple integration
  • Challenge - Modify the state machine to add an integration to AI service
  • Solution - Modify the state machine to add an integration to AI service

Building a Workflow with AI

  • Modifying the existing state machine to use Amazon Bedrock
  • Challenge - Integrate with Amazon Bedrock
  • Solution - Integrate with Amazon Bedrock
  • What is event-driven architecture
  • How to trigger a state machine when there is a new S3 file
  • How to send an email from the state machine
  • Challenge - Integrate to EventBridge event bus to send an event
  • Solution - Integrate to EventBridge event bus to send an event

Build a Chatbot with GenAI

  • What is an Amazon Bedrock agent
  • What you are going to build
  • Creating a Lambda function for the agent
  • Creating an Open API for the function
  • What is an Amazon Bedrock knowledge base
  • Creating a knowledge base
  • Creating an Amazon Bedrock agent
  • Challenge - Add another function to the agent
  • Solution - Add another function to the agent

Conclusion

  • What we built
  • Cleaning up the environment
  • Next steps
80,000 Toman