Building a Serverless Chatbot with AWS Lex
April 30th, 2018
Fernando Medina Corey
In this course, you will build out a serverless alerting chatbot application using AWS. We'll learn and walk through everything required to develop and deploy the chatbot using AWS Lambda, Amazon Lex and a few other AWS services.
You will work with AWS services that include AWS Lambda, Amazon Lex, AWS Simple Email Service, and AWS Simple Notification Service to create a chatbot that allows imaginary employees to trigger alerting procedures from a messaging platform. You will also see how you could integrate your chatbot application with the Slack messaging platform.
In this video, we'll take a quick look at what we'll be doing in the course and why you might want to take it. By the end of the video, you'll understand the purpose and content inside of this course and be able to make an informed decision about if it is the right fit for your skills and experience.
About the Training Architect
In this video, you'll learn a little bit about the course author - Fernando Medina Corey.
Course Features and Tools
In this video, we'll look at the tools Linux Academy offers when you're taking our courses. We'll look at tools ranging from the Linux Academy Community to flashcards, and the course scheduler.
AWS Free Tier: Usage Tracking and Billing Widget
This video gives you a walkthrough on how to use the AWS Free Tier Tracking and Billing Widget for you own AWS Account!
AWS Chatbot Fundamentals
What Are We Building
In this video, we'll look at the Lex chatbot project we'll be making in this course. You'll understand exactly what's going to go into the process of making this bot as well as some context around why you might make a bot like this using Lex and Serverless technologies.
In this video, we'll review the application architecture for the project we are building. You'll learn the specific application components and services we'll use inside of our Lex chatbot and how they'll fit together in our final product.
QUIZ: Project Architecture for Building a Serverless Alerting Chatbot on AWS with Lex
Essential Concepts and Services
In this lesson, we'll learn about all the relevant concepts and terminology we need when using Amazon Lex. This will include concepts like Bots, Intents, Slots, Slot Types, Lex Validation, and other concepts related to making our own bot.
We'll learn some basic concepts surrounding AWS Lambda in order to know how to use it effectively with Amazon Lex. This will include concepts ranging from AWS Lambda Functions and the settings we can use with them, to the reasons we might choose to use the AWS Lambda service.
We'll take a very brief look at the AWS Simple Email Service and how we can use it in our chatbot application. You'll learn the basics surrounding the Simple Email Service as well as some specific areas to be aware of as we construct our Lex Chatbot.
We'll take a very brief look at the AWS Simple Notification Service and how we can use it in our chatbot application. Specifically, we'll talk about how SNS can be used in our application to send SMS messages and how we will send those messages.
QUIZ: Essential Concepts and Services for Building a Lex bot with AWS
Building Our Chatbot
Setting up Our Environment
Resources and Demo Code
In this video, we'll look at how we can find the demo code for this course. Specifically, we'll look at how we can get the relevant code files from Github at a specific URL for this course, and how we can find the code for each section of the lab later in the course.
Creating an Appropriate IAM Role
In this video, we'll learn how to create the AWS IAM role that is needed to attach to our Lambda functions in our own environment. This will help you to create an IAM role on your own should you want to create a chatbot outside of the Linux Academy lab environments.
Lex Programming Concepts
In this video, we'll review some concepts you'll need to know when writing code that interacts with Amazon Lex. Specifically, we'll look at the input format of events (from Amazon Lex to AWS Lambda) and the response format (from AWS Lambda to Amazon Lex) that will need to be understood to effectively program with Amazon Lex.
Review Project Code
In this video, we'll look at the project code for this course and point out where you can find some of the relevant programming concepts being used.
In this video, we'll look at some possible next steps for you after you finish the course! I'll suggest that you build your own custom Lex bot, learn some more serverless concepts and tools, and consider taking other AWS courses.
Now that you have completed this course, get recognized for your accomplishment. Connect with Anthony James on LinkedIn and post your certificate of completion with the world.