SlideShare uma empresa Scribd logo
1 de 103
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Public Sector
June 2019
Using AI and ML services on video streams
Immersion day
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Why Machine Learning for Media?
Increase
Engagement and
Content Discovery
Accelerate
information through
metadata
Launch new content
or services
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agenda
• Quick Service Overview
• Content Indexing & Metadata
Generation for image and video
• Media Analysis Solution
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Machine Learning Stack
Platforms
Application services
A m a z o n
R e k o g n i t i o n
A m a z o n
R e k o g n i t i o n
V i d e o
P o l l y T r a n s c r i b e T r a n s l a t e C o m p r e h e n dL e x
Amazon SageMaker Amazon Mechanical Turk
Frameworks KERAS
NVIDIA
Tesla V100 GPUs
(14x faster than P2)
P3
Machine Learning
AMIs
5,120 Tensor cores
128 GB of memory
1 Petaflop of compute
NVLink 2.0
Infrastructure
&
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Automating Footage Tagging with Amazon Rekognition
• Built in 3 weeks
• Indexed against 99,000 people
• Index created in one day
• Saved ~9,000 hours a year in
manual curation costs
• Live video with frame sampling
Previously, only about half of all footage was indexed due to the immense
time requirements required by manual processes
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Key Services For Today
Processing ML Orchestration
AWS Step Functions
AWS LambdaAmazon
Transcribe
Amazon
Rekognition
AWS Elemental
MediaConvert
AWS Elemental
MediaLive
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Elemental MediaConvert
• Professional grade video features and quality
• No software or hardware infrastructure to manage
• Automatically scales in response to variations in
incoming video volume
• Ability to manage capacity and control order in
which jobs are processed
• Pay for what you use, billed by the second of
content produced
AWS Elemental
MediaConvert
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Rekognition
Object & scene
detection
Facial
analysis
Face
comparison
Face
search
Celebrity
detection
Image
moderation
Text
detection
"Amazon Rekognition allows us to scalably
identify and track actors across millions of
frames of content with much higher reliability
than any other solution we've used.”
- Jared Browarnik, Co-Founder & CTO, TheTake
“Amazon Rekognition enables us to quickly
and efficiently add value through various
automated metadata tagging processes, and
images and video segments are much easier to
find for our enterprise and our customers.”
- Shane Murphy, Solutions Engineer, Scrippsnetworks
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Rekognition Video
Object, scene &
Activity detection
Face
search
Facial analysis Activity pathing
Unsafe content
detection
Celebrity
detection
Text in images
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Transcribe
A fully managed and continuously trained automatic speech
recognition (ASR) service that takes in audio and automatically
generates accurate transcripts
Support for audio
in many formats
and low fidelity
§
Amazon S3
integration
Hello
/Hola
Time stamps and
confidence scores
English and
Spanish
Punctuation
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Transcribe – Use Cases
Call Center
Subtitles
MeetingsContent indexingCompliance
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Step Functions
VisualizeDefine Monitor
Task A single unit of work
Choice Adds branching logic
Parallel Fork and join the data
Wait Delay for a specified time
Fail Stops an execution
Succeed Stops an execution successfully
Pass Passes its input to its output
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Using Amazon ML Services for Media
• Use services such as Amazon
Rekognition & Amazon Transcribe to
generate metadata about your content
• Store that metadata and make it
searchable
• Retrieve only the portion of the
content you want
• Prepare it for timely use
Live and file
Sources
Amazon ML
Services
ML
Amazon
DynamoDB
Database
Live and file
Content
Content Indexing / Metadata Generation Content Retrieval / Action Metadata
AWS Elemental
Media Services
Media
processing
AWS Elemental
Media Services
Media
processing
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Content Indexing / Metadata Generation
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Content Indexing / Metadata Generation
File-
based
content
Live
content
MediaLive
Kinesis
Video
Streams
MediaConvert
Amazon Rekognition
(Image)
• JPEG/PNG
• Up to 15 MB
Amazon Rekognition
(Video)
• H.264 video
• MP4/MOV file
• Up to 8 GB
Transcribe
• FLAC/MP3/WAV/
MP4
• Up to 2 hours
• Up to 1 GB
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Content Indexing / Metadata Generation − Image
AWS Elemental
MediaConvert job
transcodes file and
extracts JPEG frames
to S3 bucket.
AWS Lambda function
triggered by Amazon S3
object-created event tells
Amazon Rekognition to
analyze the JPEG file.
Amazon Rekognition
performs requested
operation on image (i.e.,
object detection, celebrity
recognition, etc.).
Amazon Rekognition returns
result to AWS Lambda, which
stores tags and confidence
scores in Amazon DynamoDB,
Amazon Redshift, Amazon
Elasticsearch Service, Amazon
RDS, or whichever service best
suits the use case.
AWS Elemental
MediaConvert
File-based
processing
Amazon S3
Storage
AWS Lambda
Serverless
Amazon
Rekognition
ML / AI
Amazon
DynamoDB
Database
File
Source
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
MediaConvert Configuration
Framerate
determines the
number of images
that will be
extracted from the
video per second.
1/5 indicates to
create one JPEG
every 5 seconds.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Lambda Function Code Example – Amazon Rekognition
Image
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Rekognition Image Results
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Content Indexing / Metadata Generation – Video
AWS Elemental MediaConvert
job transcodes source file to
H.264/MP4 at a bit rate such
that the file size is <8 GB.
AWS Lambda function triggered
by Amazon S3 object-created
event tells Amazon Rekognition
to analyze the video file.
Amazon Rekognition Video
performs requested operation
on video (i.e., person tracking,
celebrity recognition, etc.).
Amazon Rekognition returns result
to AWS Lambda, which stores tags
and confidence scores in Amazon
DynamoDB, Amazon Redshift,
Amazon Elasticsearch Service,
Amazon RDS, or whichever service
best suits the use case.
AWS Elemental
MediaConvert
File-based
processing
Amazon S3
Storage
AWS Lambda
Serverless
Amazon
Rekognition
ML / AI
Amazon
DynamoDB
Database
File
Source
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
MediaConvert Configuration
Use Container
MPEG-4 Container
(MP4) and a file
extension of mp4.
Set Video Codec to
MPEG-4 AVC
(H.264).
Select bit rate
accordingly so output
file is smaller than 8 GB.
For example, a 60-
minute movie at 7 Mbps
will be approximately
3.2 GB.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Lambda Function Code Example – Amazon Rekognition
Video
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Lambda Function Code Example – Amazon Rekognition
Video
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Content Indexing / Metadata Generation –
Transcription
AWS Elemental MediaConvert
job transcodes source file,
creating audio-only rendition
for Amazon Transcribe
AWS Elemental
MediaConvert also
creates normal
audio/video output
AWS Lambda function
triggered by Amazon S3
object-created event creates
a new Transcribe job
Amazon Transcribe
outputs JSON file of
detected words and timing
Lambda function converts
Amazon Transcribe JSON into
subtitle format (such as WebVTT,
SRT, or TTML) and delivers to
Amazon S3 bucket with content
AWS Elemental
MediaConvert
File-based
processing
AWS Lambda
Serverless
Amazon
Transcribe
ML / AI
File
Source
Amazon S3
Storage
Amazon S3
STORAGE
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
MediaConvert Configuration
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Lambda Function Code Example − Amazon Transcribe
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Polling Transcribe with AWS Step Functions
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Transcribe Results
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Transcribe to Captions
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Media Analysis Solution
https://aws.amazon.com/answers/media-entertainment/media-analysis-solution/
• Generate searchable metadata from
your media assets using Amazon
Rekognition, Amazon Transcribe,
Amazon Comprehend, and Amazon
Elasticsearch Service
• Deploy in minutes with a single click
using AWS CloudFormation
• Interact via API or demo web UI
• Orchestrated with Step Functions,
extensible and easily customizable
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thank you
cclawton@amazon.com
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Paul Macey
Specialist Solution Architect, Big Data and Analytics
AWS Public Sector
June 2019
Multi Source, Multi Speed
Data Consumption & Analytics on AWS
Immersion day
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agenda
How did it come to this?
Organisational goldmines
Well architected data pipelines
Multisource, multispeed patterns
Wrap up
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
How did it come to this?
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Security
Day 0
Data governance
& metadata
Data centralised
& scalable
SQL & BI
ready
Analytical &
Data Science
foundation
Repeatable &
Extensible
Accelerated Data Lake
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Unintended data pipelines
Geospatial Girl
The Oracle
The Data Scientist
External request
Sales
Analyst
Operations
Security Guy
The Boss
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Organisational goldmines
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Organisational goldmines
csv
json
xls
Databases
Batch
FTPStreaming
IoT
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Well architected data pipelines
Operational
Excellence Security Reliability
Performance
Efficiency
Cost
Optimization
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Customer example
Health Organisation
In New Zealand
Challenge :
Needed to bring disparate datasets together
Too many external files
Current State:
SQL Server 2008
Large text files
ETL (SSIS) https://www.linkedin.com/pulse/how-we-built-data-lake-less-than-4-weeks-alex-poor/
Solution :
Uses the ADL solution as a base
Extended the solution to access FTP server data
Entirely serverless
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Multisource, multispeed
data and analytics patterns
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Streaming
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Streaming Pattern
Smart City
Camera
camera_stream
datetime
sensorId
locationId
currentTemperature
battery
objectDetected
status
camera_stream
Create SQL Schema Write SQL to query stream
Amazon Kinesis
Data Firehose
Amazon Kinesis
Data Streams
Amazon Kinesis
Data Analytics
Amazon Kinesis
Data Analytics
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
API Pattern - Inbound
WeatherTraffic
Amazon
CloudWatch
AWS Lambda Amazon S3
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
API Pattern - Outbound
Camera, weather, and traffic Insights
AWS Lambda Amazon S3Amazon
API Gateway
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
IoT and IoT Analytics
Find Hidden Data Connections with Enrichment
AWS IoT
Analytics
Device
Registry
Weather
data
AWS IoT Core
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SFTP Pattern
+ No end-user disruption
+ Fully managed servers
+ Simple to use
+ Pay as you use
+ Native cloud integrations
AWS SFTP
Amazon S3
AWS Transfer
for SFTP
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Data Stores
Data stores
CDC
AWS Database
Migration Service
* Target only
Amazon
DynamoDB*
Amazon
Kinesis
Amazon S3
Amazon RDS
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Data Stores
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
"We migrated hundreds of our clients from our in-house data-center to Amazon RDS
Oracle 12c using the AWS Data Migration Service (DMS). Due to this service, we
could live-replicate the databases between our data-center and RDS before the
migration. That kept the migration down-time to the very minimum. We are very
happy with DMS and are planning to use it for Oracle to MySQL migration next”.
”The SCT Assessment Report was the key enabler to allow us to understand the
scope of effort required to complete an Oracle to PostgreSQL migration. What
was originally thought to be a largely manual task that no one was particularly
excited about having to do became a very straight-forward quick and easy
process."
“We are in the process of migrating some databases to Amazon Aurora. The ease
by which we can do this using the AWS Database Migration Service has
simplified this process for us and enabled us to accelerate our migration
efforts. The ability to closely monitor the process, the detailed logging feature, and
the support we received from AWS have given us a great deal of confidence in a
successful migration.”
Who is saying what about DMS and SCT?
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Shared
file systems
NFS TLS
AWS storage resources
AWS DataSync
agent
AWS DataSync
Amazon S3
Amazon Elastic
File System
Region
Batch Processing Pattern
Corporate data center
Transfer data at speeds up to 10 times faster than open-source tools
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
New services, new patterns
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Lake Formation
Insights &
visualisation
Amazon
QuickSight
ETL
AWS Glue
Ad-Hoc
Querying
Amazon
Athena
Amazon S3
Storage
AWS Glue
Catalog / Connectivity
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Neptune: A fully managed graph database
Amazon S3
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS has services and patterns to create
YOUR organisations data goldmine
csv
json
xls
Batch
FTPStreaming
IoT
Geospatial Girl
The Oracle
Operations
External
Requests
The Data Scientist
Analyst
Sales
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Success with well architected data pipelines
Security GuyThe Boss
The Oracle
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
References
AWS Accelerated Data Lake (Git)
https://github.com/aws-samples/accelerated-data-lake
AWS Accelerated Data Lake Blog (part 1 & 2)
https://aws.amazon.com/blogs/publicsector/from-data-silos-to-data-domains-bringing-common-data-together
https://aws.amazon.com/blogs/publicsector/securing-your-data-by-knowing-your-data
Our data lake story: How Woot.com built a serverless data lake on AWS
https://aws.amazon.com/blogs/big-data/our-data-lake-story-how-woot-com-built-a-serverless-data-lake-on-aws
Kinesis Data Generator
https://awslabs.github.io/amazon-kinesis-data-generator/
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
References
IoT analytics
https://aws.amazon.com/iot-analytics/
AWS Database Migration
Service
https://aws.amazon.com/dms/
AWS Transfer for SFTP
https://aws.amazon.com/sftp/
AWS Datasync
https://aws.amazon.com/datasync/
Amazon Kinesis
https://aws.amazon.com/kinesis/
Amazon Kinesis Analytics
https://aws.amazon.com/kinesis/data-
analytics
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Available today @ GitHub
https://github.com/aws-samples/accelerated-data-lake
Includes
Data lake pipeline (CloudFormation)
Instructions
Data configuration, security and metadata templates
Delivery
Professional services
AWS partners
Accelerated Data Lake
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Public Sector
June 2019
Incorporating Vision & Intelligence
with Machine Learning at the Edge
Immersion day
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agenda
Recap: Machine Learning & IoT / Edge
Architectural models:
Hybrid AI at the Edge
At the Edge: How to deploy and retrain
Cloud-based only AI
Customer example: ParKam
Tools to make things easier
Well Architected
Resources
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ML can enhance every application
Autonomous
vehicles
Smart
agriculture
Predictive
maintenance
Robotics
Speech and sound
recognition
Video
security
Anomaly
detection
More
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
M L F R A M E W O R K S &
I N F R A S T R U C T U R E
A I S E R V I C E S
R E K O G N I T I O N
I M A G E
P O L L Y T R A N S C R I B E T R A N S L A T E C O M P R E H E N D L E XR E K O G N I T I O N
V I D E O
Vision Speech Language Chatbots
A M A Z O N
S A G E M A K E R
B U I L D T R A I N
F O R E C A S T
Forecasting
T E X T R A C T P E R S O N A L I Z E
Recommendations
D E P L O Y
Pre-built algorithms & notebooks
Data labeling (G R O U N D T R U T H )
One-click model training & tuning
Optimization (N E O )
One-click deployment & hosting
M L S E R V I C E S
F r a m e w o r k s I n t e r f a c e s I n f r a s t r u c t u r e
E C 2 P 3
& P 3 N
E C 2 C 5 F P G A s G R E E N G R A S S E L A S T I C
I N F E R E N C E
Reinforcement learningAlgorithms & models ( A W S M A R K E T P L A C E
F O R M A C H I N E L E A R N I N G )
Artificial Intelligence (AI) & Machine Learning (ML)
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SageMaker
Fully managed
hosting with auto-
scaling
One-click
deployment
Pre-built
notebooks for
common
problems
Built-in, high
performance
algorithms
One-click
training
Hyperparameter
optimisation
B U I L D T R A I N D E P L O Y
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
IoT virtuous cycle
Intelligence
and outcomes
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS IoT Events
IoT virtuous cycle
AWS IoT Analytics
AWS IoT SiteWise
Intelligence
and outcomes
AWS IoT Device
Management
AWS IoT
Things Graph
AWS IoT Core
AWS IoT
Device Defender
AWS IoT
Device SDK
Amazon FreeRTOS
AWS IoT
Device Tester
AWS IoT
Greengrass
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Build conditional logic to evaluate
incoming telemetry data to detect
events in equipment or a process
Detect events from data
across thousands of sensors
and other sources
Trigger responses to
optimize operations
AWS IoT Events allow you to continuously monitor data from your equipment and fleets of
devices for changes in operation and to trigger the appropriate response when events occur
Data
services
!
AWS IoT Events - Generally Available!
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS IoT Things Graph - Generally Available!
Models Run at the
edge
Monitor
Flows
Visual UI
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Data and
State Sync Security
Over the
Air UpdatesConnectors
Local
Device Shadows
Code
Deployment
Lambda Functions AWS-grade
security
Easily Update
Greengrass Core
Machine
Learning
Inference
Local Execution
of ML Models
Local
Resource
Access
Lambdas Interact
With Peripherals
Easy integrations
with AWS
services, protocol
adaptors and
other SaaS
providers
Local
Messages
and Triggers
Local
Message Broker
Manage
Secrets at
the edge
AWS Secrets
Manager
functionality
at edge
AWS Greengrass
Extend AWS IoT to the Edge
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Data and
State Sync Security
Over the
Air UpdatesConnectors
Local
Device Shadows
Code
Deployment
Lambda Functions AWS-grade
security
Easily Update
Greengrass Core
Machine
Learning
Inference
Local Execution
of ML Models
Local
Resource
Access
Lambdas Interact
With Peripherals
Easy integrations
with AWS
services, protocol
adaptors and
other SaaS
providers
Local
Messages
and Triggers
Local
Message Broker
Manage
Secrets at
the edge
AWS Secrets
Manager
functionality
at edge
AWS Greengrass
Extend AWS IoT to the Edge
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Hybrid AI at the Edge
Scene
Model
AWS IoT
AWS
Greengrass
Project
Stream
(optional)
Device
AWS Elastic Beanstalk
Amazon
Rekognition
Amazon DynamoDB
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Existing DeepLens Face Detection Model
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
New Face Detection Lambda to upload to S3
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Cloud-side Lambda adds items to DynamoDB tables
when faces detected.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Demo - Deeplens using local and cloud inference
Coffee_blog.mp4 (3:23)
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Inference Training
Machine Learning at the Edge
Local
actions
Edge Cloud
AWS IoT Analytics
Amazon S3
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Inference Training
Machine Learning at the Edge
Local
actions
Edge Cloud
Amazon
SageMaker
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Inference Training
Machine Learning at the Edge
Local
actions
Edge Cloud
Amazon SageMaker
Optimize with Amazon
SageMaker/Neo
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Inference Training
Machine Learning at the Edge
Local
actions
Edge Cloud
AWS IoT Greengrass
Deploy
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Inference Training
Local
actions
Edge Cloud
AWS IoT Greengrass
Machine Learning at the Edge
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
USB
Camera
Amazon SageMaker
Nvidia Jetson Nano
AWS IoT
Greengrass
IoT
topics
IoT
topics
AWS Cloud
Model
At the Edge: How to deploy and retrain
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Nvidia Jetson Nano
GPU
128-core Maxwell
CPU
Quad-core ARM A57 @ 1.43 GHz
Memory
4 GB 64-bit LPDDR4 25.6 GB/s
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Sagemaker training
• Caltech-256 data set
• Pre-built ‘image classification’ algorithm
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
USB
Camera
Amazon SageMaker
Nvidia Jetson Nano
AWS IoT
Greengrass
IoT
topics
IoT
topics
AWS Cloud
Model
At the Edge: Deploy and test
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Demo - Inference at Edge
Beverages_p2.mp4 (3:00)
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
S3 Object Tags and Metadata
Image1001.jpg
jpeg image data
S3 object tags
S3 object
data.csv
S3 metadata
Key Value
Classification Internal
PII False
Use Case Interaction Extracts
Team Analytics
Key Value
Policy facility_iinternal
MD5 ab3116cded134
Data Owner User Interaction Team
Data Source prod_int_extraction_dw
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
USB
Camera
Amazon SageMaker
Nvidia Jetson Nano
AWS IoT
Greengrass
IoT
topics
IoT
topics
AWS Cloud
Model
At the Edge: Retrain
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Video / Demo - Retraining, redeploy & test
Demo
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Retraining and redeployment improvements to try
• Using Amazon SageMaker Ground Truth.
• Experimenting with training parameters in the Amazon SageMaker
notebook to improve your model’s accuracy.
• Adding a buffering mechanism to store captured images when the Core
device is offline and upload to S3 when connectivity to the cloud is
restored. Eg. Remote locations or poor connectivity
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AI entirely in the Cloud
IoT thing
camera
Amazon Kinesis Video
Streams
Rekognition video
https://aws.amazon.com/blogs/machine-learning/easily-
perform-facial-analysis-on-live-feeds-by-creating-a-
serverless-video-analytics-environment-with-amazon-
rekognition-video-and-amazon-kinesis-video-streams/
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Straight to Cloud -
https://aws-quickstart.s3.amazonaws.com/quickstart-onica-
connected-camera/doc/aws-iot-camera-connector-on-the-
aws-cloud.pdf
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
To make it easier…
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Greengrass Image Classification connectors
The Image Classification connectors provide a machine learning (ML)
inference service that runs on the AWS IoT Greengrass core.
Training jobs built using ‘image classification’ can be accessed directly
from Greengrass ML image classification connector (Jetson Nano
support pending)
User-defined Lambda functions use the AWS IoT Greengrass Machine
Learning SDK to submit inference requests to the local inference
service.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Runtimes and precompiled framework libraries
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Sagemaker NEO - Deep Learning Runtime
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Problem: Framework optimization is complicated
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SageMaker Neo: Train once, run anywhere
Compiler Processor vendors can integrate
hardware-specific optimizations
Neo
Runtime Device makers can embed runtime into
edge devices and IoT
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SageMaker Neo is part of the SageMaker ML workflow
Train once, run
anywhere &
Model
Optimization
Train and
tune models
Amazon SageMaker Neo
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Well architected IoT
Operational
Excellence Security Reliability
Performance
Efficiency
Cost
Optimization
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
IoT Architecture Resources
http://iotatlas.net/
https://d1.awsstatic.com/whitepapers/architectur
e/AWS-IoT-Lens.pdf
https://d1.awsstatic.com/whitepapers/Designing_MQTT_Topics_for_AWS_IoT_Core.pdf
https://www.aws.training/LearningLibrary?&search=IoT&tab=view_all
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Resources
Hybrid AI at the Edge
https://aws.amazon.com/blogs/machine-learning/track-the-number-of-coffees-consumed-using-aws-deeplens/
At the Edge: How to deploy and retrain
http://bit.ly/greengrass-ml-workshop
https://aws.amazon.com/blogs/iot/machine-learning-at-the-edge-using-and-retraining-image-classification-models-with-
aws-iot-greengrass-part-1/
https://aws.amazon.com/blogs/iot/machine-learning-at-the-edge-using-and-retraining-image-classification-models-with-
aws-iot-greengrass-part-2/
https://docs.aws.amazon.com/greengrass/latest/developerguide/ml-dlc-console.html
https://github.com/aws-samples/aws-greengrass-samples/blob/master/iot-blog/image-classification-connector-and-
feedback/notebook/greengrass-image-classification-blog.ipynb
https://aws.amazon.com/blogs/iot/how-to-install-a-face-recognition-model-at-the-edge-with-aws-iot-greengrass/
nVidia Jetson Nano:
https://aws.amazon.com/blogs/machine-learning/use-pre-trained-models-with-apache-mxnet/
https://devtalk.nvidia.com/default/topic/1049293/jetson-nano/i-was-unable-to-compile-and-install-mxnet-on-the-jetson-
nano-is-there-an-official-installation-tutorial-/1
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Resources (cont.)
Cloud-based only AI
https://aws.amazon.com/blogs/machine-learning/easily-perform-facial-analysis-on-live-feeds-by-creating-a-serverless-
video-analytics-environment-with-amazon-rekognition-video-and-amazon-kinesis-video-streams/
https://aws.amazon.com/blogs/machine-learning/video-analytics-in-the-cloud-and-at-the-edge-with-aws-deeplens-and-
kinesis-video-streams/
https://aws.amazon.com/about-aws/whats-new/2018/10/kinesis-video-streams-fragment-level-metadata-support/
https://aws.amazon.com/quickstart/architecture/camera-connector-onica/

