Slides from my talk at the Linuxing in London meetup on August 30
Size: 464.32 KB
Language: en
Added: Aug 30, 2016
Slides: 12 pages
Slide Content
Getting Started with AWS IoT
on the Raspberry Pi
Ian Massingham
@IanMmmm
Chief Evangelist (EMEA)
Amazon Web Services
AGENDA FOR THIS SHORT TALK
•What is AWS IoT?
•Why is the Raspberry Pi a good option for IoT prototyping?
•Things you might (will) need
•Setting up
•Examples + demos
•Further reading
AWS IoT: simplify and accelerate IoT development
Amazon SNS
Mobile Push
and Notifications
Amazon
DynamoDB
Predictable and
Scalable NoSQL
Data Store
AWS Lambda
Run Code in
Response to Events
Amazon Redshift
Petabyte-Scale
Data Warehouse
…and more
Amazon
API Gateway
Build, Deploy, &
Manage APIs
Amazon Kinesis
Streaming Analytics
Amazon Cognito
User Identity and
Data Synchronization
AWS IoT
Connect Devices to
the Cloud
AWS IoT
“Securely connect one or one billion devices to AWS,
so they can interact with applications and other devices”
AWS IoT
WHY THE PI?
•Full Linux environment
•Supports all AWS IoT SDKs
•Run git directly on the device
•Sync/Deploy code with github
•Lots of electronics kits/hats available
•LoRaNET
•GPS
•Cellular Radio
HARDWARE YOU WILL (& MIGHT) NEED
•A Raspberry Pi
•Electronics Kit
•Try the SunFounder 37 modules Sensor Kit for Raspberry
Pi 3, 2, Model B+ with 40-Pin GPIO Extension Board
•http://www.amazon.co.uk/dp/B00P66XRNK
•Example tutorial
•Raspberry Pi Sense Hat (optional fun)
•https://www.raspberrypi.org/products/sense-hat/
SETTING UP FOR GPIO/SENSE HAT
Your own electronics/sensor build
C (for embedded C)
http://wiringpi.com
Python Wrapper Module for WiringPI
https://github.com/WiringPi/WiringPi-Python
For the Sense Hat
Python Module
https://github.com/RPi-Distro/python-sense-hat
SETTING UP FOR AWS IOT
Use the AWS Console to create your device
Download the required crypto materials & save the C header file contents with
your endpoint, cert, and key details
Download & set up your chosen AWS IoT SDK
Get them at : https://aws.amazon.com/iot/sdk/
Building the C SDK on the Raspberry Pi requires the CppUTest library from:
https://github.com/cpputest/cpputest/releases/tag/v3.6
Start with the sample applications that come SDKs
EXAMPLES & DEMOS
Emulating the AWS IoT Button (C++)
Controlling the Sense Hat via AWS IoT Device Shadow (Python)
https://github.com/ianmas-aws/PiPyIoT
PRICING
•Pay as you go. No minimum fees.
•$5 per million messages published to, or delivered
by, AWS IoT.
•AWS IoT does not charge for deliveries to the
following AWS services: Amazon S3, Amazon
DynamoDB, AWS Lambda, Amazon Kinesis,
Amazon SNS, and Amazon SQS.
•Free Tier: 250,000 messages per month for 12
months.
AWS IoT
Thank You + Any Questions
Ian Massingham
@IanMmmm
Chief Evangelist (EMEA)
Amazon Web Services
aws.amazon.com/iot