SlideShare a Scribd company logo
Pervasive System
Antonio Luciano
https://www.linkedin.com/in/antonio-luciano-b04bb915a/
antomc16@gmail.com
MASTER OF SCIENCE IN ENGINEERING IN COMPUTER SCIENCE
Year. 2017/2018
https://github.com/theanto
Amazon FreeRTOS Page 2
Amazon FreeRTOS Page 3
Amazon FreeRTOS Page 4
Amazon Services
• AWS Greengrass
• AWS IoT Core
• AWS IoT Device Management
Amazon FreeRTOS Page 5
The Amazon FreeRTOS Over-the-Air Update service enables you to:
•Digitally sign and encrypt firmware before deployment.
•Securely deploy new firmware images to a single device or a group
•Deploy firmware to devices, reset, or reprovisioned.
•Verify the authenticity and integrity of the new firmware after it's deployed to
devices.
•Monitor the progress of a deployment.
•Debug a failed deployment.
Amazon FreeRTOS Over-the-Air Updates
Amazon FreeRTOS Page 6
How to start
Amazon FreeRTOS Page 7
•STMicroelectronics STM32L4 Discovery kit IoT node
•Texas Instruments CC3220SF-LAUNCHXL
•NXP LPC54018 IoT Module
•Microchip Curiosity PIC32MZEF bundle
•ESP32-DevKitC & ESP-WROVER-KIT – (soon)
Amazon FreeRTOS Supported Hardware Platforms
Amazon FreeRTOS Page 8
• Ultra-low-power STM32L4 Series MCUs based on ARM® Cortex® -M4 core with 1
Mbyte of Flash memory and 128 Kbytes of SRAM, in LQFP100 package
• 64-Mbit Quad-SPI (Macronix) Flash memory
• Bluetooth® V4.1 module (SPBTLE-RF)
• Wi-Fi® module Inventek ISM43362-M3G-L44 (802.11 b/g/n compliant)
• High-performance 3-axis magnetometer (LIS3MDL)
• 3D accelerometer and 3D gyroscope (LSM6DSL)
• USB OTG FS with Micro-AB connector
• Arduino™ Uno V3
Important Key Features STM32L4 model B-L475E-IOT01A
Amazon FreeRTOS Page 9
Hands-on Example
Simple web echo client
Amazon FreeRTOS Page 10
• Log to the Amazon Console.
• Under Amazon FreeRTOS Device Software, choose Configure
download.
• Choose Download FreeRTOS Software.
• Under Software Configurations, find Connect to AWS IoT- ST, and
then choose Download.
Alternative source : https://github.com/aws/amazon-freertos
My source: https://github.com/theanto/amazon-freertos
Download the software
Amazon FreeRTOS Page 11
In the console, create your user and choose Add permissions.
Choose Attach existing policies directly.
In the search box, type:
1.AmazonFreeRTOSFullAccess
2.AWSIoTFullAccess
User and permissions
Amazon FreeRTOS Page 12
In the AWS IoT console choose Secure, choose Policies and create a policy.
In the Add statements section, choose Advanced mode.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "iot:Connect",
"Resource":"arn:aws:iot:<aws-region>:<aws-account-id>:*"
},
{
"Effect": "Allow",
"Action": "iot:Publish",
"Resource": "arn:aws:iot:<aws-region>:<aws-account-id>:*"
},
{
"Effect": "Allow",
"Action": "iot:Subscribe",
"Resource": "arn:aws:iot:<aws-region>>:<aws-account-id>:*"
},
{
"Effect": "Allow",
"Action": "iot:Receive",
"Resource": "arn:aws:iot:<aws-region>:<aws-account-id>:*"
}
]
}
Policies
Amazon FreeRTOS Page 13
This policy grants the following permissions:
•iot:Connect
Grants your device the permission to connect to the AWS IoT message broker.
•iot:Publish
Grants your device the permission to publish an MQTT message on the
freertos/demos/echo MQTT topic.
•iot:Subscribe
Grants your device the permission to subscribe to the freertos/demos/echo MQTT topic.
•iot:Receive
Grants your device the permission to receive messages from the AWS IoT message
broker.
Detail on policy
Amazon FreeRTOS Page 14
In the AWS IoT console go to Manage and then create a single Things in this way:
1.Type a name for your thing.
2.Add a certificate for your thing page (choose Create certificate).
3.Download your private key and certificate.
4.Choose Activate, because Certificates must be activated prior to use.
5.Choose Attach a policy to attach.
6.Choose the policy you just created and choose Register thing.
Things
Amazon FreeRTOS Page 15
1. Import the Amazon FreeRTOS Sample Code into the STM32 System Workbench
2. Copy your AWS IoT endpoint from the Endpoint text box. It should look like
<1234567890123>.iot.<us-east-1>.amazonaws.com.
3. In aws_clientcredential.h set clientcredentialMQTT_BROKER_ENDPOINT to your AWS
IoT endpoint.
The aws_clientcredential.h file have this constant:
• clientcredentialMQTT_BROKER_ENDPOINT: Your AWS IoT endpoint.
• clientcredentialIOT_THING_NAME: The AWS IoT thing for your board.
• clientcredentialWIFI_SSID: The SSID for your Wi-Fi network.
• clientcredentialWIFI_PASSWORD: The password for your Wi-Fi network.
• clientcredentialWIFI_SECURITY: The security type for your Wi-Fi network.
Software configuration
Amazon FreeRTOS Page 16
1. Go to :
<BASE_FOLDER>demoscommondevmode_key_provisioningCertificateConfigurationTool
CertificateConfigurator.html.
2. Under Certificate PEM file, choose the <ID>-certificate.pem.crt you downloaded from the AWS
IoT console.
3. Under Private Key PEM file, choose the <ID>-private.pem.key you downloaded from the AWS
IoT console.
4. Choose Generate and save aws_clientcredential_keys.h, and then save the file in
<BASE_FOLDER>demoscommoninclude. This overwrites the stub file in the directory.
Configure Your AWS IoT Credentials
Amazon FreeRTOS Page 17
In the AWS IoT console go to Test
In the Subscription topic text box, type freertos/demos/echo and then choose Subscribe to topic.
Running an example
Amazon FreeRTOS Page 18
That’s all

