SlideShare a Scribd company logo
1 of 68
Download to read offline
S U M M I T
Hong Kong
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Build, Train, and Deploy Machine
Learning Models at Scale
A I M X X X
Ian Perez Ponce
Global Business Development
IoT & Edge Compute @AWS
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
What you will learn today
• Fundamental building blocks for a coherent AI/ML strategy
• Amazon SageMaker overview
• How to simplify building, training, and deployment of ML
• Algorithms, frameworks, bring your own, and automatic model tuning
• Amazon SageMaker Neo and AWS IoT Greengrass better together
• Deployment walkthrough
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Our mission at AWS
Put machine learning in the
hands of every developer
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Why AWS for AI/ML workloads?
Broadest and deepest set
of AI and ML services for
your business
Solving the toughest
problems holding back ML
- cost, ease of use, and
data
75% lower inference cost
70% cost reduction in data-
labeling
“No ML experience required”
Unmatched support for
the most popular
frameworks
Built on the most
comprehensive cloud
platform optimized for
Machine Learning
85% of TensorFlow
projects in the cloud
happen on AWS
200+ new features and
services since Jan 2018
AWS holds the top spots on
Stanford’s benchmark, for
fastest training time, lowest
cost, lowest inference latency
Deepest set of security and
encryption features, with robust
analytics capabilities
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Bringing AI into your digital transformation requires a
new “stack” that makes it easier to put ML to work
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
FRAMEWORKS INTERFACES INFRASTRUCTURE
AI Services
VISION SPEECH LANGUAGE CHATBOTS FORECASTING RECOMMENDATIONS
ML Services
ML Frameworks + Infrastructure
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 X F O R E C A S TR E K O G N I T I O N
I M A G E
R E K O G N I T I O N
V I D E O
T E X T R A C T P E R S O N A L I Z E
Ground Truth Notebooks Algorithms + Marketplace Reinforcement Learning Training Optimization Deployment HostingAmazon SageMaker
F P G A SE C 2 P 3
& P 3 D N
E C 2 G 4 E C 2 C 5 I N F E R E N T I AG 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
The AWS ML Stack
Broadest and deepest set of capabilities
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
FRAMEWORKS INTERFACES INFRASTRUCTURE
AI Services
VISION SPEECH LANGUAGE CHATBOTS FORECASTING RECOMMENDATIONS
ML Services
ML Frameworks + Infrastructure
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 X F O R E C A S TR E K O G N I T I O N
I M A G E
R E K O G N I T I O N
V I D E O
T E X T R A C T P E R S O N A L I Z E
Ground Truth Notebooks Algorithms + Marketplace Reinforcement Learning Training Optimization Deployment HostingAmazon SageMaker
F P G A SE C 2 P 3
& P 3 D N
E C 2 G 4 E C 2 C 5 I N F E R E N T I AG 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
The AWS ML Stack
Broadest and deepest set of capabilities
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
FRAMEWORKS INTERFACES INFRASTRUCTURE
AI Services
VISION SPEECH LANGUAGE CHATBOTS FORECASTING RECOMMENDATIONS
ML Services
ML Frameworks + Infrastructure
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 X F O R E C A S TR E K O G N I T I O N
I M A G E
R E K O G N I T I O N
V I D E O
T E X T R A C T P E R S O N A L I Z E
Ground Truth Notebooks Algorithms + Marketplace Reinforcement Learning Training Optimization Deployment HostingAmazon SageMaker
F P G A SE C 2 P 3
& P 3 D N
E C 2 G 4 E C 2 C 5 I N F E R E N T I AG 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
The AWS ML Stack
Broadest and deepest set of capabilities
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
1
2
3
ML is still too complicated for everyday developers
Build Train Deploy
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
1
2
3
Amazon SageMaker
Build, Train, and Deploy ML Models at Scale
• Notebook
instances
• Call APIs from
your device
• Apache Spark,
SageMaker Spark
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Successful models require high-quality data
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Easily integrate
human labelers
Get accurate
results
K E Y F E A T U R E S
Automatic labeling
via machine
learning
Ready-made and
custom workflows
Label
management
Quickly label
training data
Private and public
human workforce
Amazon SageMaker Ground Truth
Label machine learning training data easily and accurately
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Amazon SageMaker Ground Truth
How it works
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Amazon SageMaker Ground Truth
How it works
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
1
2
3
Amazon SageMaker
Build, Train, and Deploy ML Models at Scale
General Purpose
• Factorization Machines
• K-Means
• K-NN
• Linear Learner
• Object2Vec
• PCA
• XGBoost
NLP
• LDA
• Neural Topic Model
• Seq2Seq
• BlazingText
Application Specific:
• DeepAR
• IP Insights
• Random Cut Forest
Computer Vision
• Image Classification
• Object Detection
• Semantic
Segmentation
• Designed for
speed and scale
• Supervised,
unsupervised,
computer vision,
and NLP
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
1
2
3
Amazon SageMaker
Build, Train, and Deploy ML Models at Scale
• 20 lines of
Python
• Open sourced
• Local mode for
testing
• BYO (Docker)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
1
2
3
Amazon SageMaker
Build, Train, and Deploy ML Models at Scale
• Efficient meta-model
hyperparameter
tuning
• Works with
algorithms,
frameworks, and BYO
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
1
2
3
G R E E N G R A S SE C 2 C 5
E C 2 P 3
E C 2 F 1
I n s t a n c e s
Amazon SageMaker
Build, Train, and Deploy ML Models at Scale
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
1
2
3
Amazon SageMaker
Build, Train, and Deploy ML Models at Scale
• Realtime
endpoints
• Batch transform
• AWS Greengrass
• AWS DeepLens
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
1
2
3
Amazon SageMaker
Build, Train, and Deploy ML Models at Scale
Build Train Deploy
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
So what’s next for machine
learning? How do you teach
machine learning models to make
decisions when there is no training
data?
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Machine Learning Types
Reinforcement learning
(RL)
Supervised learning
(ASR, computer vision)
Unsupervised learning
(anomaly detection,
identifying text topics)
Amount of labeled training data required
Complexityofdecisions
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
What is a RL environment?
Representation
of the real world
Programmed
to represent real-
world conditions
Enables interaction
with user or a
computer program
Dynamic and updates
itself based on the
interactions and
programmed behavior
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Amazon SageMaker RL
Reinforcement learning for every developer and data scientist
2D & 3D physics
environments and
OpenGym support
Support Amazon Sumerian, AWS
RoboMaker, and the open source
Robotics Operating System
(ROS) project
Fully
managed
Example notebooks
and tutorials
K E Y F E A T U R E S
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Reinforcement Learning use cases
AUTONOMOUS CARS FINANCIAL TRADING DATACENTER COOLINGFLEET LOGISTICS
Achieve outcomes, not decisions
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
What if you could train your model
once and run it anywhere, in the
cloud or at the edge, with twice the
speed and no loss in accuracy?
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Repeat for every model and every change in the
model
BYO
AWS
Build with your
own algorithms
Build with built-in
algorithms from AWS
Train with
TensorFlow,
MXNet,
or PyTorch
Optimize
your models
Deploy to
the cloud
Deploy to
the edge
A B
A/B test
Multi-site deployment of ML models is complex
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Models that are accurate tend
to be big and slow
Models are chained to the
framework in which they were
trainedS
L
M
Accuracy
Performance
Problem: Not all models are skinny
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Problem: Not all targets are easy
Need enormous expertise …
Application development: Cloud-native or embedded system
Machine learning: Model training and parameter tuning
Performance tuning: Troubleshooting and optimization
Frameworks: TensorFlow or MXNet or PyTorch or Chainer
Hardware: Cloud server or edge device
Computer architecture: x86 or RISC or GPU or FPGA or ASIC
…and endless time
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Problem: Not every path is a catwalk
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
K E Y F E A T U R E S
Open-source device runtime and compiler,
1/10th the size of original frameworks
Amazon SageMaker Neo
Train once, run anywhere with 2x the performance
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Neo
Amazon SageMaker Neo
Train once, run anywhere
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Parses
model
Optimizes
tensors
Generates
code
Optimizes
graph
Convert a TensorFlow,
MXNet, PyTorch, or
XGBoost model into a
common format
Detect patterns in
the ML model
structure to reduce
the execution time
Shape of input data to
allocate memory
efficiently
Use a low-level compiler to
generate machine code for
each target
Neo Delivers Compilation as a Service
Uses Treelite and Apache TVM for model optimization
No additional cost for Amazon SageMaker users
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Dispatches
model
Partitions
graph
Matches model with
execution backend
Sends subgraph to
suitable accelerator
Neo Delivers a Compact Runtime
Open-source software enables device-specific customization
Framework Size
MXNet 450 MB
TensorFlow 660 MB
PyTorch 1000 MB
Neo 1 MB
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Data labeling &
pre-built
notebooks
for common
problems
Model and
algorithm
marketplace &
Built-in, high-
performance
algorithms
One-click
training on the
highest
performing
infrastructure
One-click model
optimization
One-click
deployment
Improves
performance on
selected hardware
Extends AWS IoT
services onto
your devices
NeoAmazon SageMaker AWS IoT Greengrass
Amazon SageMaker Neo and AWS IoT Greengrass
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Certified HW
Linux / Other OS
GGC
L1 L2 L3
runC
Containers
Device
Mapper
Nodes in
Containers
Code/functions built in AWS Lambda
Lambdas can access Local Resources via
device mapper nodes
ML Inference,
Amazon Sagemaker Neo
AWS IoT Greengrass
A containerized IoT edge runtime
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
AWS IoT Core
Data Transport & Routing
Amazon SageMaker
 Process Optimization
 Product Quality
 Equipment Health
 Output Forecast
 Equipment Efficiency
 Leak Detection
 Asset Planning
 Ops Optimization
 Tool Productivity
