AWS IoT é uma plataforma de nuvem que permite que dispositivos conectados interajam facilmente e de maneira segura com aplicações na nuvem e também com outros dispositivos. Nesta palestra técnica, nós iremos discutir como dispositivos podem utilizar o AWS IoT para enviar dados para a nuvem e receber comandos a partir da nuvem usando o protocolo da sua escolha. Nós iremos usar o AWS IoT Starter Kit para demonstrar a construção de um produto real, conectado de forma segura com a AWS usando MQTT, WebSockets, e protocolos HTTP, e mostraremos como desenvolvedores podem usar as features do AWS IoT como "Device Shadows" e o "Rules Engine", que fornece processamento de mensagens e integração com outros serviços AWS.
https://aws.amazon.com/pt/iot/
3. Caso de Sucesso - Rachio
Ações
Controlador de Sprinkler
Conectado
Função Lambda
Easily calibrate soil, vegetation, slope, sun exposure, and
nozzle types.
Choose from national and personal weather stations to get
the most accurate weather data available.
No one-size-fits-all experience—you have the freedom to
make adjustments over time and tune your Rachio to your
unique landscape.
4. Caso de Sucesso – Philips Healthcare
IoT na AWS para coletar e agir em dados críticos em diferentes devices
Philips is a leading health-tech company, working to create a new era of connected and personalized digital health and care..
With the addition of AWS IoT, we will
greatly accelerate the pursuit of our vision
by making it easy to acquire, process, and
act on data from heterogeneous devices in
real time.
• AWS gives Philips customers greater control of their health
with connected digital health solutions that support healthy
living and improved care coordination.
• HealthSuite, powered by AWS, is a digital platform that
manages more than 7 million connected medical-grade,
consumer devices, sensors and mobile apps
• The Philips HealthSuite digital platform analyzes and stores 15
PB of patient data from 390 million imaging studies, medical
records, and patient inputs.
• AWS provides the reliability, performance and scalability that
Philips needs to help protect patient data which grows by
petabyte/month.
Jeroen Tas
CEO Healthcare Informatics Solutions and Services, Philips
”
“
5. Caso de Sucesso - SONOS
Aumenta o valor de um produto com dados de telemetria e de utilização
All the music on earth, in every room of your home, wirelessly. Sonos is the smart speaker system that streams all your
favorite music to any room, or every room. Control your music with one simple app, and fill your home with pure, immersive
sound.
“A 10 year old product can do things that
hadn’t been invented 10 years ago. Most
importantly, going forward, people will
expect your product to improve, and if it
isn’t being updated and getting better,
you’re literally being left behind.”
Jon Cotter
Sr. Software Development Manager,
”
“ • Utilizes AWS to collect, store, and process performance
metric data and reports for individual speaker systems.
• Can monitor the quality of speakers in the field, and
dramatically add new functionality to existing speakers
without refreshing hardware.
• Launching Trueplay: a Smart Speaker Tuning services that
measures the acoustics in any room and fine-tunes your
speaker.
• Launching in 2015 yet available to devices purchased over
5 years ago
6. We launched Hive towards the end of
2013 and today we have 75,000
customers… The speed at which we
delivered Hive is directly related to our
decision to use AWS cloud
Seb Chakraborty
Head of Web and Platform Design
”
“ • British Gas started a project called Hive, part of its
Connected Homes Strategy.
• Hive Active Heating allows users to control heating and hot
water remotely from mobile, laptop or smartphones.
• Such a flexibility allows users to control heating exactly
how they need it and save up to £150 a year on utility bills
Caso de Sucesso - British Gas
Adiciona controle de aquecimento central a smartfones com AWS
British Gas uses AWS cloud for scaling the
project and to deliver API toolsets around it.
7. Caso de Sucesso – Dropcam
Entrega Streaming de vídeo em milisegundos usando AWS
Drocpam provides video monitoring hardware and
software for customers to access over the internet
Using AWS, we can add
capacity in minutes instead of
days
Greg Nelson
VP of Software Engineering, Dropcam
”
“ • Dropcam provides a video monitoring service to monitor homes and
small businesses
• As the company grew, storage for video feeds became its biggest
issue
• By using AWS, Dropcam can add capacity in minutes and reduced
delivery time for video events from 10 seconds to less than 50
milliseconds
8. Conectar devices a aplicações em cloud é algo um tanto
quanto complexo…
Muitos SDKs
e
Ferramentas
Protocolos
Alternativos
Escalabilidade Segurança de
Gerenciamento
Integração com
aplicações em Nuvem e
aplicações Móveis
9. Introduzindo AWS IoT
Respond to signals from your
fleet of devices and take
action with Rule Engine
Connect any device via MQTT/HTTP
securely. Quickly get started with AWS
IoT Starter Kits and Scale to billions of
messages across millions of devices
Securely connect any
physical device to AWS
Shift business logic from device
to cloud and route data to AWS
service of your choice for
storage and analysis using rules
engine.
Create Web and Mobile
Applications that Interact with
Devices reliably at any time
“Conecte com segurança um ou um bilhão de dispositivos na AWS, de
forma que eles possam interagir com aplicações e com outros dispositivos”
Easily build applications on web
and mobile that interact with
devices, even when they are
offline, with AWS SDK and Device
Shadow.
10. Plataforma AWS IoT
Serviço ”tudo em um”
Message Broker
+ Rules Engine
+ Shadow
+ Registry
All for $5/M Msg*
Serviço gerenciado
No installation
Automatic scaling
No pre-provisioning
Redundant across AZ
Pay as you go
* Varies by Region
11. Publish / Subscribe
Suporte a protocolos padrão
MQTT (including QoS1), HTTPS,
WebSockets
Machine Friendly
Low power, low bandwidth, fast
Conexões de vida longa
Receive signals from the cloud
Bidirecional
Communication FROM and TO the
devices no matter the protocol used
Device SDKs
Open Source – Apache 2.0
Embedded-C
Node.JS
Javascript
Python
Java
12. Autenticação mais confiável
X509 Certificates with Mutual Authentication
Alto nível de criptografia
TLS 1.2
Fácil provisionamento
Certificate management
• Generate unlimited amount of Certificates
• Or Have AWS IoT sign your CSR
• Or Bring Your Own Certificate (BYOC)
Painless provisioning
• Just-in-time Registration (JITR)
Controle baseado em Policy e Role
Granular access to the message broker for
devices and IAM identities (users) => Enables
Pairing
Granular access to backend services via Roles
Segurança, Segurança, Segurança
13. Rules Engine
Sintaxe fácil como SQL
SELECT attributes FROM topic WHERE
conditions, IF MATCH THEN action(s)
Bring Context
From Amazon Machine Learning, IoT
Shadows, DDB
Transforme & Enriqueça o dado
Math library, JSON parsing and cleansing
functions
Roteamento
Send to 10 AWS Services to date (Free)
Múltiplos formatos de payload
JSON (including nested arrays)
Binary
14. Amazon Machine Learning
> Predict() Function
SELECT predict(model ID) as prediction FROM /device/data WHERE temperature > 150 ACTION trigger a Lambda function
Três tipos de predição
1. Binary Classification (one of two
possible classes)
2. Multiple classification (one of more
than 2 outcomes)
3. Regression (predict a numeric value)
Treinamento do modelo
Posting the data to S3 will trigger a new
training and make the model better
15. Integração com Elasticsearch
> Elasticsearch Action
Habilite visualização
Leverage Kibana for fast and easy
visualization of data
Habilita queries complexas
Averages, time bound, and more
16. AWS IoT Shadow
Representação virtual do device na nuvem
Always accessible
Holds “states” up to 1 year
Programação mais eficiente
Familiar REST APIs for read/write
Hide complexity of device connectivity (developers
do not need to know what protocol the device
uses)
Atente-se às limitações dos devices
Holds the commands until device is ready
Can be queried in lieu of the device
Very fast (~120ms round trip)
17. AWS IoT Registry
Armazene os metadados dos devices
Unlimited registry entries for devices
Mostly used for Metadata
Define o Schema de suas coisas
Can define Thing Types with set schema
Define up to 50 attributes per Thing
18. Redesign completo do Console
Melhor visão geral
Message flow
Devices connected (Presence)
Usage Statistics
And more
Novo Onboarding Wizard
Connect 9x faster
19. Ritmo de Inovação
AWS IoT Beta MQTT,
HTTP
Rule Engine
Registry
C, Node SDK
Shadow
GA Launch
IPv6 Support
iOS SDK
• New Region: FRA, SIN
• Bring Your Own Certificate
• AWS CloudTrail Integration
• Amazon Machine Learning
• 24h WebSocket cnx
• Rule Engine versions
• ECC Support (w/ forward
secrecy)
• Binary payloads support
• Simulator ref design
• Real-time alerts in console
• QoS1 for shadow
• MQTT over WebSocket
• MQTT client in Console
• Custom Keep Alive
intervals
• Logging configuration in
Console
• Amazon CloudWatch
integration
• Android SDK
• New Rule Actions
• CloudWatch Logs
• CloudWatch Alarms
• Amazon Elasticsearch
Service
• Thing Types
• Thing Shadow attributes in
Rule Engines
• Device Presence
• Security: JITR
• New Console
• New IoT at the Edge (limited
preview)
• Variable attributes in Policies
• New Operational
Dashboards
OCT 15
2015 2016 - 2017
DEC 15
20. Simples Pagamento pelo Uso e Preço Previsível
AWS IoT
• Pague pelo que você usa. Sem cobrança mínima.
• $5 per million messages published to, or delivered in
US East (N. Virginia), US West (Oregon), Ireland,
Germany, $6/M in Korea, Australia, $8/M in Asia
Pacific (Tokyo, and Singapore),
Free Tier
250,000 Messages Per Month Free for first 12 Months
Enterprise Discounts Disponíveis
For large volumes our Enterprise Sales team is engaged
22. Muitas máquinas nunca se comunicam com a nuvem
Equipamentos Médicos Maquinário Industrial Ambientes Extremos
23. Porque este problema não foi superado
Leis da física Leis da economia Leis governamentais
24. Lambda Local
Device Shadows Local Segurança Local
Greengrass
is…
AWS
Broker Local
Nota: Greengrass NÃO é Hardware (Você traz o seu)
25. Benefícios do AWS Greengrass
Responda a eventos locais rapidamente
Opere offline
Programação Simplificada dos
dispositivos
Reduza o custo das aplicações IoT
28. AWS Partner Network (APN)
AWS IoT customers can leverage the tens of thousands of APN partners
(Technology and ISV).
APN grew by 50% in membership in the last 12 months
29. Parceria AWS IoT <-> Salesforce IoT Cloud
Profiles (Event & Context)
Build 360° views of customers
and devices
Journeys (Business Logic)
State-based orchestration engine
Translate business goals into action
30. Integração Nativa com Sigfox
O que é a Sigfox
Network operator in the Sub-GHz
Global network (one network)
Very Low power (up to 10 years on a single charge)
Very Low volume (12B per message)
Very Low cost (~$1/y in volume)
Como funciona a integração?
Sigfox transports data and passes it to AWS IoT
Device Management in AWS IoT
Rules Engine in AWS IoT
All the Power of the AWS Cloud
Cobertura
Massive European Coverage
Rapid deployment in the US (100 cities by end of year)
Rio de Janeiro e São Paulo (previsão para 90% do país em 2 anos)
31. Facilita para OEMs e desenvolvedores de hardware para prototipar dispositivos
conectados em cloud
Inicie Rapidamente: Programa de Hardware AWS IoT
34. “Os serviços da AWS permitiram a
completa renovação tecnológica da
Zazcar ser feito em 6 meses.”
Zazcar é a primeira empresa de
carsharing no Brasil. Somos uma
empresa de serviços de mobilidade
humana através de tecnologia.
Nós usamos nossa tecnologia e cultura
para gerar novos serviços de mobilidade
urbana para indivíduos e empresas.
Aluguel de carros on demand é dirigir
sempre que quiser a partir de um dos
nosso mais de 50 pontos na cidade de
São Paulo, sem precisar se programar
com antecedência e pagar só pelo que
usar.
“Dada nossa
necessidade de
velocidade no
desenvolvimento
escolhemos a AWS
pela sua variedade de
Serviços PaaS e
Escalabidade
garantida”
- Bernardo Mazzini,
CTO da Zazcar
35. O Desafio
Passar de uma empresa que
consumia Tecnologia para ser uma
empresa de Tecnologia
• Processo de cadastro burocrático
• Assinatura presencial + Entrega
cartão RFID
• Reservas somente através do site
da Zazcar
• Tecnologia inflexível, importada e
cara
Philips
"At Philips we aim to empower people to take greater control of their health with connected digital health solutions,” says Jeroen Tas, CEO Healthcare Informatics, Solutions and Services, Philips. "Our HealthSuite digital platform already collects and manages the data of over seven million devices. Now that we have AWS IoT, we will greatly accelerate the pursuit of our vision by making it easy to ingest, process, and act upon data from heterogeneous devices in real time. Simply by changing business logic in the cloud, we can now instantly add new intelligence to existing MRI machines, disposable patient monitoring sensors and more. AWS IoT makes it possible for our products, and the care they provide, to grow smarter over time”
Sonos: Video Case Study: https://www.youtube.com/watch?v=C9UVrbOMIZw
With those 3 pillars in mind, we launched last year AWS IoT. AWS IoT is one of many components that enable you to deploy IoT solutions on AWS. In fact, some of the best IoT solutions, like Thingworx, are built on AWS. You could already use Kinesis to stream large amount of data into the cloud, and several databases and analytics solutions to get insights, but we did not offer an out of the box IoT service for constrained devices.
AWS IoT is a managed service that you will find your AWS Console. We kept it Simple, Scalable and Secure. It’s a managed service. That means no installation, no configuration of scaling, no pre-provisioning, no need to setup redundancy across Availability Zones, no need to update.
AWS IoT is a pay as you go service based on messages received and sent by the platform with no minimum requirement.
I know you are not here today to hear about what on our website, so I will go rather quickly on some of the key features of our AWS IoT service.
AWS IoT is a suite of services. A message broker that can speak MQTT, HTTPs and WebSocket, a series of device SDK in 6 languages including embedded-C, Java and Python, a registry services that includes Thing Types, sort of templates for Things, a device shadow service which provides out of the box REST APIs to a virtual representation of your Things, and a Rules Engines that can not only bring context to payload receives like Machine Learning predictions or device states, but can also match attributes of the payload against certain criteria you define and pass the data down to 10 AWS services including Lambda, Kinesis, DynamoDB and ElasticSearch. The service is available in 6 AWS regions giving you a global footprint instantly.
Pub / Sub broker… talking points on screen
SOC 1 / SOC 2 / SOC 3 SSAE 16 / ISAE 3402
PCI DSS Level 1 DIACAP & FISMA ISO 27001 / 9001 ISO/TS 16949
FedRAMP (SM) DoD CSM Levels 1-2, 3-5 MTCS Tier 3
Deep insight with AWS CloudTrail
Data is YOURS!
Where does this sit in the architecture?
An IoT rule engine is not only about taking outbound actions based on the data, but also pulling in relevant information on the fly: doing an Dynamo DB call, leveraging an Amazon Machine Learning model, calling a Lambda function. Those tools can be used to filter or send messages to other AWS services or even third party services via Kinesis or Lambda.
We’re introducing a new function in the rules engine… the predict function.
we just blogged about this, but we recently added elastic search as a native action in the rules engine. Elasticsearch comes with Kibana, a web interface for Elasticsearch that provides visualization capabilities on top of the content indexed on an Elasticsearch cluster.
Before this, customers had to daisy chain a set of integration rules (kinesis -> lambda -> ES)…
What’s this get you? Full text search across all your sensor data.
We built AWS IoT with the extensive experience we gathered from our internal use cases but also from all the IoT customers we already have on AWS.
AWS IoT is a FULLY MANAGED service for connected devices.
Keep that in mind as we discuss the features and you explore your options for IoT partners. IoT is plural and you often don’t know to what extent… we grow w/ your business.
Multi-protocol Message Gateway
Millions of devices and apps can connect
over MQTT, HTTP or Websockets.
Elastic Pub Sub Broker
Go from 1 to 1-billion long-lived connections with zero provisioning
Secure by Default
Connect securely via X509 Certs and
TLS v1.2 Client Mutual Auth
We built AWS IoT with the extensive experience we gathered from our internal use cases but also from all the IoT customers we already have on AWS.
AWS IoT is a FULLY MANAGED service for connected devices.
Keep that in mind as we discuss the features and you explore your options for IoT partners. IoT is plural and you often don’t know to what extent… we grow w/ your business.
Multi-protocol Message Gateway
Millions of devices and apps can connect
over MQTT, HTTP or Websockets.
Elastic Pub Sub Broker
Go from 1 to 1-billion long-lived connections with zero provisioning
Secure by Default
Connect securely via X509 Certs and
TLS v1.2 Client Mutual Auth
In the last year we have been hard at work to innovate and I mentioned a few of those innovation already but this time line shows you some of the top requested ones we have released
Kyle
Does Greengrass solve a durable problem, or can everything eventually run in the cloud?
Yes, Greengrass solves a durable problem for three structural reasons: The first is economics: the cost of bandwidth is not falling as fast as the cost of storage and compute. Greengrass provides tools for locally aggregating and filtering data, making it easy to act on lower-value data locally, and upload high value data and aggregated data to the cloud for analytics and storage. The second set of durable problems is latency and last-mile connectivity. Latency to the cloud can be unacceptable for scenarios that involve timely automated decision making (crash avoidance, medical alerts), or physically remote operating environments (mining sites, aircraft in-flight) especially in conjunction with wide-area wireless networks (such as cellular). So some decision-making must continue to be executed locally on the device. High-value and safety-critical processes must also continue working when the internet connection is down. The third set of durable problems is compliance and privacy. For legal or compliance reasons, and concerns around privacy, some industries prefer to store or duplicate some data locally. For example, hospitals may be required to keep all records locally, even if they are also duplicated in the cloud. Some governments impose data sovereignty restrictions on where data may be stored.
30 segundos para apresentar a empresa, rapidamente
Os 4 (máximo) maiores desafios do projeto, que foram resolvidos pela utilização da nuvem da AWS
Diagrama de solução, e explicar a solução, vantagens, etc
Outro diagrama se for necessário, detalhando ou com foco em outra parte da aplicação