O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Learning AWS IoT

Book Description

Learn to use AWS IoT services to build your connected applications with the help of this comprehensive guide.

About This Book

  • Gets you started with AWS IoT and its functionalities
  • Learn different modules of AWS IoT with practical use cases.
  • Learn to secure your IoT communication

Who This Book Is For

This book is for anyone who wants to get started with the AWS IoT Suite and implement it with practical use cases. This book acts as an extensive guide, on completion of which you will be in a position to start building IoT projects using AWS IoT platform and using cloud services for your projects.

What You Will Learn

  • Implement AWS IoT on IoT projects
  • Learn the technical capabilities of AWS IoT and IoT devices
  • Create IoT-based AWS IoT projects
  • Choose IoT devices and AWS IoT platforms to use based on the kind of project you need to build
  • Deploy AWS Greengrass and AWS Lambda
  • Develop program for AWS IoT Button
  • Visualize IoT AWS data
  • Build predictive analytics using AWS IoT and AWS Machine Learning

In Detail

The Internet of Things market increased a lot in the past few years and IoT development and its adoption have showed an upward trend. Analysis and predictions say that Enterprise IoT platforms are the future of IoT. AWS IoT is currently leading the market with its wide range of device support SDKs and versatile management console.

This book initially introduces you to the IoT platforms, and how it makes our IoT development easy. It then covers the complete AWS IoT Suite and how it can be used to develop secure communication between internet-connected things such as sensors, actuators, embedded devices, smart applications, and so on. The book also covers the various modules of AWS: AWS Greengrass, AWS device SDKs, AWS IoT Platform, AWS Button, AWS Management consoles, AWS-related CLI, and API references, all with practical use cases.

Near the end, the book supplies security-related best practices to make bi-directional communication more secure. When you've finished this book, you'll be up-and-running with the AWS IoT Suite, and building IoT projects.

Style and approach

This book is a step-by-step practical guide that helps you learn AWS IoT quickly.

Downloading the example code for this book You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

Table of Contents

  1. Preface
    1. Who this book is for
    2. What this book covers
    3. To get the most out of this book
      1. Download the example code files
      2. Download the color images
      3. Conventions used
    4. Get in touch
      1. Reviews
  2. Getting Started with AWS IoT
    1. Introducing AWS IoT
    2. Introducing IoT devices and platforms for AWS IoT
      1. Arduino
      2. Raspberry Pi
      3. BeagleBone Black and Green
      4. IoT boards based on ESP8266 MCU
      5. IoT boards based on ESP32
      6. IoT boards based on TI CC32XX MCU
    3. AWS IoT Management Console
    4. AWS IoT Device SDK
    5. Setting up AWS IoT for your IoT project
      1. Creating an AWS account
      2. Selecting an IoT device
      3. Creating a security certificate
      4. Configuring security access for AWS IoT
    6. Setting up the development environment
    7. Building an AWS IoT program
      1. How to work with the program?
    8. Testing all
    9. Summary
  3. Connecting IoT Devices to AWS IoT Platform
    1. Introducing a connectivity model for AWS IoT
    2. Selecting your IoT devices for AWS IoT
    3. Configuring IoT devices to AWS IoT
    4. AWS IoT development for Raspberry Pi 3
    5. AWS IoT development for Arduino
    6. AWS IoT development for boards based on ESP32
    7. Building an IoT project with AWS IoT
      1. Configuring AWS IoT
      2. Developing the Arduino program
      3. Developing a sensor subscriber
      4. Testing
    8. Summary
  4. Optimizing IoT Computing Using AWS Greengrass
    1. Introducing AWS Greengrass
    2. Exploring supported IoT devices for AWS Greengrass
    3. Deploying AWS Greengrass on Raspberry Pi 3
      1. Preparing Raspberry Pi 3
      2. Configuring Raspberry Pi 3 and IoT devices to AWS IoT
      3. Configuring AWS Greengrass security
      4. Installing AWS Greengrass on Raspberry Pi
    4. Accessing AWS Greengrass
    5. Building IoT projects with AWS Greengrass
      1. Preparing runtime libraries on AWS Greengrass Core
      2. Creating AWS Lambda 
      3. Deploying AWS Lambda with AWS Greengrass
      4. Testing Lambda from Greengrass
    6. Summary
  5. Building Local AWS Lambda with AWS Greengrass
    1. Introducing AWS Lambda
      1. Creating the AWS Lambda function
      2. Testing the AWS Lambda function
      3. Publishing the AWS Lambda function
      4. Configuring AWS Lambda security
      5. Invoking the AWS Lambda function
    2. Deploying AWS Lambda with AWS Greengrass on Raspberry Pi 3
    3. Accessing AWS Lambda from IoT devices
    4. Building IoT projects with AWS Lambda and AWS Greengrass
      1. Accessing local resources
        1. Developing local AWS Lambda 
        2. Configuring AWS Greengrass Core
        3. Testing the demo
      2. Interacting with things within a group
    5. Summary
  6. Expanding IoT Capabilities with AWS IoT Button
    1. Introducing AWS IoT Button
    2. Reviewing a project scenario for AWS IoT Button
    3. Setting up AWS IoT Button
      1. Registering AWS IoT Button to AWS IoT
      2. Connecting AWS IoT Button to a network
      3. Testing
    4. Interaction between AWS IoT Button and IoT devices
    5. Building your IoT project with AWS IoT Button
      1. Configuring AWS DynamoDB
      2. Building Lambda and its rule
      3. Building a Lambda program
      4. Testing using IoT Button
    6. Summary
  7. Visualizing AWS IoT Data
    1. Introducing IoT massive data
    2. Introducing brief data visualization
    3. Data visualization in the web
      1. Data-Driven Documents (D3)
      2. Chart.js
      3. Flot
    4. Consuming real-time sensor data in a web application
    5. Visualizing data from AWS IoT
      1. Configuring AWS IoT
      2. Configuring AWS Cognito
      3. Configuring AWS IAM
      4. Developing a sensor publisher
      5. Developing data visualization from AWS IoT
      6. Running the project
    6. Introducing Amazon QuickSight
    7. Consuming sensor data from Amazon QuickSight
    8. Building data visualization for your IoT projects
    9. Summary
  8. Building Predictive Analytics for AWS IoT
    1. Introducing AWS Machine Learning services
    2. Making your sensor speak
      1. Introducing Amazon Polly
      2. Developing a program for Amazon Polly
    3. Integrating Amazon Echo into your IoT projects
      1. Preparing the project
      2. Adding user role
      3. Configuring AWS IoT
      4. Creating AWS Lambda
      5. Building Amazon Alexa skills
      6. Testing the project
    4. Making image and video analysis
      1. Introducing Amazon Rekognition
      2. Working with Pi Camera on Raspberry Pi
      3. Uploading images to Amazon S3
      4. Performing image analysis
    5. Make predictive analytics for IoT data
    6. Build a simple predictive analytics for your IoT project
      1. Defining a machine learning model
      2. Preparing data
      3. Building a machine learning model
      4. Evaluating and testing the model
    7. Summary
  9. Securing AWS IoT
    1. Introducing IoT security
    2. Understanding IoT risks
    3. Introducing AWS IoT identity and security
    4. Securing communication between AWS IoT and IoT devices
    5. Authentication and authorization
    6. Managing AWS IAM
    7. Building a secure AWS IoT for your IoT project
      1. Designing and implementing
      2. Performing regular security testing
      3. Working with security best practices
    8. Summary
  10. Other Books You May Enjoy
    1. Leave a review - let other readers know what you think