AWS IoT Analytics
Data Aggregation, Enrichment,
Cleansing, Time Series
Processing, Model Config
Model creation
Optimization
RetrainingData Collection, Model Inference
AWS IoT
Greengrass
a:FreeRTOS
Intelligence
and outcomes
ML: Train & optimize in the Cloud; Infer at the Edge
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Creating endpoints
Easy deployment to
production REST API
Scalable, high
throughput, and high
reliability
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Creating endpoints
Model aws sagemaker create-model
--model-name model1
--primary-container ‘{“Image”: “123.dkr.ecr.amazonaws.com/algo”,
“ModelDataUrl”: “s3://bkt/model1.tar.gz”}’
--execution-role-arn arn:aws:iam::123:role/me
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Creating endpoints
Model
Endpoint
configuration
aws sagemaker create-model
--model-name model1
--primary-container ‘{“Image”: “123.dkr.ecr.amazonaws.com/algo”,
“ModelDataUrl”: “s3://bkt/model1.tar.gz”}’
--execution-role-arn arn:aws:iam::123:role/me
aws sagemaker create-endpoint-config
--endpoint-config-name model1-config
--production-variants ‘{“InitialInstanceCount”: 2,
“InstanceType”: “ml.m4.xlarge”,
”InitialVariantWeight”: 1,
”ModelName”: “model1”,
”VariantName”: “AllTraffic”}’
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Creating endpoints
Model
Endpoint
configuration
Endpoint
aws sagemaker create-model
--model-name model1
--primary-container ‘{“Image”: “123.dkr.ecr.amazonaws.com/algo”,
“ModelDataUrl”: “s3://bkt/model1.tar.gz”}’
--execution-role-arn arn:aws:iam::123:role/me
aws sagemaker create-endpoint-config
--endpoint-config-name model1-config
--production-variants ‘{“InitialInstanceCount”: 2,
“InstanceType”: “ml.m4.xlarge”,
”InitialVariantWeight”: 1,
”ModelName”: “model1”,
”VariantName”: “AllTraffic”}’
aws sagemaker create-endpoint
--endpoint-name my-endpoint
--endpoint-config-name model1-config
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Updating endpoints
Blue-green
deployments means
no scheduled
downtime
Deploy one or more
models behind the
same endpoint
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Updating endpoints
New model aws sagemaker create-model
--model-name model2
--primary-container ‘{“Image”: “123.dkr.ecr.amazonaws.com/algo”,
“ModelDataUrl”: “s3://bkt/model2.tar.gz”}’
--execution-role-arn arn:aws:iam::123:role/me
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Updating endpoints
New model
New endpoint
configuration
aws sagemaker create-model
--model-name model2
--primary-container ‘{“Image”: “123.dkr.ecr.amazonaws.com/algo”,
“ModelDataUrl”: “s3://bkt/model2.tar.gz”}’
--execution-role-arn arn:aws:iam::123:role/me
aws sagemaker create-endpoint-config
--endpoint-config-name model2-config
--production-variants ‘{“InitialInstanceCount”: 2,
“InstanceType”: “ml.m4.xlarge”,
”InitialVariantWeight”: 1,
”ModelName”: “model2”,
”VariantName”: “AllTraffic”}’
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Updating endpoints
New model
New endpoint
configuration
Same
endpoint
aws sagemaker create-model
--model-name model2
--primary-container ‘{“Image”: “123.dkr.ecr.amazonaws.com/algo”,
“ModelDataUrl”: “s3://bkt/model2.tar.gz”}
--execution-role-arn arn:aws:iam::123:role/me
aws sagemaker create-endpoint-config
--endpoint-config-name model2-config
--production-variants ‘{“InitialInstanceCount”: 2,
“InstanceType”: “ml.m4.xlarge”,
”InitialVariantWeight”: 1,
”ModelName”: “model2”,
”VariantName”: “AllTraffic”}’
aws sagemaker update-endpoint
--endpoint-name my-endpoint
--endpoint-config-name model2-config
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Reduced risk deployments
Incrementally retrain
models with new data
Try new models and
improved algorithms
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Reduced risk deployments
Two model
endpoint
configuration
aws sagemaker create-endpoint-config
--endpoint-config-name both-models-config
--production-variants ‘[{“InitialInstanceCount”: 2,
“InstanceType”: “ml.m4.xlarge”,
”InitialVariantWeight”: 95,
”ModelName”: “model1”,
”VariantName”: “model1-traffic”},
{“InitialInstanceCount”: 2,
“InstanceType”: “ml.m4.xlarge”,
”InitialVariantWeight”: 5,
”ModelName”: “model2”,
”VariantName”: “model2-traffic”}]’
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Reduced risk deployments
Two model
endpoint
configuration
Same
endpoint
aws sagemaker create-endpoint-config
--endpoint-config-name both-models-config
--production-variants ‘[{“InitialInstanceCount”: 2,
“InstanceType”: “ml.m4.xlarge”,
”InitialVariantWeight”: 95,
”ModelName”: “model1”,
”VariantName”: “model1-traffic”},
{“InitialInstanceCount”: 2,
“InstanceType”: “ml.m4.xlarge”,
”InitialVariantWeight”: 5,
”ModelName”: “model2”,
”VariantName”: “model2-traffic”}]’
aws sagemaker update-endpoint
--endpoint-name my-endpoint
--endpoint-config-name both-models-config
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Reduced risk deployments
Two model
endpoint
configuration
Same
endpoint
Swap
aws sagemaker create-endpoint-config
--endpoint-config-name both-models-config
--production-variants ‘[{“InitialInstanceCount”: 2,
“InstanceType”: “ml.m4.xlarge”,
”InitialVariantWeight”: 95,
”ModelName”: “model1”,
”VariantName”: “model1-traffic”},
{“InitialInstanceCount”: 2,
“InstanceType”: “ml.m4.xlarge”,
”InitialVariantWeight”: 5,
”ModelName”: “model2”,
”VariantName”: “model2-traffic”}]’
aws sagemaker update-endpoint
--endpoint-name my-endpoint
--endpoint-config-name both-models-config
aws sagemaker update-endpoint-weights-and-capacities
--endpoint-name my-endpoint
--desired-weights-and-capacities ‘{“VariantName”: ”model1”,
“DesiredWeight”: 5}’
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Automatically scaling endpoints
SageMaker console settings:
• Min and max instances
• Target invocations per
instance
• Scaling cool downs
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Why automatic scaling?
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Automatic scaling in action
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Scaling criteria
Algorithms have
different memory,
CPU, or GPU
requirements
Autoscale based on
endpoint instance’s
CloudWatch Metrics
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Creating an automatic scaling policy
Variant aws application-autoscaling register-scalable-target
--service-namespace sagemaker
--resource-id endpoint/my-endpoint/variant/model2
--scalable-dimension sagemaker:variant:DesiredInstanceCount
--min-capacity 2
--max-capacity 5
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Creating an automatic scaling policy
Variant
Policy
aws application-autoscaling register-scalable-target
--service-namespace sagemaker
--resource-id endpoint/my-endpoint/variant/model2
--scalable-dimension sagemaker:variant:DesiredInstanceCount
--min-capacity 2
--max-capacity 5
aws application-autoscaling put-scaling-policy
--policy-name model2-scaling
--service-namespace sagemaker
--resource-id endpoint/my-endpoint/variant/model2
--scalable-dimension sagemaker:variant:DesiredInstanceCount
--policy-type TargetTrackingScaling
--target-tracking-scaling-policy-configuration
‘{"TargetValue": 50,
"CustomizedMetricSpecification":
{"MetricName": "CPUUtilization",
"Namespace": "/aws/sagemaker/Endpoints",
"Dimensions":
[{"Name": "EndpointName", "Value": "my-endpoint"},
{"Name": "VariantName","Value": ”model2"}],
"Statistic": "Average",
"Unit": "Percent”}}’
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Creating an automatic scaling policy
Variant
Policy
aws application-autoscaling register-scalable-target
--service-namespace sagemaker
--resource-id endpoint/my-endpoint/variant/model2
--scalable-dimension sagemaker:variant:DesiredInstanceCount
--min-capacity 2
--max-capacity 5
aws application-autoscaling put-scaling-policy
--policy-name model2-scaling
--service-namespace sagemaker
--resource-id endpoint/my-endpoint/variant/model2
--scalable-dimension sagemaker:variant:DesiredInstanceCount
--policy-type TargetTrackingScaling
--target-tracking-scaling-policy-configuration
‘{"TargetValue": 50,
"CustomizedMetricSpecification":
{"MetricName": "CPUUtilization",
"Namespace": "/aws/sagemaker/Endpoints",
"Dimensions":
[{"Name": "EndpointName", "Value": "my-endpoint"},
{"Name": "VariantName","Value": ”model2"}],
"Statistic": "Average",
"Unit": "Percent”}}’
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Scale by utilization
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Why AWS for AI/ML workloads?
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
One-click
model training
and deployment
Train once
run anywhere
10x
better algorithm
performance
2x
performance increases from
model optimization with Neo
70%
cost reduction for data labeling
using Ground Truth
75%
cost reduction for inference with
Elastic Inference
R E DUCE CO STS IN CREASE PE RFORMANCE E A SE-OF-USE
AMAZON SAGEMAKER
Machine Learning made simple
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
AWS is framework agnostic
Choose from popular frameworks
Run them fully managed Or run them yourself
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Subscribe in a
single click
Available in
Amazon SageMaker
KEY FEATURES
Automatic labeling via machine learning
IP protection
Automated billing and metering
Browse or search
AWS Marketplace
SELLERS
Broad selection of paid, free, and
open-source algorithms and models
Data protection
Discoverable on your AWS bill
BUYERS
AWS Marketplace for Machine Learning
ML algorithms and models available instantly
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Over 200 algorithms and models
Natural Language
Processing
Grammar & Parsing Text OCR Computer Vision
Named Entity
Recognition
Video Classification
Speech Recognition Text-to-Speech Speaker Identification Text Classification 3D Images Anomaly Detection
Text Generation Object Detection Regression Text Clustering
Handwriting
Recognition
Ranking
A V A I L A B L E A L G O R I T H M S & M O D E L S
S E L E C T E D V E N D O R S
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Resources
SageMaker Product Page
https://aws.amazon.com/sagemaker
SageMaker Console
https://console.aws.amazon.com/sagemaker/
Ground Truth Product Page
https://aws.amazon.com/sagemaker/groundtruth
Neo Product Page
https://aws.amazon.com/sagemaker/neo
SageMaker 10-Minute Tutorial
https://aws.amazon.com/getting-started/tutorials/build-train-deploy-machine-learning-model-sagemaker/
SageMaker Related Blogs
https://aws.amazon.com/blogs/machine-learning/category/artificial-intelligence/sagemaker/
Greengrass ML Inference Product Page
https://aws.amazon.com/greengrass/ml/
Thank you!
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Ian Perez Ponce | iperezpo@
Global Business Development, IoT & Edge Compute @AWS
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.

More Related Content

What's hot

Progetta, crea e gestisci Modern Application per web e mobile su AWS
Progetta, crea e gestisci Modern Application per web e mobile su AWSProgetta, crea e gestisci Modern Application per web e mobile su AWS
Progetta, crea e gestisci Modern Application per web e mobile su AWSAmazon Web Services
 
Building Machine Learning inference pipelines at scale | AWS Summit Tel Aviv ...
Building Machine Learning inference pipelines at scale | AWS Summit Tel Aviv ...Building Machine Learning inference pipelines at scale | AWS Summit Tel Aviv ...
Building Machine Learning inference pipelines at scale | AWS Summit Tel Aviv ...AWS Summits
 
Adding intelligence to applications - AIM201 - Chicago AWS Summit
Adding intelligence to applications - AIM201 - Chicago AWS SummitAdding intelligence to applications - AIM201 - Chicago AWS Summit
Adding intelligence to applications - AIM201 - Chicago AWS SummitAmazon Web Services
 
Scalable, secure log analytics with Amazon ES - ADB302 - Chicago AWS Summit
Scalable, secure log analytics with Amazon ES - ADB302 - Chicago AWS SummitScalable, secure log analytics with Amazon ES - ADB302 - Chicago AWS Summit
Scalable, secure log analytics with Amazon ES - ADB302 - Chicago AWS SummitAmazon Web Services
 
Resiliency-and-Availability-Design-Patterns-for-the-Cloud
Resiliency-and-Availability-Design-Patterns-for-the-CloudResiliency-and-Availability-Design-Patterns-for-the-Cloud
Resiliency-and-Availability-Design-Patterns-for-the-CloudAmazon Web Services
 
Innovation-at-Hyper-scale-Outlook-on-Emerging-Technologies
Innovation-at-Hyper-scale-Outlook-on-Emerging-TechnologiesInnovation-at-Hyper-scale-Outlook-on-Emerging-Technologies
Innovation-at-Hyper-scale-Outlook-on-Emerging-TechnologiesAmazon Web Services
 
Deep Learning con TensorFlow and Apache MXNet su Amazon SageMaker
Deep Learning con TensorFlow and Apache MXNet su Amazon SageMakerDeep Learning con TensorFlow and Apache MXNet su Amazon SageMaker
Deep Learning con TensorFlow and Apache MXNet su Amazon SageMakerAmazon Web Services
 
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
 
Machine learning for developers & data scientists with Amazon SageMaker - AIM...
Machine learning for developers & data scientists with Amazon SageMaker - AIM...Machine learning for developers & data scientists with Amazon SageMaker - AIM...
Machine learning for developers & data scientists with Amazon SageMaker - AIM...Amazon Web Services
 
Accelerating_Enterprise_Cloud_Transformation_By_Master_IT_Complexity
Accelerating_Enterprise_Cloud_Transformation_By_Master_IT_ComplexityAccelerating_Enterprise_Cloud_Transformation_By_Master_IT_Complexity
Accelerating_Enterprise_Cloud_Transformation_By_Master_IT_ComplexityAmazon Web Services
 
Implementing advanced design patterns for Amazon DynamoDB - ADB401 - Chicago ...
Implementing advanced design patterns for Amazon DynamoDB - ADB401 - Chicago ...Implementing advanced design patterns for Amazon DynamoDB - ADB401 - Chicago ...
Implementing advanced design patterns for Amazon DynamoDB - ADB401 - Chicago ...Amazon Web Services
 
Machine learning for developers & data scientists with Amazon SageMaker - AIM...
Machine learning for developers & data scientists with Amazon SageMaker - AIM...Machine learning for developers & data scientists with Amazon SageMaker - AIM...
Machine learning for developers & data scientists with Amazon SageMaker - AIM...Amazon Web Services
 
Amazon SageMaker: ML for Every Developer and Data Scientist - AIM202 - Anahei...
Amazon SageMaker: ML for Every Developer and Data Scientist - AIM202 - Anahei...Amazon SageMaker: ML for Every Developer and Data Scientist - AIM202 - Anahei...
Amazon SageMaker: ML for Every Developer and Data Scientist - AIM202 - Anahei...Amazon Web Services
 
Database Freedom: Migrate a relational database to Amazon Aurora - ADB308 - N...
Database Freedom: Migrate a relational database to Amazon Aurora - ADB308 - N...Database Freedom: Migrate a relational database to Amazon Aurora - ADB308 - N...
Database Freedom: Migrate a relational database to Amazon Aurora - ADB308 - N...Amazon Web Services
 
What's New with Amazon Redshift - ADB202 - Anaheim AWS Summit
What's New with Amazon Redshift - ADB202 - Anaheim AWS SummitWhat's New with Amazon Redshift - ADB202 - Anaheim AWS Summit
What's New with Amazon Redshift - ADB202 - Anaheim AWS SummitAmazon Web Services
 
Train once, deploy anywhere on the cloud and at the edge with Amazon SageMake...
Train once, deploy anywhere on the cloud and at the edge with Amazon SageMake...Train once, deploy anywhere on the cloud and at the edge with Amazon SageMake...
Train once, deploy anywhere on the cloud and at the edge with Amazon SageMake...Amazon Web Services
 
Building data lakes for analytics on AWS - ADB201 - Santa Clara AWS Summit.pdf
Building data lakes for analytics on AWS - ADB201 - Santa Clara AWS Summit.pdfBuilding data lakes for analytics on AWS - ADB201 - Santa Clara AWS Summit.pdf
Building data lakes for analytics on AWS - ADB201 - Santa Clara AWS Summit.pdfAmazon Web Services
 
Microservices on AWS: Architectural Patterns and Best Practices | AWS Summit ...
Microservices on AWS: Architectural Patterns and Best Practices | AWS Summit ...Microservices on AWS: Architectural Patterns and Best Practices | AWS Summit ...
Microservices on AWS: Architectural Patterns and Best Practices | AWS Summit ...AWS Summits
 
Introducing-AWS-Hong-Kong-Region
Introducing-AWS-Hong-Kong-RegionIntroducing-AWS-Hong-Kong-Region
Introducing-AWS-Hong-Kong-RegionAmazon Web Services
 
Deriving Value with Next Gen Analytics and ML Architectures
Deriving Value with Next Gen Analytics and ML ArchitecturesDeriving Value with Next Gen Analytics and ML Architectures
Deriving Value with Next Gen Analytics and ML ArchitecturesAmazon Web Services
 

What's hot (20)

Progetta, crea e gestisci Modern Application per web e mobile su AWS
Progetta, crea e gestisci Modern Application per web e mobile su AWSProgetta, crea e gestisci Modern Application per web e mobile su AWS
Progetta, crea e gestisci Modern Application per web e mobile su AWS
 
Building Machine Learning inference pipelines at scale | AWS Summit Tel Aviv ...
Building Machine Learning inference pipelines at scale | AWS Summit Tel Aviv ...Building Machine Learning inference pipelines at scale | AWS Summit Tel Aviv ...
Building Machine Learning inference pipelines at scale | AWS Summit Tel Aviv ...
 
Adding intelligence to applications - AIM201 - Chicago AWS Summit
Adding intelligence to applications - AIM201 - Chicago AWS SummitAdding intelligence to applications - AIM201 - Chicago AWS Summit
Adding intelligence to applications - AIM201 - Chicago AWS Summit
 
Scalable, secure log analytics with Amazon ES - ADB302 - Chicago AWS Summit
Scalable, secure log analytics with Amazon ES - ADB302 - Chicago AWS SummitScalable, secure log analytics with Amazon ES - ADB302 - Chicago AWS Summit
Scalable, secure log analytics with Amazon ES - ADB302 - Chicago AWS Summit
 
Resiliency-and-Availability-Design-Patterns-for-the-Cloud
Resiliency-and-Availability-Design-Patterns-for-the-CloudResiliency-and-Availability-Design-Patterns-for-the-Cloud
Resiliency-and-Availability-Design-Patterns-for-the-Cloud
 
Innovation-at-Hyper-scale-Outlook-on-Emerging-Technologies
Innovation-at-Hyper-scale-Outlook-on-Emerging-TechnologiesInnovation-at-Hyper-scale-Outlook-on-Emerging-Technologies
Innovation-at-Hyper-scale-Outlook-on-Emerging-Technologies
 
Deep Learning con TensorFlow and Apache MXNet su Amazon SageMaker
Deep Learning con TensorFlow and Apache MXNet su Amazon SageMakerDeep Learning con TensorFlow and Apache MXNet su Amazon SageMaker
Deep Learning con TensorFlow and Apache MXNet su Amazon SageMaker
 
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...
 
Machine learning for developers & data scientists with Amazon SageMaker - AIM...
Machine learning for developers & data scientists with Amazon SageMaker - AIM...Machine learning for developers & data scientists with Amazon SageMaker - AIM...
Machine learning for developers & data scientists with Amazon SageMaker - AIM...
 
Accelerating_Enterprise_Cloud_Transformation_By_Master_IT_Complexity
Accelerating_Enterprise_Cloud_Transformation_By_Master_IT_ComplexityAccelerating_Enterprise_Cloud_Transformation_By_Master_IT_Complexity
Accelerating_Enterprise_Cloud_Transformation_By_Master_IT_Complexity
 
Implementing advanced design patterns for Amazon DynamoDB - ADB401 - Chicago ...
Implementing advanced design patterns for Amazon DynamoDB - ADB401 - Chicago ...Implementing advanced design patterns for Amazon DynamoDB - ADB401 - Chicago ...
Implementing advanced design patterns for Amazon DynamoDB - ADB401 - Chicago ...
 
Machine learning for developers & data scientists with Amazon SageMaker - AIM...
Machine learning for developers & data scientists with Amazon SageMaker - AIM...Machine learning for developers & data scientists with Amazon SageMaker - AIM...
Machine learning for developers & data scientists with Amazon SageMaker - AIM...
 
Amazon SageMaker: ML for Every Developer and Data Scientist - AIM202 - Anahei...
Amazon SageMaker: ML for Every Developer and Data Scientist - AIM202 - Anahei...Amazon SageMaker: ML for Every Developer and Data Scientist - AIM202 - Anahei...
Amazon SageMaker: ML for Every Developer and Data Scientist - AIM202 - Anahei...
 
Database Freedom: Migrate a relational database to Amazon Aurora - ADB308 - N...
Database Freedom: Migrate a relational database to Amazon Aurora - ADB308 - N...Database Freedom: Migrate a relational database to Amazon Aurora - ADB308 - N...
Database Freedom: Migrate a relational database to Amazon Aurora - ADB308 - N...
 
What's New with Amazon Redshift - ADB202 - Anaheim AWS Summit
What's New with Amazon Redshift - ADB202 - Anaheim AWS SummitWhat's New with Amazon Redshift - ADB202 - Anaheim AWS Summit
What's New with Amazon Redshift - ADB202 - Anaheim AWS Summit
 
Train once, deploy anywhere on the cloud and at the edge with Amazon SageMake...
Train once, deploy anywhere on the cloud and at the edge with Amazon SageMake...Train once, deploy anywhere on the cloud and at the edge with Amazon SageMake...
Train once, deploy anywhere on the cloud and at the edge with Amazon SageMake...
 
Building data lakes for analytics on AWS - ADB201 - Santa Clara AWS Summit.pdf
Building data lakes for analytics on AWS - ADB201 - Santa Clara AWS Summit.pdfBuilding data lakes for analytics on AWS - ADB201 - Santa Clara AWS Summit.pdf
Building data lakes for analytics on AWS - ADB201 - Santa Clara AWS Summit.pdf
 
Microservices on AWS: Architectural Patterns and Best Practices | AWS Summit ...
Microservices on AWS: Architectural Patterns and Best Practices | AWS Summit ...Microservices on AWS: Architectural Patterns and Best Practices | AWS Summit ...
Microservices on AWS: Architectural Patterns and Best Practices | AWS Summit ...
 
Introducing-AWS-Hong-Kong-Region
Introducing-AWS-Hong-Kong-RegionIntroducing-AWS-Hong-Kong-Region
Introducing-AWS-Hong-Kong-Region
 
Deriving Value with Next Gen Analytics and ML Architectures
Deriving Value with Next Gen Analytics and ML ArchitecturesDeriving Value with Next Gen Analytics and ML Architectures
Deriving Value with Next Gen Analytics and ML Architectures
 

Similar to Build-Train-Deploy-Machine-Learning-Models-at-Any-Scale

Build Machine Learning Models with Amazon SageMaker (April 2019)
Build Machine Learning Models with Amazon SageMaker (April 2019)Build Machine Learning Models with Amazon SageMaker (April 2019)
Build Machine Learning Models with Amazon SageMaker (April 2019)Julien SIMON
 
AWS Summit Singapore 2019 | Build, Train and Deploy Deep Learning Models on A...
AWS Summit Singapore 2019 | Build, Train and Deploy Deep Learning Models on A...AWS Summit Singapore 2019 | Build, Train and Deploy Deep Learning Models on A...
AWS Summit Singapore 2019 | Build, Train and Deploy Deep Learning Models on A...AWS Summits
 
ML for every developer and data scientist with Amazon SageMaker - AIM201 - At...
ML for every developer and data scientist with Amazon SageMaker - AIM201 - At...ML for every developer and data scientist with Amazon SageMaker - AIM201 - At...
ML for every developer and data scientist with Amazon SageMaker - AIM201 - At...Amazon Web Services
 
Amazon SageMaker sviluppa, addestra e distribuisci modelli di Machine Learnin...
Amazon SageMaker sviluppa, addestra e distribuisci modelli di Machine Learnin...Amazon SageMaker sviluppa, addestra e distribuisci modelli di Machine Learnin...
Amazon SageMaker sviluppa, addestra e distribuisci modelli di Machine Learnin...Amazon Web Services
 
Art of the possible- Leveraging Machine Learning to Improve Forecasting and G...
Art of the possible- Leveraging Machine Learning to Improve Forecasting and G...Art of the possible- Leveraging Machine Learning to Improve Forecasting and G...
Art of the possible- Leveraging Machine Learning to Improve Forecasting and G...Amazon Web Services
 
Amazon SageMaker Build, Train and Deploy Your ML Models
Amazon SageMaker Build, Train and Deploy Your ML ModelsAmazon SageMaker Build, Train and Deploy Your ML Models
Amazon SageMaker Build, Train and Deploy Your ML ModelsAWS Riyadh User Group
 
Scale - Amazon SageMaker Deep Dive for Builders
Scale - Amazon SageMaker Deep Dive for BuildersScale - Amazon SageMaker Deep Dive for Builders
Scale - Amazon SageMaker Deep Dive for BuildersAmazon Web Services
 
Amazon SageMaker - ML for every developer & data scientist ft. Workday - AIM2...
Amazon SageMaker - ML for every developer & data scientist ft. Workday - AIM2...Amazon SageMaker - ML for every developer & data scientist ft. Workday - AIM2...
Amazon SageMaker - ML for every developer & data scientist ft. Workday - AIM2...Amazon Web Services
 
Sviluppa, addestra e distribuisci modelli di machine learning.pdf
Sviluppa, addestra e distribuisci modelli di machine learning.pdfSviluppa, addestra e distribuisci modelli di machine learning.pdf
Sviluppa, addestra e distribuisci modelli di machine learning.pdfAmazon Web Services
 
Machine Learning with Kubernetes- AWS Container Day 2019 Barcelona
Machine Learning with Kubernetes- AWS Container Day 2019 BarcelonaMachine Learning with Kubernetes- AWS Container Day 2019 Barcelona
Machine Learning with Kubernetes- AWS Container Day 2019 BarcelonaAmazon Web Services
 
WhereML a Serverless ML Powered Location Guessing Twitter Bot
WhereML a Serverless ML Powered Location Guessing Twitter BotWhereML a Serverless ML Powered Location Guessing Twitter Bot
WhereML a Serverless ML Powered Location Guessing Twitter BotRandall Hunt
 
Deep Dive Amazon SageMaker
Deep Dive Amazon SageMakerDeep Dive Amazon SageMaker
Deep Dive Amazon SageMakerCobus Bernard
 
Train once, deploy anywhere on the cloud and at the edge with Neo - AIM301 - ...
Train once, deploy anywhere on the cloud and at the edge with Neo - AIM301 - ...Train once, deploy anywhere on the cloud and at the edge with Neo - AIM301 - ...
Train once, deploy anywhere on the cloud and at the edge with Neo - AIM301 - ...Amazon Web Services
 
Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019
Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019
Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019AWS Summits
 
Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019
Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019
Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019Amazon Web Services
 
Drive Digital Transformation using Machine Learning
Drive Digital Transformation using Machine LearningDrive Digital Transformation using Machine Learning
Drive Digital Transformation using Machine LearningAmazon Web Services
 
Deep Learning with Tensorflow and Apache MXNet on AWS (April 2019)
Deep Learning with Tensorflow and Apache MXNet on AWS (April 2019)Deep Learning with Tensorflow and Apache MXNet on AWS (April 2019)
Deep Learning with Tensorflow and Apache MXNet on AWS (April 2019)Julien SIMON
 
Become a Machine Learning Developer with AWS Services
Become a Machine Learning Developer with AWS ServicesBecome a Machine Learning Developer with AWS Services
Become a Machine Learning Developer with AWS ServicesAmazon Web Services
 
Become a Machine Learning developer with AWS (Avril 2019)
Become a Machine Learning developer with AWS (Avril 2019)Become a Machine Learning developer with AWS (Avril 2019)
Become a Machine Learning developer with AWS (Avril 2019)Julien SIMON
 
Artifical Intelligence and Machine Learning 201, AWS Federal Pop-Up Loft
Artifical Intelligence and Machine Learning 201, AWS Federal Pop-Up LoftArtifical Intelligence and Machine Learning 201, AWS Federal Pop-Up Loft
Artifical Intelligence and Machine Learning 201, AWS Federal Pop-Up LoftAmazon Web Services
 

Similar to Build-Train-Deploy-Machine-Learning-Models-at-Any-Scale (20)

Build Machine Learning Models with Amazon SageMaker (April 2019)
Build Machine Learning Models with Amazon SageMaker (April 2019)Build Machine Learning Models with Amazon SageMaker (April 2019)
Build Machine Learning Models with Amazon SageMaker (April 2019)
 
AWS Summit Singapore 2019 | Build, Train and Deploy Deep Learning Models on A...
AWS Summit Singapore 2019 | Build, Train and Deploy Deep Learning Models on A...AWS Summit Singapore 2019 | Build, Train and Deploy Deep Learning Models on A...
AWS Summit Singapore 2019 | Build, Train and Deploy Deep Learning Models on A...
 
ML for every developer and data scientist with Amazon SageMaker - AIM201 - At...
ML for every developer and data scientist with Amazon SageMaker - AIM201 - At...ML for every developer and data scientist with Amazon SageMaker - AIM201 - At...
ML for every developer and data scientist with Amazon SageMaker - AIM201 - At...
 
Amazon SageMaker sviluppa, addestra e distribuisci modelli di Machine Learnin...
Amazon SageMaker sviluppa, addestra e distribuisci modelli di Machine Learnin...Amazon SageMaker sviluppa, addestra e distribuisci modelli di Machine Learnin...
Amazon SageMaker sviluppa, addestra e distribuisci modelli di Machine Learnin...
 
Art of the possible- Leveraging Machine Learning to Improve Forecasting and G...
Art of the possible- Leveraging Machine Learning to Improve Forecasting and G...Art of the possible- Leveraging Machine Learning to Improve Forecasting and G...
Art of the possible- Leveraging Machine Learning to Improve Forecasting and G...
 
Amazon SageMaker Build, Train and Deploy Your ML Models
Amazon SageMaker Build, Train and Deploy Your ML ModelsAmazon SageMaker Build, Train and Deploy Your ML Models
Amazon SageMaker Build, Train and Deploy Your ML Models
 
Scale - Amazon SageMaker Deep Dive for Builders
Scale - Amazon SageMaker Deep Dive for BuildersScale - Amazon SageMaker Deep Dive for Builders
Scale - Amazon SageMaker Deep Dive for Builders
 
Amazon SageMaker - ML for every developer & data scientist ft. Workday - AIM2...
Amazon SageMaker - ML for every developer & data scientist ft. Workday - AIM2...Amazon SageMaker - ML for every developer & data scientist ft. Workday - AIM2...
Amazon SageMaker - ML for every developer & data scientist ft. Workday - AIM2...
 
Sviluppa, addestra e distribuisci modelli di machine learning.pdf
Sviluppa, addestra e distribuisci modelli di machine learning.pdfSviluppa, addestra e distribuisci modelli di machine learning.pdf
Sviluppa, addestra e distribuisci modelli di machine learning.pdf
 
Machine Learning with Kubernetes- AWS Container Day 2019 Barcelona
Machine Learning with Kubernetes- AWS Container Day 2019 BarcelonaMachine Learning with Kubernetes- AWS Container Day 2019 Barcelona
Machine Learning with Kubernetes- AWS Container Day 2019 Barcelona
 
WhereML a Serverless ML Powered Location Guessing Twitter Bot
WhereML a Serverless ML Powered Location Guessing Twitter BotWhereML a Serverless ML Powered Location Guessing Twitter Bot
WhereML a Serverless ML Powered Location Guessing Twitter Bot
 
Deep Dive Amazon SageMaker
Deep Dive Amazon SageMakerDeep Dive Amazon SageMaker
Deep Dive Amazon SageMaker
 
Train once, deploy anywhere on the cloud and at the edge with Neo - AIM301 - ...
Train once, deploy anywhere on the cloud and at the edge with Neo - AIM301 - ...Train once, deploy anywhere on the cloud and at the edge with Neo - AIM301 - ...
Train once, deploy anywhere on the cloud and at the edge with Neo - AIM301 - ...
 
Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019
Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019
Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019
 
Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019
Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019
Unleash the Power of ML with AWS | AWS Summit Tel Aviv 2019
 
Drive Digital Transformation using Machine Learning
Drive Digital Transformation using Machine LearningDrive Digital Transformation using Machine Learning
Drive Digital Transformation using Machine Learning
 
Deep Learning with Tensorflow and Apache MXNet on AWS (April 2019)
Deep Learning with Tensorflow and Apache MXNet on AWS (April 2019)Deep Learning with Tensorflow and Apache MXNet on AWS (April 2019)
Deep Learning with Tensorflow and Apache MXNet on AWS (April 2019)
 
Become a Machine Learning Developer with AWS Services
Become a Machine Learning Developer with AWS ServicesBecome a Machine Learning Developer with AWS Services
Become a Machine Learning Developer with AWS Services
 
Become a Machine Learning developer with AWS (Avril 2019)
Become a Machine Learning developer with AWS (Avril 2019)Become a Machine Learning developer with AWS (Avril 2019)
Become a Machine Learning developer with AWS (Avril 2019)
 
Artifical Intelligence and Machine Learning 201, AWS Federal Pop-Up Loft
Artifical Intelligence and Machine Learning 201, AWS Federal Pop-Up LoftArtifical Intelligence and Machine Learning 201, AWS Federal Pop-Up Loft
Artifical Intelligence and Machine Learning 201, AWS Federal Pop-Up Loft
 

More from 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
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...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
 

More from Amazon Web Services (20)

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...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
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
 

Build-Train-Deploy-Machine-Learning-Models-at-Any-Scale

  • 1. S U M M I T Hong Kong
  • 2. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Build, Train, and Deploy Machine Learning Models at Scale A I M X X X Ian Perez Ponce Global Business Development IoT & Edge Compute @AWS
  • 3. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T What you will learn today • Fundamental building blocks for a coherent AI/ML strategy • Amazon SageMaker overview • How to simplify building, training, and deployment of ML • Algorithms, frameworks, bring your own, and automatic model tuning • Amazon SageMaker Neo and AWS IoT Greengrass better together • Deployment walkthrough
  • 4. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Our mission at AWS Put machine learning in the hands of every developer
  • 5. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Why AWS for AI/ML workloads? Broadest and deepest set of AI and ML services for your business Solving the toughest problems holding back ML - cost, ease of use, and data 75% lower inference cost 70% cost reduction in data- labeling “No ML experience required” Unmatched support for the most popular frameworks Built on the most comprehensive cloud platform optimized for Machine Learning 85% of TensorFlow projects in the cloud happen on AWS 200+ new features and services since Jan 2018 AWS holds the top spots on Stanford’s benchmark, for fastest training time, lowest cost, lowest inference latency Deepest set of security and encryption features, with robust analytics capabilities
  • 6. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Bringing AI into your digital transformation requires a new “stack” that makes it easier to put ML to work
  • 7. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T FRAMEWORKS INTERFACES INFRASTRUCTURE AI Services VISION SPEECH LANGUAGE CHATBOTS FORECASTING RECOMMENDATIONS ML Services ML Frameworks + Infrastructure 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 X F O R E C A S TR E K O G N I T I O N I M A G E R E K O G N I T I O N V I D E O T E X T R A C T P E R S O N A L I Z E Ground Truth Notebooks Algorithms + Marketplace Reinforcement Learning Training Optimization Deployment HostingAmazon SageMaker F P G A SE C 2 P 3 & P 3 D N E C 2 G 4 E C 2 C 5 I N F E R E N T I AG 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 The AWS ML Stack Broadest and deepest set of capabilities
  • 8. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T FRAMEWORKS INTERFACES INFRASTRUCTURE AI Services VISION SPEECH LANGUAGE CHATBOTS FORECASTING RECOMMENDATIONS ML Services ML Frameworks + Infrastructure 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 X F O R E C A S TR E K O G N I T I O N I M A G E R E K O G N I T I O N V I D E O T E X T R A C T P E R S O N A L I Z E Ground Truth Notebooks Algorithms + Marketplace Reinforcement Learning Training Optimization Deployment HostingAmazon SageMaker F P G A SE C 2 P 3 & P 3 D N E C 2 G 4 E C 2 C 5 I N F E R E N T I AG 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 The AWS ML Stack Broadest and deepest set of capabilities
  • 9. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T FRAMEWORKS INTERFACES INFRASTRUCTURE AI Services VISION SPEECH LANGUAGE CHATBOTS FORECASTING RECOMMENDATIONS ML Services ML Frameworks + Infrastructure 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 X F O R E C A S TR E K O G N I T I O N I M A G E R E K O G N I T I O N V I D E O T E X T R A C T P E R S O N A L I Z E Ground Truth Notebooks Algorithms + Marketplace Reinforcement Learning Training Optimization Deployment HostingAmazon SageMaker F P G A SE C 2 P 3 & P 3 D N E C 2 G 4 E C 2 C 5 I N F E R E N T I AG 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 The AWS ML Stack Broadest and deepest set of capabilities
  • 10. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T 1 2 3 ML is still too complicated for everyday developers Build Train Deploy
  • 11. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T 1 2 3 Amazon SageMaker Build, Train, and Deploy ML Models at Scale • Notebook instances • Call APIs from your device • Apache Spark, SageMaker Spark
  • 12. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Successful models require high-quality data
  • 13. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Easily integrate human labelers Get accurate results K E Y F E A T U R E S Automatic labeling via machine learning Ready-made and custom workflows Label management Quickly label training data Private and public human workforce Amazon SageMaker Ground Truth Label machine learning training data easily and accurately
  • 14. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Amazon SageMaker Ground Truth How it works
  • 15. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Amazon SageMaker Ground Truth How it works
  • 16. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T 1 2 3 Amazon SageMaker Build, Train, and Deploy ML Models at Scale General Purpose • Factorization Machines • K-Means • K-NN • Linear Learner • Object2Vec • PCA • XGBoost NLP • LDA • Neural Topic Model • Seq2Seq • BlazingText Application Specific: • DeepAR • IP Insights • Random Cut Forest Computer Vision • Image Classification • Object Detection • Semantic Segmentation • Designed for speed and scale • Supervised, unsupervised, computer vision, and NLP
  • 17. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T 1 2 3 Amazon SageMaker Build, Train, and Deploy ML Models at Scale • 20 lines of Python • Open sourced • Local mode for testing • BYO (Docker)
  • 18. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T 1 2 3 Amazon SageMaker Build, Train, and Deploy ML Models at Scale • Efficient meta-model hyperparameter tuning • Works with algorithms, frameworks, and BYO
  • 19. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T 1 2 3 G R E E N G R A S SE C 2 C 5 E C 2 P 3 E C 2 F 1 I n s t a n c e s Amazon SageMaker Build, Train, and Deploy ML Models at Scale
  • 20. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T 1 2 3 Amazon SageMaker Build, Train, and Deploy ML Models at Scale • Realtime endpoints • Batch transform • AWS Greengrass • AWS DeepLens
  • 21. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T 1 2 3 Amazon SageMaker Build, Train, and Deploy ML Models at Scale Build Train Deploy
  • 22. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T So what’s next for machine learning? How do you teach machine learning models to make decisions when there is no training data?
  • 23. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Machine Learning Types Reinforcement learning (RL) Supervised learning (ASR, computer vision) Unsupervised learning (anomaly detection, identifying text topics) Amount of labeled training data required Complexityofdecisions
  • 24. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T What is a RL environment? Representation of the real world Programmed to represent real- world conditions Enables interaction with user or a computer program Dynamic and updates itself based on the interactions and programmed behavior
  • 25. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Amazon SageMaker RL Reinforcement learning for every developer and data scientist 2D & 3D physics environments and OpenGym support Support Amazon Sumerian, AWS RoboMaker, and the open source Robotics Operating System (ROS) project Fully managed Example notebooks and tutorials K E Y F E A T U R E S
  • 26. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Reinforcement Learning use cases AUTONOMOUS CARS FINANCIAL TRADING DATACENTER COOLINGFLEET LOGISTICS Achieve outcomes, not decisions
  • 27. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T What if you could train your model once and run it anywhere, in the cloud or at the edge, with twice the speed and no loss in accuracy?
  • 28. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Repeat for every model and every change in the model BYO AWS Build with your own algorithms Build with built-in algorithms from AWS Train with TensorFlow, MXNet, or PyTorch Optimize your models Deploy to the cloud Deploy to the edge A B A/B test Multi-site deployment of ML models is complex
  • 29. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Models that are accurate tend to be big and slow Models are chained to the framework in which they were trainedS L M Accuracy Performance Problem: Not all models are skinny
  • 30. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Problem: Not all targets are easy Need enormous expertise … Application development: Cloud-native or embedded system Machine learning: Model training and parameter tuning Performance tuning: Troubleshooting and optimization Frameworks: TensorFlow or MXNet or PyTorch or Chainer Hardware: Cloud server or edge device Computer architecture: x86 or RISC or GPU or FPGA or ASIC …and endless time
  • 31. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Problem: Not every path is a catwalk
  • 32. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T K E Y F E A T U R E S Open-source device runtime and compiler, 1/10th the size of original frameworks Amazon SageMaker Neo Train once, run anywhere with 2x the performance
  • 33. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Neo Amazon SageMaker Neo Train once, run anywhere
  • 34. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Parses model Optimizes tensors Generates code Optimizes graph Convert a TensorFlow, MXNet, PyTorch, or XGBoost model into a common format Detect patterns in the ML model structure to reduce the execution time Shape of input data to allocate memory efficiently Use a low-level compiler to generate machine code for each target Neo Delivers Compilation as a Service Uses Treelite and Apache TVM for model optimization No additional cost for Amazon SageMaker users
  • 35. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Dispatches model Partitions graph Matches model with execution backend Sends subgraph to suitable accelerator Neo Delivers a Compact Runtime Open-source software enables device-specific customization Framework Size MXNet 450 MB TensorFlow 660 MB PyTorch 1000 MB Neo 1 MB
  • 36. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Data labeling & pre-built notebooks for common problems Model and algorithm marketplace & Built-in, high- performance algorithms One-click training on the highest performing infrastructure One-click model optimization One-click deployment Improves performance on selected hardware Extends AWS IoT services onto your devices NeoAmazon SageMaker AWS IoT Greengrass Amazon SageMaker Neo and AWS IoT Greengrass
  • 37. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Certified HW Linux / Other OS GGC L1 L2 L3 runC Containers Device Mapper Nodes in Containers Code/functions built in AWS Lambda Lambdas can access Local Resources via device mapper nodes ML Inference, Amazon Sagemaker Neo AWS IoT Greengrass A containerized IoT edge runtime
  • 38. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T AWS IoT Core Data Transport & Routing Amazon SageMaker  Process Optimization  Product Quality  Equipment Health  Output Forecast  Equipment Efficiency  Leak Detection  Asset Planning  Ops Optimization  Tool Productivity AWS IoT Analytics Data Aggregation, Enrichment, Cleansing, Time Series Processing, Model Config Model creation Optimization RetrainingData Collection, Model Inference AWS IoT Greengrass a:FreeRTOS Intelligence and outcomes ML: Train & optimize in the Cloud; Infer at the Edge
  • 39. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 40. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Creating endpoints Easy deployment to production REST API Scalable, high throughput, and high reliability
  • 41. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Creating endpoints Model aws sagemaker create-model --model-name model1 --primary-container ‘{“Image”: “123.dkr.ecr.amazonaws.com/algo”, “ModelDataUrl”: “s3://bkt/model1.tar.gz”}’ --execution-role-arn arn:aws:iam::123:role/me
  • 42. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Creating endpoints Model Endpoint configuration aws sagemaker create-model --model-name model1 --primary-container ‘{“Image”: “123.dkr.ecr.amazonaws.com/algo”, “ModelDataUrl”: “s3://bkt/model1.tar.gz”}’ --execution-role-arn arn:aws:iam::123:role/me aws sagemaker create-endpoint-config --endpoint-config-name model1-config --production-variants ‘{“InitialInstanceCount”: 2, “InstanceType”: “ml.m4.xlarge”, ”InitialVariantWeight”: 1, ”ModelName”: “model1”, ”VariantName”: “AllTraffic”}’
  • 43. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Creating endpoints Model Endpoint configuration Endpoint aws sagemaker create-model --model-name model1 --primary-container ‘{“Image”: “123.dkr.ecr.amazonaws.com/algo”, “ModelDataUrl”: “s3://bkt/model1.tar.gz”}’ --execution-role-arn arn:aws:iam::123:role/me aws sagemaker create-endpoint-config --endpoint-config-name model1-config --production-variants ‘{“InitialInstanceCount”: 2, “InstanceType”: “ml.m4.xlarge”, ”InitialVariantWeight”: 1, ”ModelName”: “model1”, ”VariantName”: “AllTraffic”}’ aws sagemaker create-endpoint --endpoint-name my-endpoint --endpoint-config-name model1-config
  • 44. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Updating endpoints Blue-green deployments means no scheduled downtime Deploy one or more models behind the same endpoint
  • 45. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Updating endpoints New model aws sagemaker create-model --model-name model2 --primary-container ‘{“Image”: “123.dkr.ecr.amazonaws.com/algo”, “ModelDataUrl”: “s3://bkt/model2.tar.gz”}’ --execution-role-arn arn:aws:iam::123:role/me
  • 46. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Updating endpoints New model New endpoint configuration aws sagemaker create-model --model-name model2 --primary-container ‘{“Image”: “123.dkr.ecr.amazonaws.com/algo”, “ModelDataUrl”: “s3://bkt/model2.tar.gz”}’ --execution-role-arn arn:aws:iam::123:role/me aws sagemaker create-endpoint-config --endpoint-config-name model2-config --production-variants ‘{“InitialInstanceCount”: 2, “InstanceType”: “ml.m4.xlarge”, ”InitialVariantWeight”: 1, ”ModelName”: “model2”, ”VariantName”: “AllTraffic”}’
  • 47. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Updating endpoints New model New endpoint configuration Same endpoint aws sagemaker create-model --model-name model2 --primary-container ‘{“Image”: “123.dkr.ecr.amazonaws.com/algo”, “ModelDataUrl”: “s3://bkt/model2.tar.gz”} --execution-role-arn arn:aws:iam::123:role/me aws sagemaker create-endpoint-config --endpoint-config-name model2-config --production-variants ‘{“InitialInstanceCount”: 2, “InstanceType”: “ml.m4.xlarge”, ”InitialVariantWeight”: 1, ”ModelName”: “model2”, ”VariantName”: “AllTraffic”}’ aws sagemaker update-endpoint --endpoint-name my-endpoint --endpoint-config-name model2-config
  • 48. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Reduced risk deployments Incrementally retrain models with new data Try new models and improved algorithms
  • 49. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Reduced risk deployments Two model endpoint configuration aws sagemaker create-endpoint-config --endpoint-config-name both-models-config --production-variants ‘[{“InitialInstanceCount”: 2, “InstanceType”: “ml.m4.xlarge”, ”InitialVariantWeight”: 95, ”ModelName”: “model1”, ”VariantName”: “model1-traffic”}, {“InitialInstanceCount”: 2, “InstanceType”: “ml.m4.xlarge”, ”InitialVariantWeight”: 5, ”ModelName”: “model2”, ”VariantName”: “model2-traffic”}]’
  • 50. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Reduced risk deployments Two model endpoint configuration Same endpoint aws sagemaker create-endpoint-config --endpoint-config-name both-models-config --production-variants ‘[{“InitialInstanceCount”: 2, “InstanceType”: “ml.m4.xlarge”, ”InitialVariantWeight”: 95, ”ModelName”: “model1”, ”VariantName”: “model1-traffic”}, {“InitialInstanceCount”: 2, “InstanceType”: “ml.m4.xlarge”, ”InitialVariantWeight”: 5, ”ModelName”: “model2”, ”VariantName”: “model2-traffic”}]’ aws sagemaker update-endpoint --endpoint-name my-endpoint --endpoint-config-name both-models-config
  • 51. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Reduced risk deployments Two model endpoint configuration Same endpoint Swap aws sagemaker create-endpoint-config --endpoint-config-name both-models-config --production-variants ‘[{“InitialInstanceCount”: 2, “InstanceType”: “ml.m4.xlarge”, ”InitialVariantWeight”: 95, ”ModelName”: “model1”, ”VariantName”: “model1-traffic”}, {“InitialInstanceCount”: 2, “InstanceType”: “ml.m4.xlarge”, ”InitialVariantWeight”: 5, ”ModelName”: “model2”, ”VariantName”: “model2-traffic”}]’ aws sagemaker update-endpoint --endpoint-name my-endpoint --endpoint-config-name both-models-config aws sagemaker update-endpoint-weights-and-capacities --endpoint-name my-endpoint --desired-weights-and-capacities ‘{“VariantName”: ”model1”, “DesiredWeight”: 5}’
  • 52. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Automatically scaling endpoints SageMaker console settings: • Min and max instances • Target invocations per instance • Scaling cool downs
  • 53. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Why automatic scaling?
  • 54. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Automatic scaling in action
  • 55. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Scaling criteria Algorithms have different memory, CPU, or GPU requirements Autoscale based on endpoint instance’s CloudWatch Metrics
  • 56. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Creating an automatic scaling policy Variant aws application-autoscaling register-scalable-target --service-namespace sagemaker --resource-id endpoint/my-endpoint/variant/model2 --scalable-dimension sagemaker:variant:DesiredInstanceCount --min-capacity 2 --max-capacity 5
  • 57. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Creating an automatic scaling policy Variant Policy aws application-autoscaling register-scalable-target --service-namespace sagemaker --resource-id endpoint/my-endpoint/variant/model2 --scalable-dimension sagemaker:variant:DesiredInstanceCount --min-capacity 2 --max-capacity 5 aws application-autoscaling put-scaling-policy --policy-name model2-scaling --service-namespace sagemaker --resource-id endpoint/my-endpoint/variant/model2 --scalable-dimension sagemaker:variant:DesiredInstanceCount --policy-type TargetTrackingScaling --target-tracking-scaling-policy-configuration ‘{"TargetValue": 50, "CustomizedMetricSpecification": {"MetricName": "CPUUtilization", "Namespace": "/aws/sagemaker/Endpoints", "Dimensions": [{"Name": "EndpointName", "Value": "my-endpoint"}, {"Name": "VariantName","Value": ”model2"}], "Statistic": "Average", "Unit": "Percent”}}’
  • 58. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Creating an automatic scaling policy Variant Policy aws application-autoscaling register-scalable-target --service-namespace sagemaker --resource-id endpoint/my-endpoint/variant/model2 --scalable-dimension sagemaker:variant:DesiredInstanceCount --min-capacity 2 --max-capacity 5 aws application-autoscaling put-scaling-policy --policy-name model2-scaling --service-namespace sagemaker --resource-id endpoint/my-endpoint/variant/model2 --scalable-dimension sagemaker:variant:DesiredInstanceCount --policy-type TargetTrackingScaling --target-tracking-scaling-policy-configuration ‘{"TargetValue": 50, "CustomizedMetricSpecification": {"MetricName": "CPUUtilization", "Namespace": "/aws/sagemaker/Endpoints", "Dimensions": [{"Name": "EndpointName", "Value": "my-endpoint"}, {"Name": "VariantName","Value": ”model2"}], "Statistic": "Average", "Unit": "Percent”}}’
  • 59. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Scale by utilization
  • 60. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Why AWS for AI/ML workloads?
  • 61. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T One-click model training and deployment Train once run anywhere 10x better algorithm performance 2x performance increases from model optimization with Neo 70% cost reduction for data labeling using Ground Truth 75% cost reduction for inference with Elastic Inference R E DUCE CO STS IN CREASE PE RFORMANCE E A SE-OF-USE AMAZON SAGEMAKER Machine Learning made simple
  • 62. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T AWS is framework agnostic Choose from popular frameworks Run them fully managed Or run them yourself
  • 63. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Subscribe in a single click Available in Amazon SageMaker KEY FEATURES Automatic labeling via machine learning IP protection Automated billing and metering Browse or search AWS Marketplace SELLERS Broad selection of paid, free, and open-source algorithms and models Data protection Discoverable on your AWS bill BUYERS AWS Marketplace for Machine Learning ML algorithms and models available instantly
  • 64. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Over 200 algorithms and models Natural Language Processing Grammar & Parsing Text OCR Computer Vision Named Entity Recognition Video Classification Speech Recognition Text-to-Speech Speaker Identification Text Classification 3D Images Anomaly Detection Text Generation Object Detection Regression Text Clustering Handwriting Recognition Ranking A V A I L A B L E A L G O R I T H M S & M O D E L S S E L E C T E D V E N D O R S
  • 65. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Resources SageMaker Product Page https://aws.amazon.com/sagemaker SageMaker Console https://console.aws.amazon.com/sagemaker/ Ground Truth Product Page https://aws.amazon.com/sagemaker/groundtruth Neo Product Page https://aws.amazon.com/sagemaker/neo SageMaker 10-Minute Tutorial https://aws.amazon.com/getting-started/tutorials/build-train-deploy-machine-learning-model-sagemaker/ SageMaker Related Blogs https://aws.amazon.com/blogs/machine-learning/category/artificial-intelligence/sagemaker/ Greengrass ML Inference Product Page https://aws.amazon.com/greengrass/ml/
  • 66. Thank you! S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Ian Perez Ponce | iperezpo@ Global Business Development, IoT & Edge Compute @AWS
  • 67. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 68. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.