Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Build a Serverless Machine Learning Bot


In this tutorial, you will build a serverless bot using Slack and Amazon Web Services, including AWS Lambda, Amazon SageMaker, SQS, and API Gateway. The bot will help you classify commercial aircraft found in images.


In this tutorial you will perform the following tasks:

  • 1. Aircraft classifier - In this lab you will use Amazon SageMaker to train an aircraft classification model and AWS Lambda to build an interface for your Amazon SageMaker endpoint.

  • 2. Aircraft detector - In this lab you will use Amazon Rekognition to detect aircraft and create and AWS Lambda to interact with Rekognition.

  • 3. Request handler - In this lab you will use AWS Lambda and SQS to queue and process classification requests

  • 4. Request dispatcher - In this lab you will use Amazon API Gateway and AWS Lambda to create a public interface for your aircraft classifier

  • 5. Slack bot - In this lab you will create a Slack bot that allows you to send request to your aircraft classify

  • 6. Cleanup - In this lab you will tear down all AWS resources created during this tutorial.


  • AWS account
  • Slack account

Note: For this tutorial you will be creating and using AWS resources including Amazon S3, SageMaker, Lambda, SQS, and API Gateway. All AWS resources must be created in the same AWS region.

For an up-to-date list of services and supported regions, see

You can’t perform that action at this time.