Learning AWS IoT
eBook - ePub

Learning AWS IoT

Agus Kurniawan

Share book
  1. 278 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Learning AWS IoT

Agus Kurniawan

Book details
Book preview
Table of contents
Citations

About This Book

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

Key Features

  • 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

Book Description

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.

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

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.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on ā€œCancel Subscriptionā€ - itā€™s as simple as that. After you cancel, your membership will stay active for the remainder of the time youā€™ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlegoā€™s features. The only differences are the price and subscription period: With the annual plan youā€™ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, weā€™ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Learning AWS IoT an online PDF/ePUB?
Yes, you can access Learning AWS IoT by Agus Kurniawan in PDF and/or ePUB format, as well as other popular books in Informatik & Cloud Computing. We have over one million books available in our catalogue for you to explore.

Information

Year
2018
ISBN
9781788394666
Edition
1

Building Predictive Analytics for AWS IoT

Machine learning is one of the potential technologies that has multiple benefits when applied to our business cases. In this chapter, you will learn various Amazon AWS services related to machine learning. Some demos will be explored using machine learning services from Amazon.
The following is a list of topics covered in this chapter:
  • Introducing AWS Machine Learning services
  • Making your sensor speak
  • Integrating Amazon Echo into your IoT projects
  • Making image and video analysis
  • Making predictive analytics for IoT data

Introducing AWS Machine Learning services

Machine learning is one of the subjects in computer science that describes how to teach computers to obtain the ability to learn without hardcoding in a program. More specifically, machine learning enables computers to learn from experiences such as data, information, and training results from experts.
All AWS Machine Learning services can be found at https://aws.amazon.com/machine-learning/. At the time of writing this book, AWS Machine Learning services are available in any region. Make sure that you change AWS region in order to enable AWS Machine Learning services:
In this chapter, we will explore some AWS Machine Learning services that are related to IoT topics.

Making your sensor speak

Suppose that you have deployed sensors at various locations. Those sensors perform monitoring to detect a specific purpose. When a sensor finds a thing that its looking for, a sensor device will send an alert to a command center. Some people probably stand by on that location. When an alert comes, the system can make a sound through a speaker.
Message-to-sound or text-to-speech is a field of speech technology that leverages machine learning. A system can convert text or message to human speech. In general, the scenario can be described in the following figure:
From the preceding figure, IoT device can perform sensing and send data to AWS. IoT device can send an alert message to AWS to inform to the command center. AWS can convert text message to sound message. Once a command center receives a sound message, it performs to generate sound through a speaker.
Amazon AWS provides a service that applies speech technology, named Amazon Polly. You will learn how to work with Amazon Polly and then access it from a program in the next sections.

Introducing Amazon Polly

Amazon Polly is one of the AWS services that enables your application such as IoT program to talk using lifelike speech. You can find this service at https://aws.amazon.com/polly/. You can see it in the following screenshot:
If you have an active Amazon account, you can access Amazon Polly at http://console.aws.amazon.com/polly/ through a browser. Currently, Amazon Polly provides two featuresā€”Text-to-Speech and Lexicons. You can test these features on the browser.
In order to test the Text-to-Speech feature, click on the Plain text tab and fill a text or message. Then, select the Voice model that you prefer. Once done, click on the Listen to speech button to listen to speech from the text/message:
In the next section, we will develop a program to access AWS Polly from Node.js.

Developing a program for Amazon Polly

In the previous section, we have access to the text-to-speech feature from Amazon Polly. In this section, we try to access it from a program. This is useful when you apply Polly on IoT devices such as Raspberry Pi:
  1. To access Amazon Polly, we need to prepare the account with privilege access for AWS Polly. First, you can access the AWS IAM dashboard on http://console.aws.amazon.com/iam/. Then, create a new user if you don't have it yet.
  1. Now you can configure your user to give permission to access Amazon Polly. Open your IAM user that is shown in the following screenshot. Then, click on the Add permissions button. Find AmazonPollyFullAccess policy and add it into your IAM user:
  1. Next, you shoul...

Table of contents