Mais conteúdo relacionado

Mais procurados

SRV309 AWS Purpose-Built Database Strategy: The Right Tool for the Right Job
 SRV309 AWS Purpose-Built Database Strategy: The Right Tool for the Right Job SRV309 AWS Purpose-Built Database Strategy: The Right Tool for the Right Job
SRV309 AWS Purpose-Built Database Strategy: The Right Tool for the Right JobAmazon Web Services
 
Journey Through the AWS Cloud; Building Powerful Web Applications
Journey Through the AWS Cloud; Building Powerful Web ApplicationsJourney Through the AWS Cloud; Building Powerful Web Applications
Journey Through the AWS Cloud; Building Powerful Web ApplicationsAmazon Web Services
 
AWS Webcast - What is Cloud Computing?
AWS Webcast - What is Cloud Computing?AWS Webcast - What is Cloud Computing?
AWS Webcast - What is Cloud Computing?Amazon Web Services
 
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
How to Build a Data Lake in Amazon S3 & Amazon Glacier - AWS Online Tech Talks
How to Build a Data Lake in Amazon S3 & Amazon Glacier - AWS Online Tech TalksHow to Build a Data Lake in Amazon S3 & Amazon Glacier - AWS Online Tech Talks
How to Build a Data Lake in Amazon S3 & Amazon Glacier - AWS Online Tech TalksAmazon Web Services
 