More Related Content

What's hot

End to End Guide Windows AutoPilot Process via Intune
End to End Guide Windows AutoPilot Process via IntuneEnd to End Guide Windows AutoPilot Process via Intune
End to End Guide Windows AutoPilot Process via Intune
Anoop Nair
 
Raspberry pi and AWS
Raspberry pi and AWSRaspberry pi and AWS
Raspberry pi and AWS
Faisal Mehmood
 
Security in Serverless world
Security in Serverless worldSecurity in Serverless world
Security in Serverless world
Yan Cui
 
The moment my site got hacked - WordCamp Sofia
The moment my site got hacked - WordCamp SofiaThe moment my site got hacked - WordCamp Sofia
The moment my site got hacked - WordCamp Sofia
Marko Heijnen
 
Wordpress security issues
Wordpress security issuesWordpress security issues
Wordpress security issuesDeepu Thomas
 
Skype Tutorial
Skype TutorialSkype Tutorial
Skype Tutorialmmancini19
 
AWS Toolkit for Visual Studio - Version 1
AWS Toolkit for Visual Studio - Version 1AWS Toolkit for Visual Studio - Version 1
AWS Toolkit for Visual Studio - Version 1Adron Hall
 
Network Interception - Write Swift codes to inspect network requests (even wi...
Network Interception - Write Swift codes to inspect network requests (even wi...Network Interception - Write Swift codes to inspect network requests (even wi...
Network Interception - Write Swift codes to inspect network requests (even wi...
Kenneth Poon
 
Aws project jenkins-build-server
Aws project jenkins-build-serverAws project jenkins-build-server
Aws project jenkins-build-server
saifam
 
Serverless - minimizing the attack surface
Serverless - minimizing the attack surfaceServerless - minimizing the attack surface
Serverless - minimizing the attack surface
Avi Shulman
 
Extending OnDemand with Atlassian Connect Add-ons
Extending OnDemand with Atlassian Connect Add-onsExtending OnDemand with Atlassian Connect Add-ons
Extending OnDemand with Atlassian Connect Add-onscolleenfry
 
Mike MacCana - Deploying your JS app in 2018
Mike MacCana - Deploying your JS app in 2018 Mike MacCana - Deploying your JS app in 2018
Mike MacCana - Deploying your JS app in 2018
OdessaJS Conf
 
Web Platform Installer Announcement
Web Platform Installer AnnouncementWeb Platform Installer Announcement
Web Platform Installer Announcement
Lauren Cooney
 
Microsoft certification exams 70 533
Microsoft certification exams 70 533Microsoft certification exams 70 533
Microsoft certification exams 70 533
adam_jhon
 
Automated Intrusion Detection and Response on AWS
Automated Intrusion Detection and Response on AWSAutomated Intrusion Detection and Response on AWS
Automated Intrusion Detection and Response on AWS
Teri Radichel
 
Steps to publish an application to azure service fabric
Steps to publish an application to azure service fabricSteps to publish an application to azure service fabric
Steps to publish an application to azure service fabric
Baskar rao Dsn
 
Sexy, Powerful, Exciting
Sexy, Powerful, ExcitingSexy, Powerful, Exciting
Sexy, Powerful, Exciting
Robert Senktas
 
HOW TO PROTECT YOUR WORDPRESS WEBSITE FROM HACKERS
HOW TO PROTECT YOUR WORDPRESS WEBSITE FROM HACKERSHOW TO PROTECT YOUR WORDPRESS WEBSITE FROM HACKERS
HOW TO PROTECT YOUR WORDPRESS WEBSITE FROM HACKERS
Elsner Technologies Pvt Ltd
 
Running WordPress on AWS
Running WordPress on AWSRunning WordPress on AWS
Running WordPress on AWS
James Monek
 

What's hot (19)

End to End Guide Windows AutoPilot Process via Intune
End to End Guide Windows AutoPilot Process via IntuneEnd to End Guide Windows AutoPilot Process via Intune
End to End Guide Windows AutoPilot Process via Intune
 
Raspberry pi and AWS
Raspberry pi and AWSRaspberry pi and AWS
Raspberry pi and AWS
 
Security in Serverless world
Security in Serverless worldSecurity in Serverless world
Security in Serverless world
 
The moment my site got hacked - WordCamp Sofia
The moment my site got hacked - WordCamp SofiaThe moment my site got hacked - WordCamp Sofia
The moment my site got hacked - WordCamp Sofia
 
Wordpress security issues
Wordpress security issuesWordpress security issues
Wordpress security issues
 
Skype Tutorial
Skype TutorialSkype Tutorial
Skype Tutorial
 
AWS Toolkit for Visual Studio - Version 1
AWS Toolkit for Visual Studio - Version 1AWS Toolkit for Visual Studio - Version 1
AWS Toolkit for Visual Studio - Version 1
 
Network Interception - Write Swift codes to inspect network requests (even wi...
Network Interception - Write Swift codes to inspect network requests (even wi...Network Interception - Write Swift codes to inspect network requests (even wi...
Network Interception - Write Swift codes to inspect network requests (even wi...
 
Aws project jenkins-build-server
Aws project jenkins-build-serverAws project jenkins-build-server
Aws project jenkins-build-server
 
Serverless - minimizing the attack surface
Serverless - minimizing the attack surfaceServerless - minimizing the attack surface
Serverless - minimizing the attack surface
 
Extending OnDemand with Atlassian Connect Add-ons
Extending OnDemand with Atlassian Connect Add-onsExtending OnDemand with Atlassian Connect Add-ons
Extending OnDemand with Atlassian Connect Add-ons
 
Mike MacCana - Deploying your JS app in 2018
Mike MacCana - Deploying your JS app in 2018 Mike MacCana - Deploying your JS app in 2018
Mike MacCana - Deploying your JS app in 2018
 
Web Platform Installer Announcement
Web Platform Installer AnnouncementWeb Platform Installer Announcement
Web Platform Installer Announcement
 
Microsoft certification exams 70 533
Microsoft certification exams 70 533Microsoft certification exams 70 533
Microsoft certification exams 70 533
 
Automated Intrusion Detection and Response on AWS
Automated Intrusion Detection and Response on AWSAutomated Intrusion Detection and Response on AWS
Automated Intrusion Detection and Response on AWS
 
Steps to publish an application to azure service fabric
Steps to publish an application to azure service fabricSteps to publish an application to azure service fabric
Steps to publish an application to azure service fabric
 
Sexy, Powerful, Exciting
Sexy, Powerful, ExcitingSexy, Powerful, Exciting
Sexy, Powerful, Exciting
 
HOW TO PROTECT YOUR WORDPRESS WEBSITE FROM HACKERS
HOW TO PROTECT YOUR WORDPRESS WEBSITE FROM HACKERSHOW TO PROTECT YOUR WORDPRESS WEBSITE FROM HACKERS
HOW TO PROTECT YOUR WORDPRESS WEBSITE FROM HACKERS
 
Running WordPress on AWS
Running WordPress on AWSRunning WordPress on AWS
Running WordPress on AWS
 

Similar to AmazonRTOS - Antonio Luciano

사물 인터넷을 위한 AWS FreeRTOS 소개 - 트랙1, Community Day 2018 re:Invent 특집
사물 인터넷을 위한 AWS FreeRTOS 소개 - 트랙1, Community Day 2018 re:Invent 특집사물 인터넷을 위한 AWS FreeRTOS 소개 - 트랙1, Community Day 2018 re:Invent 특집
사물 인터넷을 위한 AWS FreeRTOS 소개 - 트랙1, Community Day 2018 re:Invent 특집
AWSKRUG - AWS한국사용자모임
 
[NEW LAUNCH!] AWS IoT Device Tester: Enable Your Edge Devices for AWS IoT (IO...
[NEW LAUNCH!] AWS IoT Device Tester: Enable Your Edge Devices for AWS IoT (IO...[NEW LAUNCH!] AWS IoT Device Tester: Enable Your Edge Devices for AWS IoT (IO...
[NEW LAUNCH!] AWS IoT Device Tester: Enable Your Edge Devices for AWS IoT (IO...
Amazon Web Services
 
AWS re:Invent 2016: IoT Security: The New Frontiers (IOT302)
AWS re:Invent 2016: IoT Security: The New Frontiers (IOT302)AWS re:Invent 2016: IoT Security: The New Frontiers (IOT302)
AWS re:Invent 2016: IoT Security: The New Frontiers (IOT302)
Amazon Web Services
 
Amazon FreeRTOS: IoT Operating System for Microcontrollers (IOT208-R1) - AWS ...
Amazon FreeRTOS: IoT Operating System for Microcontrollers (IOT208-R1) - AWS ...Amazon FreeRTOS: IoT Operating System for Microcontrollers (IOT208-R1) - AWS ...
Amazon FreeRTOS: IoT Operating System for Microcontrollers (IOT208-R1) - AWS ...
Amazon Web Services
 
AWS_IoT_Device_Management_Workshop.pptx
AWS_IoT_Device_Management_Workshop.pptxAWS_IoT_Device_Management_Workshop.pptx
AWS_IoT_Device_Management_Workshop.pptx
hawkheadtrolley
 
사물 인터넷을 위한 AWS FreeRTOS 소개
사물 인터넷을 위한 AWS FreeRTOS 소개사물 인터넷을 위한 AWS FreeRTOS 소개
사물 인터넷을 위한 AWS FreeRTOS 소개
Harry Oh
 
Getting Started with AWS IoT
Getting Started with AWS IoTGetting Started with AWS IoT
Getting Started with AWS IoT
Amazon Web Services
 
AWS IoT in the Connected Home - AWS Online Tech Talks
AWS IoT in the Connected Home - AWS Online Tech TalksAWS IoT in the Connected Home - AWS Online Tech Talks
AWS IoT in the Connected Home - AWS Online Tech Talks
Amazon Web Services
 
Actor Model Import Connector for Microsoft Active Directory
Actor Model Import Connector for Microsoft Active DirectoryActor Model Import Connector for Microsoft Active Directory
Actor Model Import Connector for Microsoft Active Directory
protect724rkeer
 
Best Practices for AWS IoT Core (IOT347-R1) - AWS re:Invent 2018
Best Practices for AWS IoT Core (IOT347-R1) - AWS re:Invent 2018Best Practices for AWS IoT Core (IOT347-R1) - AWS re:Invent 2018
Best Practices for AWS IoT Core (IOT347-R1) - AWS re:Invent 2018
Amazon Web Services
 
GPSTEC318-IoT Security from Manufacturing to Maintenance
GPSTEC318-IoT Security from Manufacturing to MaintenanceGPSTEC318-IoT Security from Manufacturing to Maintenance
GPSTEC318-IoT Security from Manufacturing to Maintenance
Amazon Web Services
 
SRV408 Deep Dive on AWS IoT
SRV408 Deep Dive on AWS IoTSRV408 Deep Dive on AWS IoT
SRV408 Deep Dive on AWS IoT
Amazon Web Services
 
Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...
Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...
Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...
Amazon Web Services
 
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech Talks
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech TalksEssential Capabilities of an IoT Cloud Platform - AWS Online Tech Talks
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech Talks
Amazon Web Services
 
EE5111 a0195042 j_iot_project_report_update
EE5111 a0195042 j_iot_project_report_updateEE5111 a0195042 j_iot_project_report_update
EE5111 a0195042 j_iot_project_report_update
JingmingPeng1
 
Web + AWS + IoT, how to
Web + AWS + IoT, how to Web + AWS + IoT, how to
Web + AWS + IoT, how to
Indeema Software Inc.
 
The Lifecycle of an AWS IoT Thing
The Lifecycle of an AWS IoT ThingThe Lifecycle of an AWS IoT Thing
The Lifecycle of an AWS IoT Thing
Amazon Web Services
 
Masterless Puppet Using AWS S3 Buckets and IAM Roles
Masterless Puppet Using AWS S3 Buckets and IAM RolesMasterless Puppet Using AWS S3 Buckets and IAM Roles
Masterless Puppet Using AWS S3 Buckets and IAM Roles
Malcolm Duncanson, CISSP
 
Cloud DevSecOps Considerations Leveraging AWS Marketplace Software
Cloud DevSecOps Considerations Leveraging AWS Marketplace SoftwareCloud DevSecOps Considerations Leveraging AWS Marketplace Software
Cloud DevSecOps Considerations Leveraging AWS Marketplace Software
Amazon Web Services
 
Introducing the New Features of AWS Greengrass (IOT365) - AWS re:Invent 2018
Introducing the New Features of AWS Greengrass (IOT365) - AWS re:Invent 2018Introducing the New Features of AWS Greengrass (IOT365) - AWS re:Invent 2018
Introducing the New Features of AWS Greengrass (IOT365) - AWS re:Invent 2018
Amazon Web Services
 

Similar to AmazonRTOS - Antonio Luciano (20)

사물 인터넷을 위한 AWS FreeRTOS 소개 - 트랙1, Community Day 2018 re:Invent 특집
사물 인터넷을 위한 AWS FreeRTOS 소개 - 트랙1, Community Day 2018 re:Invent 특집사물 인터넷을 위한 AWS FreeRTOS 소개 - 트랙1, Community Day 2018 re:Invent 특집
사물 인터넷을 위한 AWS FreeRTOS 소개 - 트랙1, Community Day 2018 re:Invent 특집
 
[NEW LAUNCH!] AWS IoT Device Tester: Enable Your Edge Devices for AWS IoT (IO...
[NEW LAUNCH!] AWS IoT Device Tester: Enable Your Edge Devices for AWS IoT (IO...[NEW LAUNCH!] AWS IoT Device Tester: Enable Your Edge Devices for AWS IoT (IO...
[NEW LAUNCH!] AWS IoT Device Tester: Enable Your Edge Devices for AWS IoT (IO...
 
AWS re:Invent 2016: IoT Security: The New Frontiers (IOT302)
AWS re:Invent 2016: IoT Security: The New Frontiers (IOT302)AWS re:Invent 2016: IoT Security: The New Frontiers (IOT302)
AWS re:Invent 2016: IoT Security: The New Frontiers (IOT302)
 
Amazon FreeRTOS: IoT Operating System for Microcontrollers (IOT208-R1) - AWS ...
Amazon FreeRTOS: IoT Operating System for Microcontrollers (IOT208-R1) - AWS ...Amazon FreeRTOS: IoT Operating System for Microcontrollers (IOT208-R1) - AWS ...
Amazon FreeRTOS: IoT Operating System for Microcontrollers (IOT208-R1) - AWS ...
 
AWS_IoT_Device_Management_Workshop.pptx
AWS_IoT_Device_Management_Workshop.pptxAWS_IoT_Device_Management_Workshop.pptx
AWS_IoT_Device_Management_Workshop.pptx
 
사물 인터넷을 위한 AWS FreeRTOS 소개
사물 인터넷을 위한 AWS FreeRTOS 소개사물 인터넷을 위한 AWS FreeRTOS 소개
사물 인터넷을 위한 AWS FreeRTOS 소개
 
Getting Started with AWS IoT
Getting Started with AWS IoTGetting Started with AWS IoT
Getting Started with AWS IoT
 
AWS IoT in the Connected Home - AWS Online Tech Talks
AWS IoT in the Connected Home - AWS Online Tech TalksAWS IoT in the Connected Home - AWS Online Tech Talks
AWS IoT in the Connected Home - AWS Online Tech Talks
 
Actor Model Import Connector for Microsoft Active Directory
Actor Model Import Connector for Microsoft Active DirectoryActor Model Import Connector for Microsoft Active Directory
Actor Model Import Connector for Microsoft Active Directory
 
Best Practices for AWS IoT Core (IOT347-R1) - AWS re:Invent 2018
Best Practices for AWS IoT Core (IOT347-R1) - AWS re:Invent 2018Best Practices for AWS IoT Core (IOT347-R1) - AWS re:Invent 2018
Best Practices for AWS IoT Core (IOT347-R1) - AWS re:Invent 2018
 
GPSTEC318-IoT Security from Manufacturing to Maintenance
GPSTEC318-IoT Security from Manufacturing to MaintenanceGPSTEC318-IoT Security from Manufacturing to Maintenance
GPSTEC318-IoT Security from Manufacturing to Maintenance
 
SRV408 Deep Dive on AWS IoT
SRV408 Deep Dive on AWS IoTSRV408 Deep Dive on AWS IoT
SRV408 Deep Dive on AWS IoT
 
Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...
Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...
Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...
 
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech Talks
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech TalksEssential Capabilities of an IoT Cloud Platform - AWS Online Tech Talks
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech Talks
 
EE5111 a0195042 j_iot_project_report_update
EE5111 a0195042 j_iot_project_report_updateEE5111 a0195042 j_iot_project_report_update
EE5111 a0195042 j_iot_project_report_update
 
Web + AWS + IoT, how to
Web + AWS + IoT, how to Web + AWS + IoT, how to
Web + AWS + IoT, how to
 
The Lifecycle of an AWS IoT Thing
The Lifecycle of an AWS IoT ThingThe Lifecycle of an AWS IoT Thing
The Lifecycle of an AWS IoT Thing
 
Masterless Puppet Using AWS S3 Buckets and IAM Roles
Masterless Puppet Using AWS S3 Buckets and IAM RolesMasterless Puppet Using AWS S3 Buckets and IAM Roles
Masterless Puppet Using AWS S3 Buckets and IAM Roles
 
Cloud DevSecOps Considerations Leveraging AWS Marketplace Software
Cloud DevSecOps Considerations Leveraging AWS Marketplace SoftwareCloud DevSecOps Considerations Leveraging AWS Marketplace Software
Cloud DevSecOps Considerations Leveraging AWS Marketplace Software
 
Introducing the New Features of AWS Greengrass (IOT365) - AWS re:Invent 2018
Introducing the New Features of AWS Greengrass (IOT365) - AWS re:Invent 2018Introducing the New Features of AWS Greengrass (IOT365) - AWS re:Invent 2018
Introducing the New Features of AWS Greengrass (IOT365) - AWS re:Invent 2018
 

Recently uploaded

Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
Octavian Nadolu
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
Aftab Hussain
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Crescat
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
rickgrimesss22
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
timtebeek1
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
Philip Schwarz
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
Boni García
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
Łukasz Chruściel
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
Neo4j
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
Deuglo Infosystem Pvt Ltd
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
Alina Yurenko
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
TheSMSPoint
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
Rakesh Kumar R
 

Recently uploaded (20)

Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
 
Empowering Growth with Best Software Development Company in Noida - Deuglo
Empowering Growth with Best Software  Development Company in Noida - DeugloEmpowering Growth with Best Software  Development Company in Noida - Deuglo
Empowering Growth with Best Software Development Company in Noida - Deuglo
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
 

AmazonRTOS - Antonio Luciano

  • 1. Pervasive System Antonio Luciano https://www.linkedin.com/in/antonio-luciano-b04bb915a/ antomc16@gmail.com MASTER OF SCIENCE IN ENGINEERING IN COMPUTER SCIENCE Year. 2017/2018 https://github.com/theanto
  • 4. Amazon FreeRTOS Page 4 Amazon Services • AWS Greengrass • AWS IoT Core • AWS IoT Device Management
  • 5. Amazon FreeRTOS Page 5 The Amazon FreeRTOS Over-the-Air Update service enables you to: •Digitally sign and encrypt firmware before deployment. •Securely deploy new firmware images to a single device or a group •Deploy firmware to devices, reset, or reprovisioned. •Verify the authenticity and integrity of the new firmware after it's deployed to devices. •Monitor the progress of a deployment. •Debug a failed deployment. Amazon FreeRTOS Over-the-Air Updates
  • 6. Amazon FreeRTOS Page 6 How to start
  • 7. Amazon FreeRTOS Page 7 •STMicroelectronics STM32L4 Discovery kit IoT node •Texas Instruments CC3220SF-LAUNCHXL •NXP LPC54018 IoT Module •Microchip Curiosity PIC32MZEF bundle •ESP32-DevKitC & ESP-WROVER-KIT – (soon) Amazon FreeRTOS Supported Hardware Platforms
  • 8. Amazon FreeRTOS Page 8 • Ultra-low-power STM32L4 Series MCUs based on ARM® Cortex® -M4 core with 1 Mbyte of Flash memory and 128 Kbytes of SRAM, in LQFP100 package • 64-Mbit Quad-SPI (Macronix) Flash memory • Bluetooth® V4.1 module (SPBTLE-RF) • Wi-Fi® module Inventek ISM43362-M3G-L44 (802.11 b/g/n compliant) • High-performance 3-axis magnetometer (LIS3MDL) • 3D accelerometer and 3D gyroscope (LSM6DSL) • USB OTG FS with Micro-AB connector • Arduino™ Uno V3 Important Key Features STM32L4 model B-L475E-IOT01A
  • 9. Amazon FreeRTOS Page 9 Hands-on Example Simple web echo client
  • 10. Amazon FreeRTOS Page 10 • Log to the Amazon Console. • Under Amazon FreeRTOS Device Software, choose Configure download. • Choose Download FreeRTOS Software. • Under Software Configurations, find Connect to AWS IoT- ST, and then choose Download. Alternative source : https://github.com/aws/amazon-freertos My source: https://github.com/theanto/amazon-freertos Download the software
  • 11. Amazon FreeRTOS Page 11 In the console, create your user and choose Add permissions. Choose Attach existing policies directly. In the search box, type: 1.AmazonFreeRTOSFullAccess 2.AWSIoTFullAccess User and permissions
  • 12. Amazon FreeRTOS Page 12 In the AWS IoT console choose Secure, choose Policies and create a policy. In the Add statements section, choose Advanced mode. { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": "iot:Connect", "Resource":"arn:aws:iot:<aws-region>:<aws-account-id>:*" }, { "Effect": "Allow", "Action": "iot:Publish", "Resource": "arn:aws:iot:<aws-region>:<aws-account-id>:*" }, { "Effect": "Allow", "Action": "iot:Subscribe", "Resource": "arn:aws:iot:<aws-region>>:<aws-account-id>:*" }, { "Effect": "Allow", "Action": "iot:Receive", "Resource": "arn:aws:iot:<aws-region>:<aws-account-id>:*" } ] } Policies
  • 13. Amazon FreeRTOS Page 13 This policy grants the following permissions: •iot:Connect Grants your device the permission to connect to the AWS IoT message broker. •iot:Publish Grants your device the permission to publish an MQTT message on the freertos/demos/echo MQTT topic. •iot:Subscribe Grants your device the permission to subscribe to the freertos/demos/echo MQTT topic. •iot:Receive Grants your device the permission to receive messages from the AWS IoT message broker. Detail on policy
  • 14. Amazon FreeRTOS Page 14 In the AWS IoT console go to Manage and then create a single Things in this way: 1.Type a name for your thing. 2.Add a certificate for your thing page (choose Create certificate). 3.Download your private key and certificate. 4.Choose Activate, because Certificates must be activated prior to use. 5.Choose Attach a policy to attach. 6.Choose the policy you just created and choose Register thing. Things
  • 15. Amazon FreeRTOS Page 15 1. Import the Amazon FreeRTOS Sample Code into the STM32 System Workbench 2. Copy your AWS IoT endpoint from the Endpoint text box. It should look like <1234567890123>.iot.<us-east-1>.amazonaws.com. 3. In aws_clientcredential.h set clientcredentialMQTT_BROKER_ENDPOINT to your AWS IoT endpoint. The aws_clientcredential.h file have this constant: • clientcredentialMQTT_BROKER_ENDPOINT: Your AWS IoT endpoint. • clientcredentialIOT_THING_NAME: The AWS IoT thing for your board. • clientcredentialWIFI_SSID: The SSID for your Wi-Fi network. • clientcredentialWIFI_PASSWORD: The password for your Wi-Fi network. • clientcredentialWIFI_SECURITY: The security type for your Wi-Fi network. Software configuration
  • 16. Amazon FreeRTOS Page 16 1. Go to : <BASE_FOLDER>demoscommondevmode_key_provisioningCertificateConfigurationTool CertificateConfigurator.html. 2. Under Certificate PEM file, choose the <ID>-certificate.pem.crt you downloaded from the AWS IoT console. 3. Under Private Key PEM file, choose the <ID>-private.pem.key you downloaded from the AWS IoT console. 4. Choose Generate and save aws_clientcredential_keys.h, and then save the file in <BASE_FOLDER>demoscommoninclude. This overwrites the stub file in the directory. Configure Your AWS IoT Credentials
  • 17. Amazon FreeRTOS Page 17 In the AWS IoT console go to Test In the Subscription topic text box, type freertos/demos/echo and then choose Subscribe to topic. Running an example
  • 18. Amazon FreeRTOS Page 18 That’s all