Power up Your AWS Data Lake and Warehouse with Trusted Data (Sponsored by Tal...
Power up Your AWS Data Lake and Warehouse with Trusted Data (Sponsored by Tal...Power up Your AWS Data Lake and Warehouse with Trusted Data (Sponsored by Tal...
Power up Your AWS Data Lake and Warehouse with Trusted Data (Sponsored by Tal...Amazon Web Services
 
Big Data and Alexa_Voice-Enabled Analytics
Big Data and Alexa_Voice-Enabled Analytics Big Data and Alexa_Voice-Enabled Analytics
Big Data and Alexa_Voice-Enabled Analytics Amazon Web Services
 
Bridgewater's Model-Based Verification of AWS Security Controls
Bridgewater's Model-Based Verification of AWS Security Controls Bridgewater's Model-Based Verification of AWS Security Controls
Bridgewater's Model-Based Verification of AWS Security Controls Amazon Web Services
 
AWS Webinar Series | Using Virtual Reality to bring your ChatBot to life
AWS Webinar Series | Using Virtual Reality to bring your ChatBot to life AWS Webinar Series | Using Virtual Reality to bring your ChatBot to life
AWS Webinar Series | Using Virtual Reality to bring your ChatBot to life Amazon Web Services
 
Monolithic to Heterogenous - AWS FS Cloud Symposium Apr 2019.pdf
Monolithic to Heterogenous - AWS FS Cloud Symposium Apr 2019.pdfMonolithic to Heterogenous - AWS FS Cloud Symposium Apr 2019.pdf
Monolithic to Heterogenous - AWS FS Cloud Symposium Apr 2019.pdfAmazon Web Services
 
SRV320 Deep Dive on VMware Cloud on AWS
 SRV320 Deep Dive on VMware Cloud on AWS SRV320 Deep Dive on VMware Cloud on AWS
SRV320 Deep Dive on VMware Cloud on AWSAmazon Web Services
 
AWS Technical Day Riyadh Nov 2019 - Scaling threat detection and response in aws
AWS Technical Day Riyadh Nov 2019 - Scaling threat detection and response in awsAWS Technical Day Riyadh Nov 2019 - Scaling threat detection and response in aws
AWS Technical Day Riyadh Nov 2019 - Scaling threat detection and response in awsAWS Riyadh User Group
 
AWS DeepLens Workshop_Build Computer Vision Applications
AWS DeepLens Workshop_Build Computer Vision Applications AWS DeepLens Workshop_Build Computer Vision Applications
AWS DeepLens Workshop_Build Computer Vision Applications Amazon Web Services
 
Using AWS Purpose-Built Databases to Modernize your Applications
Using AWS Purpose-Built Databases to Modernize your ApplicationsUsing AWS Purpose-Built Databases to Modernize your Applications
Using AWS Purpose-Built Databases to Modernize your ApplicationsAmazon Web Services
 
Analyzing Your Web and Application Logs
Analyzing Your Web and Application Logs Analyzing Your Web and Application Logs
Analyzing Your Web and Application Logs Amazon Web Services
 
Building Serverless Analytics Solutions with Amazon QuickSight (ANT391) - AWS...
Building Serverless Analytics Solutions with Amazon QuickSight (ANT391) - AWS...Building Serverless Analytics Solutions with Amazon QuickSight (ANT391) - AWS...
Building Serverless Analytics Solutions with Amazon QuickSight (ANT391) - AWS...Amazon Web Services
 

Mais procurados (20)

SRV309 AWS Purpose-Built Database Strategy: The Right Tool for the Right Job
 SRV309 AWS Purpose-Built Database Strategy: The Right Tool for the Right Job SRV309 AWS Purpose-Built Database Strategy: The Right Tool for the Right Job
SRV309 AWS Purpose-Built Database Strategy: The Right Tool for the Right Job
 
Journey Through the AWS Cloud; Building Powerful Web Applications
Journey Through the AWS Cloud; Building Powerful Web ApplicationsJourney Through the AWS Cloud; Building Powerful Web Applications
Journey Through the AWS Cloud; Building Powerful Web Applications
 
AWS Webcast - What is Cloud Computing?
AWS Webcast - What is Cloud Computing?AWS Webcast - What is Cloud Computing?
AWS Webcast - What is Cloud Computing?
 
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
How to Build a Data Lake in Amazon S3 & Amazon Glacier - AWS Online Tech Talks
How to Build a Data Lake in Amazon S3 & Amazon Glacier - AWS Online Tech TalksHow to Build a Data Lake in Amazon S3 & Amazon Glacier - AWS Online Tech Talks
How to Build a Data Lake in Amazon S3 & Amazon Glacier - AWS Online Tech Talks
 
Building-a-Data-Lake-on-AWS
Building-a-Data-Lake-on-AWSBuilding-a-Data-Lake-on-AWS
Building-a-Data-Lake-on-AWS
 
Power up Your AWS Data Lake and Warehouse with Trusted Data (Sponsored by Tal...
Power up Your AWS Data Lake and Warehouse with Trusted Data (Sponsored by Tal...Power up Your AWS Data Lake and Warehouse with Trusted Data (Sponsored by Tal...
Power up Your AWS Data Lake and Warehouse with Trusted Data (Sponsored by Tal...
 
Big Data and Alexa_Voice-Enabled Analytics
Big Data and Alexa_Voice-Enabled Analytics Big Data and Alexa_Voice-Enabled Analytics
Big Data and Alexa_Voice-Enabled Analytics
 
Bridgewater's Model-Based Verification of AWS Security Controls
Bridgewater's Model-Based Verification of AWS Security Controls Bridgewater's Model-Based Verification of AWS Security Controls
Bridgewater's Model-Based Verification of AWS Security Controls
 
Amazon Aurora_Deep Dive
Amazon Aurora_Deep DiveAmazon Aurora_Deep Dive
Amazon Aurora_Deep Dive
 
AWS Webinar Series | Using Virtual Reality to bring your ChatBot to life
AWS Webinar Series | Using Virtual Reality to bring your ChatBot to life AWS Webinar Series | Using Virtual Reality to bring your ChatBot to life
AWS Webinar Series | Using Virtual Reality to bring your ChatBot to life
 
Monolithic to Heterogenous - AWS FS Cloud Symposium Apr 2019.pdf
Monolithic to Heterogenous - AWS FS Cloud Symposium Apr 2019.pdfMonolithic to Heterogenous - AWS FS Cloud Symposium Apr 2019.pdf
Monolithic to Heterogenous - AWS FS Cloud Symposium Apr 2019.pdf
 
SRV320 Deep Dive on VMware Cloud on AWS
 SRV320 Deep Dive on VMware Cloud on AWS SRV320 Deep Dive on VMware Cloud on AWS
SRV320 Deep Dive on VMware Cloud on AWS
 
AWS Technical Day Riyadh Nov 2019 - Scaling threat detection and response in aws
AWS Technical Day Riyadh Nov 2019 - Scaling threat detection and response in awsAWS Technical Day Riyadh Nov 2019 - Scaling threat detection and response in aws
AWS Technical Day Riyadh Nov 2019 - Scaling threat detection and response in aws
 
AWS DeepLens Workshop_Build Computer Vision Applications
AWS DeepLens Workshop_Build Computer Vision Applications AWS DeepLens Workshop_Build Computer Vision Applications
AWS DeepLens Workshop_Build Computer Vision Applications
 
SAP Modernization with AWS
SAP Modernization with AWSSAP Modernization with AWS
SAP Modernization with AWS
 
Using AWS Purpose-Built Databases to Modernize your Applications
Using AWS Purpose-Built Databases to Modernize your ApplicationsUsing AWS Purpose-Built Databases to Modernize your Applications
Using AWS Purpose-Built Databases to Modernize your Applications
 
Analyzing Your Web and Application Logs
Analyzing Your Web and Application Logs Analyzing Your Web and Application Logs
Analyzing Your Web and Application Logs
 
Building Serverless Analytics Solutions with Amazon QuickSight (ANT391) - AWS...
Building Serverless Analytics Solutions with Amazon QuickSight (ANT391) - AWS...Building Serverless Analytics Solutions with Amazon QuickSight (ANT391) - AWS...
Building Serverless Analytics Solutions with Amazon QuickSight (ANT391) - AWS...
 
Builders' Day- Mastering Kubernetes on AWS
Builders' Day- Mastering Kubernetes on AWSBuilders' Day- Mastering Kubernetes on AWS
Builders' Day- Mastering Kubernetes on AWS
 

Semelhante a AWS Immersion Day - Image Data Insights & Analytics Specialist Session - June 2019

Increase the Value of Video with ML & Media Services - SRV322 - Toronto AWS S...
Increase the Value of Video with ML & Media Services - SRV322 - Toronto AWS S...Increase the Value of Video with ML & Media Services - SRV322 - Toronto AWS S...
Increase the Value of Video with ML & Media Services - SRV322 - Toronto AWS S...Amazon Web Services
 
Increase the Value of Video with Machine Learning & Media Services - SRV322 -...
Increase the Value of Video with Machine Learning & Media Services - SRV322 -...Increase the Value of Video with Machine Learning & Media Services - SRV322 -...
Increase the Value of Video with Machine Learning & Media Services - SRV322 -...Amazon Web Services
 
Increase the Value of Video with ML & Media Services - SRV322 - Anaheim AWS S...
Increase the Value of Video with ML & Media Services - SRV322 - Anaheim AWS S...Increase the Value of Video with ML & Media Services - SRV322 - Anaheim AWS S...
Increase the Value of Video with ML & Media Services - SRV322 - Anaheim AWS S...Amazon Web Services
 
Increase the Value of Video with ML & Media Services - SRV322 - Chicago AWS S...
Increase the Value of Video with ML & Media Services - SRV322 - Chicago AWS S...Increase the Value of Video with ML & Media Services - SRV322 - Chicago AWS S...
Increase the Value of Video with ML & Media Services - SRV322 - Chicago AWS S...Amazon Web Services
 
SRV322 Increase the Value of Video with ML & Media Services
 SRV322 Increase the Value of Video with ML & Media Services SRV322 Increase the Value of Video with ML & Media Services
SRV322 Increase the Value of Video with ML & Media ServicesAmazon Web Services
 
AWS 미디어 서비스를 이용한 글로벌 라이브 스트리밍 서비스 구축 - 황윤상 솔루션즈 아키텍트, AWS / 조용진 솔루션즈 아키텍트, AW...
AWS 미디어 서비스를 이용한 글로벌 라이브 스트리밍 서비스 구축 - 황윤상 솔루션즈 아키텍트, AWS / 조용진 솔루션즈 아키텍트, AW...AWS 미디어 서비스를 이용한 글로벌 라이브 스트리밍 서비스 구축 - 황윤상 솔루션즈 아키텍트, AWS / 조용진 솔루션즈 아키텍트, AW...
AWS 미디어 서비스를 이용한 글로벌 라이브 스트리밍 서비스 구축 - 황윤상 솔루션즈 아키텍트, AWS / 조용진 솔루션즈 아키텍트, AW...Amazon Web Services Korea
 
Increase the value of video with machine learning & AWS Media Services - SVC3...
Increase the value of video with machine learning & AWS Media Services - SVC3...Increase the value of video with machine learning & AWS Media Services - SVC3...
Increase the value of video with machine learning & AWS Media Services - SVC3...Amazon Web Services
 
Dissecting Media Asset Management Architecture and Media Archive TCO (MAE301)...
Dissecting Media Asset Management Architecture and Media Archive TCO (MAE301)...Dissecting Media Asset Management Architecture and Media Archive TCO (MAE301)...
Dissecting Media Asset Management Architecture and Media Archive TCO (MAE301)...Amazon Web Services
 
Media Processing Workflows at High Velocity and Scale using AI and ML - AWS O...
Media Processing Workflows at High Velocity and Scale using AI and ML - AWS O...Media Processing Workflows at High Velocity and Scale using AI and ML - AWS O...
Media Processing Workflows at High Velocity and Scale using AI and ML - AWS O...Amazon Web Services
 
AI & ML at Amazon: AWS Developer Workshop - Web Summit 2018
AI & ML at Amazon: AWS Developer Workshop - Web Summit 2018AI & ML at Amazon: AWS Developer Workshop - Web Summit 2018
AI & ML at Amazon: AWS Developer Workshop - Web Summit 2018Amazon Web Services
 
Increase the value of video using ML and AWS media services - SVC301 - Atlant...
Increase the value of video using ML and AWS media services - SVC301 - Atlant...Increase the value of video using ML and AWS media services - SVC301 - Atlant...
Increase the value of video using ML and AWS media services - SVC301 - Atlant...Amazon Web Services
 
Intro To AI & ML at Amazon: Collision 2018
Intro To AI & ML at Amazon: Collision 2018Intro To AI & ML at Amazon: Collision 2018
Intro To AI & ML at Amazon: Collision 2018Amazon Web Services
 
Build Enterprise-Grade Serverless Apps - SRV315 - Atlanta AWS Summit
Build Enterprise-Grade Serverless Apps - SRV315 - Atlanta AWS SummitBuild Enterprise-Grade Serverless Apps - SRV315 - Atlanta AWS Summit
Build Enterprise-Grade Serverless Apps - SRV315 - Atlanta AWS SummitAmazon Web Services
 
Visualise and Voice-Enable Your Security
Visualise and Voice-Enable Your SecurityVisualise and Voice-Enable Your Security
Visualise and Voice-Enable Your SecurityAmazon Web Services
 
Artificial Intelligence (Machine Learning) on AWS: How to Start
Artificial Intelligence (Machine Learning) on AWS: How to StartArtificial Intelligence (Machine Learning) on AWS: How to Start
Artificial Intelligence (Machine Learning) on AWS: How to StartVladimir Simek
 
Introduction to AWS Lambda and Serverless Applications
Introduction to AWS Lambda and Serverless ApplicationsIntroduction to AWS Lambda and Serverless Applications
Introduction to AWS Lambda and Serverless ApplicationsAmazon Web Services
 
Intro to AWS Lambda and Serverless Applications: re:Invent 2018 Recap at the ...
Intro to AWS Lambda and Serverless Applications: re:Invent 2018 Recap at the ...Intro to AWS Lambda and Serverless Applications: re:Invent 2018 Recap at the ...
Intro to AWS Lambda and Serverless Applications: re:Invent 2018 Recap at the ...Amazon Web Services
 
Thinking Asynchronously - ServerlessDays Istanbul - Oct 3 2019
Thinking Asynchronously - ServerlessDays Istanbul - Oct 3 2019 Thinking Asynchronously - ServerlessDays Istanbul - Oct 3 2019
Thinking Asynchronously - ServerlessDays Istanbul - Oct 3 2019 Eric Johnson
 
Building Data Lakes and Analytics on AWS
Building Data Lakes and Analytics on AWSBuilding Data Lakes and Analytics on AWS
Building Data Lakes and Analytics on AWSAmazon Web Services
 

Semelhante a AWS Immersion Day - Image Data Insights & Analytics Specialist Session - June 2019 (20)

Increase the Value of Video with ML & Media Services - SRV322 - Toronto AWS S...
Increase the Value of Video with ML & Media Services - SRV322 - Toronto AWS S...Increase the Value of Video with ML & Media Services - SRV322 - Toronto AWS S...
Increase the Value of Video with ML & Media Services - SRV322 - Toronto AWS S...
 
Increase the Value of Video with Machine Learning & Media Services - SRV322 -...
Increase the Value of Video with Machine Learning & Media Services - SRV322 -...Increase the Value of Video with Machine Learning & Media Services - SRV322 -...
Increase the Value of Video with Machine Learning & Media Services - SRV322 -...
 
Increase the Value of Video with ML & Media Services - SRV322 - Anaheim AWS S...
Increase the Value of Video with ML & Media Services - SRV322 - Anaheim AWS S...Increase the Value of Video with ML & Media Services - SRV322 - Anaheim AWS S...
Increase the Value of Video with ML & Media Services - SRV322 - Anaheim AWS S...
 
Increase the Value of Video with ML & Media Services - SRV322 - Chicago AWS S...
Increase the Value of Video with ML & Media Services - SRV322 - Chicago AWS S...Increase the Value of Video with ML & Media Services - SRV322 - Chicago AWS S...
Increase the Value of Video with ML & Media Services - SRV322 - Chicago AWS S...
 
SRV322 Increase the Value of Video with ML & Media Services
 SRV322 Increase the Value of Video with ML & Media Services SRV322 Increase the Value of Video with ML & Media Services
SRV322 Increase the Value of Video with ML & Media Services
 
AWS 미디어 서비스를 이용한 글로벌 라이브 스트리밍 서비스 구축 - 황윤상 솔루션즈 아키텍트, AWS / 조용진 솔루션즈 아키텍트, AW...
AWS 미디어 서비스를 이용한 글로벌 라이브 스트리밍 서비스 구축 - 황윤상 솔루션즈 아키텍트, AWS / 조용진 솔루션즈 아키텍트, AW...AWS 미디어 서비스를 이용한 글로벌 라이브 스트리밍 서비스 구축 - 황윤상 솔루션즈 아키텍트, AWS / 조용진 솔루션즈 아키텍트, AW...
AWS 미디어 서비스를 이용한 글로벌 라이브 스트리밍 서비스 구축 - 황윤상 솔루션즈 아키텍트, AWS / 조용진 솔루션즈 아키텍트, AW...
 
Increase the value of video with machine learning & AWS Media Services - SVC3...
Increase the value of video with machine learning & AWS Media Services - SVC3...Increase the value of video with machine learning & AWS Media Services - SVC3...
Increase the value of video with machine learning & AWS Media Services - SVC3...
 
Dissecting Media Asset Management Architecture and Media Archive TCO (MAE301)...
Dissecting Media Asset Management Architecture and Media Archive TCO (MAE301)...Dissecting Media Asset Management Architecture and Media Archive TCO (MAE301)...
Dissecting Media Asset Management Architecture and Media Archive TCO (MAE301)...
 
Media Processing Workflows at High Velocity and Scale using AI and ML - AWS O...
Media Processing Workflows at High Velocity and Scale using AI and ML - AWS O...Media Processing Workflows at High Velocity and Scale using AI and ML - AWS O...
Media Processing Workflows at High Velocity and Scale using AI and ML - AWS O...
 
AI & ML at Amazon: AWS Developer Workshop - Web Summit 2018
AI & ML at Amazon: AWS Developer Workshop - Web Summit 2018AI & ML at Amazon: AWS Developer Workshop - Web Summit 2018
AI & ML at Amazon: AWS Developer Workshop - Web Summit 2018
 
Increase the value of video using ML and AWS media services - SVC301 - Atlant...
Increase the value of video using ML and AWS media services - SVC301 - Atlant...Increase the value of video using ML and AWS media services - SVC301 - Atlant...
Increase the value of video using ML and AWS media services - SVC301 - Atlant...
 
Intro To AI & ML at Amazon: Collision 2018
Intro To AI & ML at Amazon: Collision 2018Intro To AI & ML at Amazon: Collision 2018
Intro To AI & ML at Amazon: Collision 2018
 
Build Enterprise-Grade Serverless Apps - SRV315 - Atlanta AWS Summit
Build Enterprise-Grade Serverless Apps - SRV315 - Atlanta AWS SummitBuild Enterprise-Grade Serverless Apps - SRV315 - Atlanta AWS Summit
Build Enterprise-Grade Serverless Apps - SRV315 - Atlanta AWS Summit
 
Visualise and Voice-Enable Your Security
Visualise and Voice-Enable Your SecurityVisualise and Voice-Enable Your Security
Visualise and Voice-Enable Your Security
 
Artificial Intelligence (Machine Learning) on AWS: How to Start
Artificial Intelligence (Machine Learning) on AWS: How to StartArtificial Intelligence (Machine Learning) on AWS: How to Start
Artificial Intelligence (Machine Learning) on AWS: How to Start
 
Intro to AI & ML at Amazon
Intro to AI & ML at AmazonIntro to AI & ML at Amazon
Intro to AI & ML at Amazon
 
Introduction to AWS Lambda and Serverless Applications
Introduction to AWS Lambda and Serverless ApplicationsIntroduction to AWS Lambda and Serverless Applications
Introduction to AWS Lambda and Serverless Applications
 
Intro to AWS Lambda and Serverless Applications: re:Invent 2018 Recap at the ...
Intro to AWS Lambda and Serverless Applications: re:Invent 2018 Recap at the ...Intro to AWS Lambda and Serverless Applications: re:Invent 2018 Recap at the ...
Intro to AWS Lambda and Serverless Applications: re:Invent 2018 Recap at the ...
 
Thinking Asynchronously - ServerlessDays Istanbul - Oct 3 2019
Thinking Asynchronously - ServerlessDays Istanbul - Oct 3 2019 Thinking Asynchronously - ServerlessDays Istanbul - Oct 3 2019
Thinking Asynchronously - ServerlessDays Istanbul - Oct 3 2019
 
Building Data Lakes and Analytics on AWS
Building Data Lakes and Analytics on AWSBuilding Data Lakes and Analytics on AWS
Building Data Lakes and Analytics on AWS
 

Mais de Amazon Web Services

Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 
Come costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWSCome costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWSAmazon Web Services
 
AWS Serverless per startup: come innovare senza preoccuparsi dei server
AWS Serverless per startup: come innovare senza preoccuparsi dei serverAWS Serverless per startup: come innovare senza preoccuparsi dei server
AWS Serverless per startup: come innovare senza preoccuparsi dei serverAmazon Web Services
 

Mais de Amazon Web Services (20)

Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 
Come costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWSCome costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWS
 
AWS Serverless per startup: come innovare senza preoccuparsi dei server
AWS Serverless per startup: come innovare senza preoccuparsi dei serverAWS Serverless per startup: come innovare senza preoccuparsi dei server
AWS Serverless per startup: come innovare senza preoccuparsi dei server
 

AWS Immersion Day - Image Data Insights & Analytics Specialist Session - June 2019

  • 1. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Public Sector June 2019 Using AI and ML services on video streams Immersion day
  • 2. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Why Machine Learning for Media? Increase Engagement and Content Discovery Accelerate information through metadata Launch new content or services
  • 3. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda • Quick Service Overview • Content Indexing & Metadata Generation for image and video • Media Analysis Solution
  • 4. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Machine Learning Stack Platforms Application services A m a z o n R e k o g n i t i o n A m a z o n R e k o g n i t i o n V i d e o P o l l y T r a n s c r i b e T r a n s l a t e C o m p r e h e n dL e x Amazon SageMaker Amazon Mechanical Turk Frameworks KERAS NVIDIA Tesla V100 GPUs (14x faster than P2) P3 Machine Learning AMIs 5,120 Tensor cores 128 GB of memory 1 Petaflop of compute NVLink 2.0 Infrastructure &
  • 5. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Automating Footage Tagging with Amazon Rekognition • Built in 3 weeks • Indexed against 99,000 people • Index created in one day • Saved ~9,000 hours a year in manual curation costs • Live video with frame sampling Previously, only about half of all footage was indexed due to the immense time requirements required by manual processes
  • 6. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Key Services For Today Processing ML Orchestration AWS Step Functions AWS LambdaAmazon Transcribe Amazon Rekognition AWS Elemental MediaConvert AWS Elemental MediaLive
  • 7. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Elemental MediaConvert • Professional grade video features and quality • No software or hardware infrastructure to manage • Automatically scales in response to variations in incoming video volume • Ability to manage capacity and control order in which jobs are processed • Pay for what you use, billed by the second of content produced AWS Elemental MediaConvert
  • 8. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Rekognition Object & scene detection Facial analysis Face comparison Face search Celebrity detection Image moderation Text detection "Amazon Rekognition allows us to scalably identify and track actors across millions of frames of content with much higher reliability than any other solution we've used.” - Jared Browarnik, Co-Founder & CTO, TheTake “Amazon Rekognition enables us to quickly and efficiently add value through various automated metadata tagging processes, and images and video segments are much easier to find for our enterprise and our customers.” - Shane Murphy, Solutions Engineer, Scrippsnetworks
  • 9. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Rekognition Video Object, scene & Activity detection Face search Facial analysis Activity pathing Unsafe content detection Celebrity detection Text in images
  • 10. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Transcribe A fully managed and continuously trained automatic speech recognition (ASR) service that takes in audio and automatically generates accurate transcripts Support for audio in many formats and low fidelity § Amazon S3 integration Hello /Hola Time stamps and confidence scores English and Spanish Punctuation
  • 11. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Transcribe – Use Cases Call Center Subtitles MeetingsContent indexingCompliance
  • 12. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Step Functions VisualizeDefine Monitor Task A single unit of work Choice Adds branching logic Parallel Fork and join the data Wait Delay for a specified time Fail Stops an execution Succeed Stops an execution successfully Pass Passes its input to its output
  • 13. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Using Amazon ML Services for Media • Use services such as Amazon Rekognition & Amazon Transcribe to generate metadata about your content • Store that metadata and make it searchable • Retrieve only the portion of the content you want • Prepare it for timely use Live and file Sources Amazon ML Services ML Amazon DynamoDB Database Live and file Content Content Indexing / Metadata Generation Content Retrieval / Action Metadata AWS Elemental Media Services Media processing AWS Elemental Media Services Media processing
  • 14. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Content Indexing / Metadata Generation
  • 15. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Content Indexing / Metadata Generation File- based content Live content MediaLive Kinesis Video Streams MediaConvert Amazon Rekognition (Image) • JPEG/PNG • Up to 15 MB Amazon Rekognition (Video) • H.264 video • MP4/MOV file • Up to 8 GB Transcribe • FLAC/MP3/WAV/ MP4 • Up to 2 hours • Up to 1 GB
  • 16. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Content Indexing / Metadata Generation − Image AWS Elemental MediaConvert job transcodes file and extracts JPEG frames to S3 bucket. AWS Lambda function triggered by Amazon S3 object-created event tells Amazon Rekognition to analyze the JPEG file. Amazon Rekognition performs requested operation on image (i.e., object detection, celebrity recognition, etc.). Amazon Rekognition returns result to AWS Lambda, which stores tags and confidence scores in Amazon DynamoDB, Amazon Redshift, Amazon Elasticsearch Service, Amazon RDS, or whichever service best suits the use case. AWS Elemental MediaConvert File-based processing Amazon S3 Storage AWS Lambda Serverless Amazon Rekognition ML / AI Amazon DynamoDB Database File Source
  • 17. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. MediaConvert Configuration Framerate determines the number of images that will be extracted from the video per second. 1/5 indicates to create one JPEG every 5 seconds.
  • 18. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Lambda Function Code Example – Amazon Rekognition Image
  • 19. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Rekognition Image Results
  • 20. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Content Indexing / Metadata Generation – Video AWS Elemental MediaConvert job transcodes source file to H.264/MP4 at a bit rate such that the file size is <8 GB. AWS Lambda function triggered by Amazon S3 object-created event tells Amazon Rekognition to analyze the video file. Amazon Rekognition Video performs requested operation on video (i.e., person tracking, celebrity recognition, etc.). Amazon Rekognition returns result to AWS Lambda, which stores tags and confidence scores in Amazon DynamoDB, Amazon Redshift, Amazon Elasticsearch Service, Amazon RDS, or whichever service best suits the use case. AWS Elemental MediaConvert File-based processing Amazon S3 Storage AWS Lambda Serverless Amazon Rekognition ML / AI Amazon DynamoDB Database File Source
  • 21. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. MediaConvert Configuration Use Container MPEG-4 Container (MP4) and a file extension of mp4. Set Video Codec to MPEG-4 AVC (H.264). Select bit rate accordingly so output file is smaller than 8 GB. For example, a 60- minute movie at 7 Mbps will be approximately 3.2 GB.
  • 22. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Lambda Function Code Example – Amazon Rekognition Video
  • 23. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Lambda Function Code Example – Amazon Rekognition Video
  • 24. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Content Indexing / Metadata Generation – Transcription AWS Elemental MediaConvert job transcodes source file, creating audio-only rendition for Amazon Transcribe AWS Elemental MediaConvert also creates normal audio/video output AWS Lambda function triggered by Amazon S3 object-created event creates a new Transcribe job Amazon Transcribe outputs JSON file of detected words and timing Lambda function converts Amazon Transcribe JSON into subtitle format (such as WebVTT, SRT, or TTML) and delivers to Amazon S3 bucket with content AWS Elemental MediaConvert File-based processing AWS Lambda Serverless Amazon Transcribe ML / AI File Source Amazon S3 Storage Amazon S3 STORAGE
  • 25. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. MediaConvert Configuration
  • 26. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Lambda Function Code Example − Amazon Transcribe
  • 27. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Polling Transcribe with AWS Step Functions
  • 28. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Transcribe Results
  • 29. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Transcribe to Captions
  • 30. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Media Analysis Solution https://aws.amazon.com/answers/media-entertainment/media-analysis-solution/ • Generate searchable metadata from your media assets using Amazon Rekognition, Amazon Transcribe, Amazon Comprehend, and Amazon Elasticsearch Service • Deploy in minutes with a single click using AWS CloudFormation • Interact via API or demo web UI • Orchestrated with Step Functions, extensible and easily customizable
  • 31. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thank you cclawton@amazon.com
  • 32. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Paul Macey Specialist Solution Architect, Big Data and Analytics AWS Public Sector June 2019 Multi Source, Multi Speed Data Consumption & Analytics on AWS Immersion day
  • 33. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda How did it come to this? Organisational goldmines Well architected data pipelines Multisource, multispeed patterns Wrap up
  • 34. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. How did it come to this?
  • 35. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Security Day 0 Data governance & metadata Data centralised & scalable SQL & BI ready Analytical & Data Science foundation Repeatable & Extensible Accelerated Data Lake
  • 36. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Unintended data pipelines Geospatial Girl The Oracle The Data Scientist External request Sales Analyst Operations Security Guy The Boss
  • 37. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Organisational goldmines
  • 38. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Organisational goldmines csv json xls Databases Batch FTPStreaming IoT
  • 39. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Well architected data pipelines Operational Excellence Security Reliability Performance Efficiency Cost Optimization
  • 40. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Customer example Health Organisation In New Zealand Challenge : Needed to bring disparate datasets together Too many external files Current State: SQL Server 2008 Large text files ETL (SSIS) https://www.linkedin.com/pulse/how-we-built-data-lake-less-than-4-weeks-alex-poor/ Solution : Uses the ADL solution as a base Extended the solution to access FTP server data Entirely serverless
  • 41. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Multisource, multispeed data and analytics patterns
  • 42. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Streaming
  • 43. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Streaming Pattern Smart City Camera camera_stream datetime sensorId locationId currentTemperature battery objectDetected status camera_stream Create SQL Schema Write SQL to query stream Amazon Kinesis Data Firehose Amazon Kinesis Data Streams Amazon Kinesis Data Analytics Amazon Kinesis Data Analytics
  • 44. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. API Pattern - Inbound WeatherTraffic Amazon CloudWatch AWS Lambda Amazon S3
  • 45. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. API Pattern - Outbound Camera, weather, and traffic Insights AWS Lambda Amazon S3Amazon API Gateway
  • 46. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. IoT and IoT Analytics Find Hidden Data Connections with Enrichment AWS IoT Analytics Device Registry Weather data AWS IoT Core
  • 47. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SFTP Pattern + No end-user disruption + Fully managed servers + Simple to use + Pay as you use + Native cloud integrations AWS SFTP Amazon S3 AWS Transfer for SFTP
  • 48. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Data Stores Data stores CDC AWS Database Migration Service * Target only Amazon DynamoDB* Amazon Kinesis Amazon S3 Amazon RDS
  • 49. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Data Stores
  • 50. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. "We migrated hundreds of our clients from our in-house data-center to Amazon RDS Oracle 12c using the AWS Data Migration Service (DMS). Due to this service, we could live-replicate the databases between our data-center and RDS before the migration. That kept the migration down-time to the very minimum. We are very happy with DMS and are planning to use it for Oracle to MySQL migration next”. ”The SCT Assessment Report was the key enabler to allow us to understand the scope of effort required to complete an Oracle to PostgreSQL migration. What was originally thought to be a largely manual task that no one was particularly excited about having to do became a very straight-forward quick and easy process." “We are in the process of migrating some databases to Amazon Aurora. The ease by which we can do this using the AWS Database Migration Service has simplified this process for us and enabled us to accelerate our migration efforts. The ability to closely monitor the process, the detailed logging feature, and the support we received from AWS have given us a great deal of confidence in a successful migration.” Who is saying what about DMS and SCT?
  • 51. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Shared file systems NFS TLS AWS storage resources AWS DataSync agent AWS DataSync Amazon S3 Amazon Elastic File System Region Batch Processing Pattern Corporate data center Transfer data at speeds up to 10 times faster than open-source tools
  • 52. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. New services, new patterns
  • 53. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Lake Formation Insights & visualisation Amazon QuickSight ETL AWS Glue Ad-Hoc Querying Amazon Athena Amazon S3 Storage AWS Glue Catalog / Connectivity
  • 54. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Neptune: A fully managed graph database Amazon S3
  • 55. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS has services and patterns to create YOUR organisations data goldmine csv json xls Batch FTPStreaming IoT Geospatial Girl The Oracle Operations External Requests The Data Scientist Analyst Sales
  • 56. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Success with well architected data pipelines Security GuyThe Boss The Oracle
  • 57. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. References AWS Accelerated Data Lake (Git) https://github.com/aws-samples/accelerated-data-lake AWS Accelerated Data Lake Blog (part 1 & 2) https://aws.amazon.com/blogs/publicsector/from-data-silos-to-data-domains-bringing-common-data-together https://aws.amazon.com/blogs/publicsector/securing-your-data-by-knowing-your-data Our data lake story: How Woot.com built a serverless data lake on AWS https://aws.amazon.com/blogs/big-data/our-data-lake-story-how-woot-com-built-a-serverless-data-lake-on-aws Kinesis Data Generator https://awslabs.github.io/amazon-kinesis-data-generator/
  • 58. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. References IoT analytics https://aws.amazon.com/iot-analytics/ AWS Database Migration Service https://aws.amazon.com/dms/ AWS Transfer for SFTP https://aws.amazon.com/sftp/ AWS Datasync https://aws.amazon.com/datasync/ Amazon Kinesis https://aws.amazon.com/kinesis/ Amazon Kinesis Analytics https://aws.amazon.com/kinesis/data- analytics
  • 59. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Available today @ GitHub https://github.com/aws-samples/accelerated-data-lake Includes Data lake pipeline (CloudFormation) Instructions Data configuration, security and metadata templates Delivery Professional services AWS partners Accelerated Data Lake
  • 60. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Public Sector June 2019 Incorporating Vision & Intelligence with Machine Learning at the Edge Immersion day
  • 61. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda Recap: Machine Learning & IoT / Edge Architectural models: Hybrid AI at the Edge At the Edge: How to deploy and retrain Cloud-based only AI Customer example: ParKam Tools to make things easier Well Architected Resources
  • 62. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ML can enhance every application Autonomous vehicles Smart agriculture Predictive maintenance Robotics Speech and sound recognition Video security Anomaly detection More
  • 63. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. M L F R A M E W O R K S & I N F R A S T R U C T U R E A I S E R V I C E S R E K O G N I T I O N I M A G E P O L L Y T R A N S C R I B E T R A N S L A T E C O M P R E H E N D L E XR E K O G N I T I O N V I D E O Vision Speech Language Chatbots A M A Z O N S A G E M A K E R B U I L D T R A I N F O R E C A S T Forecasting T E X T R A C T P E R S O N A L I Z E Recommendations D E P L O Y Pre-built algorithms & notebooks Data labeling (G R O U N D T R U T H ) One-click model training & tuning Optimization (N E O ) One-click deployment & hosting M L S E R V I C E S F r a m e w o r k s I n t e r f a c e s I n f r a s t r u c t u r e E C 2 P 3 & P 3 N E C 2 C 5 F P G A s G R E E N G R A S S E L A S T I C I N F E R E N C E Reinforcement learningAlgorithms & models ( A W S M A R K E T P L A C E F O R M A C H I N E L E A R N I N G ) Artificial Intelligence (AI) & Machine Learning (ML)
  • 64. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SageMaker Fully managed hosting with auto- scaling One-click deployment Pre-built notebooks for common problems Built-in, high performance algorithms One-click training Hyperparameter optimisation B U I L D T R A I N D E P L O Y
  • 65. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. IoT virtuous cycle Intelligence and outcomes
  • 66. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS IoT Events IoT virtuous cycle AWS IoT Analytics AWS IoT SiteWise Intelligence and outcomes AWS IoT Device Management AWS IoT Things Graph AWS IoT Core AWS IoT Device Defender AWS IoT Device SDK Amazon FreeRTOS AWS IoT Device Tester AWS IoT Greengrass
  • 67. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Build conditional logic to evaluate incoming telemetry data to detect events in equipment or a process Detect events from data across thousands of sensors and other sources Trigger responses to optimize operations AWS IoT Events allow you to continuously monitor data from your equipment and fleets of devices for changes in operation and to trigger the appropriate response when events occur Data services ! AWS IoT Events - Generally Available!
  • 68. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS IoT Things Graph - Generally Available! Models Run at the edge Monitor Flows Visual UI
  • 69. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Data and State Sync Security Over the Air UpdatesConnectors Local Device Shadows Code Deployment Lambda Functions AWS-grade security Easily Update Greengrass Core Machine Learning Inference Local Execution of ML Models Local Resource Access Lambdas Interact With Peripherals Easy integrations with AWS services, protocol adaptors and other SaaS providers Local Messages and Triggers Local Message Broker Manage Secrets at the edge AWS Secrets Manager functionality at edge AWS Greengrass Extend AWS IoT to the Edge
  • 70. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Data and State Sync Security Over the Air UpdatesConnectors Local Device Shadows Code Deployment Lambda Functions AWS-grade security Easily Update Greengrass Core Machine Learning Inference Local Execution of ML Models Local Resource Access Lambdas Interact With Peripherals Easy integrations with AWS services, protocol adaptors and other SaaS providers Local Messages and Triggers Local Message Broker Manage Secrets at the edge AWS Secrets Manager functionality at edge AWS Greengrass Extend AWS IoT to the Edge
  • 71. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Hybrid AI at the Edge Scene Model AWS IoT AWS Greengrass Project Stream (optional) Device AWS Elastic Beanstalk Amazon Rekognition Amazon DynamoDB
  • 72. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Existing DeepLens Face Detection Model
  • 73. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. New Face Detection Lambda to upload to S3
  • 74. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Cloud-side Lambda adds items to DynamoDB tables when faces detected.
  • 75. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Demo - Deeplens using local and cloud inference Coffee_blog.mp4 (3:23)
  • 76. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Inference Training Machine Learning at the Edge Local actions Edge Cloud AWS IoT Analytics Amazon S3
  • 77. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Inference Training Machine Learning at the Edge Local actions Edge Cloud Amazon SageMaker
  • 78. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Inference Training Machine Learning at the Edge Local actions Edge Cloud Amazon SageMaker Optimize with Amazon SageMaker/Neo
  • 79. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Inference Training Machine Learning at the Edge Local actions Edge Cloud AWS IoT Greengrass Deploy
  • 80. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Inference Training Local actions Edge Cloud AWS IoT Greengrass Machine Learning at the Edge
  • 81. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. USB Camera Amazon SageMaker Nvidia Jetson Nano AWS IoT Greengrass IoT topics IoT topics AWS Cloud Model At the Edge: How to deploy and retrain
  • 82. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Nvidia Jetson Nano GPU 128-core Maxwell CPU Quad-core ARM A57 @ 1.43 GHz Memory 4 GB 64-bit LPDDR4 25.6 GB/s
  • 83. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Sagemaker training • Caltech-256 data set • Pre-built ‘image classification’ algorithm
  • 84. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 85. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. USB Camera Amazon SageMaker Nvidia Jetson Nano AWS IoT Greengrass IoT topics IoT topics AWS Cloud Model At the Edge: Deploy and test
  • 86. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Demo - Inference at Edge Beverages_p2.mp4 (3:00)
  • 87. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. S3 Object Tags and Metadata Image1001.jpg jpeg image data S3 object tags S3 object data.csv S3 metadata Key Value Classification Internal PII False Use Case Interaction Extracts Team Analytics Key Value Policy facility_iinternal MD5 ab3116cded134 Data Owner User Interaction Team Data Source prod_int_extraction_dw
  • 88. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. USB Camera Amazon SageMaker Nvidia Jetson Nano AWS IoT Greengrass IoT topics IoT topics AWS Cloud Model At the Edge: Retrain
  • 89. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Video / Demo - Retraining, redeploy & test Demo
  • 90. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Retraining and redeployment improvements to try • Using Amazon SageMaker Ground Truth. • Experimenting with training parameters in the Amazon SageMaker notebook to improve your model’s accuracy. • Adding a buffering mechanism to store captured images when the Core device is offline and upload to S3 when connectivity to the cloud is restored. Eg. Remote locations or poor connectivity
  • 91. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AI entirely in the Cloud IoT thing camera Amazon Kinesis Video Streams Rekognition video https://aws.amazon.com/blogs/machine-learning/easily- perform-facial-analysis-on-live-feeds-by-creating-a- serverless-video-analytics-environment-with-amazon- rekognition-video-and-amazon-kinesis-video-streams/
  • 92. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Straight to Cloud - https://aws-quickstart.s3.amazonaws.com/quickstart-onica- connected-camera/doc/aws-iot-camera-connector-on-the- aws-cloud.pdf
  • 93. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. To make it easier…
  • 94. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Greengrass Image Classification connectors The Image Classification connectors provide a machine learning (ML) inference service that runs on the AWS IoT Greengrass core. Training jobs built using ‘image classification’ can be accessed directly from Greengrass ML image classification connector (Jetson Nano support pending) User-defined Lambda functions use the AWS IoT Greengrass Machine Learning SDK to submit inference requests to the local inference service.
  • 95. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Runtimes and precompiled framework libraries
  • 96. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Sagemaker NEO - Deep Learning Runtime
  • 97. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Problem: Framework optimization is complicated
  • 98. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SageMaker Neo: Train once, run anywhere Compiler Processor vendors can integrate hardware-specific optimizations Neo Runtime Device makers can embed runtime into edge devices and IoT
  • 99. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. SageMaker Neo is part of the SageMaker ML workflow Train once, run anywhere & Model Optimization Train and tune models Amazon SageMaker Neo
  • 100. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Well architected IoT Operational Excellence Security Reliability Performance Efficiency Cost Optimization
  • 101. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. IoT Architecture Resources http://iotatlas.net/ https://d1.awsstatic.com/whitepapers/architectur e/AWS-IoT-Lens.pdf https://d1.awsstatic.com/whitepapers/Designing_MQTT_Topics_for_AWS_IoT_Core.pdf https://www.aws.training/LearningLibrary?&search=IoT&tab=view_all
  • 102. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Resources Hybrid AI at the Edge https://aws.amazon.com/blogs/machine-learning/track-the-number-of-coffees-consumed-using-aws-deeplens/ At the Edge: How to deploy and retrain http://bit.ly/greengrass-ml-workshop https://aws.amazon.com/blogs/iot/machine-learning-at-the-edge-using-and-retraining-image-classification-models-with- aws-iot-greengrass-part-1/ https://aws.amazon.com/blogs/iot/machine-learning-at-the-edge-using-and-retraining-image-classification-models-with- aws-iot-greengrass-part-2/ https://docs.aws.amazon.com/greengrass/latest/developerguide/ml-dlc-console.html https://github.com/aws-samples/aws-greengrass-samples/blob/master/iot-blog/image-classification-connector-and- feedback/notebook/greengrass-image-classification-blog.ipynb https://aws.amazon.com/blogs/iot/how-to-install-a-face-recognition-model-at-the-edge-with-aws-iot-greengrass/ nVidia Jetson Nano: https://aws.amazon.com/blogs/machine-learning/use-pre-trained-models-with-apache-mxnet/ https://devtalk.nvidia.com/default/topic/1049293/jetson-nano/i-was-unable-to-compile-and-install-mxnet-on-the-jetson- nano-is-there-an-official-installation-tutorial-/1
  • 103. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Resources (cont.) Cloud-based only AI https://aws.amazon.com/blogs/machine-learning/easily-perform-facial-analysis-on-live-feeds-by-creating-a-serverless- video-analytics-environment-with-amazon-rekognition-video-and-amazon-kinesis-video-streams/ https://aws.amazon.com/blogs/machine-learning/video-analytics-in-the-cloud-and-at-the-edge-with-aws-deeplens-and- kinesis-video-streams/ https://aws.amazon.com/about-aws/whats-new/2018/10/kinesis-video-streams-fragment-level-metadata-support/ https://aws.amazon.com/quickstart/architecture/camera-connector-onica/