SlideShare a Scribd company logo
1 of 37
Download to read offline
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Alexa Ask Jarvis to Create Me
a Serverless App
Aleksandar Simovic
Senior Engineer
ScienceExchange
S R V 3 1 5
Slobodan Stojanović
CTO
Cloud Horizon
“One in six Americans now owns a smart
speaker.”
NPR and Edison Research
January 2018
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Alexa
• 11% of all Americans own an Amazon Alexa device
• More than 50,000 skills
• Over 20,000 Alexa-enabled device types
• Over 100,000 developers in 180 countries
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Virtual assistants have become an
everyday reality!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Alexa
• Get information about anything
• Organize, plan, set tasks
• Order anything
• With the newest skills, even find parking with your
Echo Auto
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
But can we build something?
Anything?
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
We’re still far away from ….
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Marvel’s Jarvis from the Marvel’s movie “Iron Man”
• Helps Tony Stark find and build a new suit
• Keeps track of all the components
• Can order and assemble them virtually
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Building apps using a virtual assistant
is a dream.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
or is it …
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Live demo
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Wait …
Where does this all come from?
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Serverless Application Repository
With serverless your components
are well defined as services.
On the last re:Invent,
AWS Serverless Application
Repository was launched!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
So you’re saying …
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
So you’re saying … to ask Alexa to
assemble serverless app using Serverless
App Repo components?
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Meet Jarvis
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Architecture overview
Users
Alexa, ask
Jarvis Alexa skillAlexaEcho
Search for a
component /
application
Send Intent
Slots Analyze Syntax
Store applications
and services info
Invoke Jarvis
Serverless Jarvis
Learn which
component suits a
purpose
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
If you ever wanted to build a Jarvis how
would you start?
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Jarvis
Usually people start by building a reciter.
But how do we work on our projects?
One business = application.
Complex business processes are decomposed to simple ones.
Simple business processes are easily converted to serverless components.
We don’t work on apps in a streamlined, but multitasking manner.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How do we build on?
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Jarvis
We need to find a way how do we translate a simple business process “create
a service to save data to a database” to an AWS Serverless Application
Repository component.
What does a process consist of?
Input, process, output.
Ok, how do we know what’s an input and what’s an output?
We still some help!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Welcome Amazon Comprehend and
Amazon SageMaker!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How should we do things?
How do we get the sentence?
Alexa Intent Search Query.
How do we analyze the sentence?
Amazon Comprehend Syntax Analysis.
How do we detect what is a process structure?
Get the Subject, Predicate, Object structure.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How should we do things?
How do we get the process?
Convert the structure to an input, process, and output.
How do we know which component based on process?
Search the App Repo for such serverless components.
How do we deploy it and track it?
Deploy the component and store it in the AWS CloudFormation and Amazon
Dynamo DB.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Ready?
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Technologies that we will use
• Alexa Skill - Required
• AWS Serverless Application Repository - Required
• Comprehend - Required
• Amazon DynamoDB, Amazon Lex and Amazon
SageMaker are optional, they are for big teams or teams
that finish early.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Workshop
• This is a real Level 300 Advanced workshop. But don’t worry ☺
• Minimum 3 members per team.
• Divide the tasks by your experience. There are easy, medium and hard tasks.
Each team should have at least one member capable of doing the hard task.
• Tasks and instructions are available in Github repository, mentors are here to
help you. Feel free to ask anything, there are no stupid questions!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
Introduction ands teams setup (15 minutes)
Working on separate components (1 hour)
Assembling components (30 minutes)
Presenting solutions (20 minutes)
Workshop summary (10 minutes)
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Important note
Serverless Jarvis is still experimental tech
Conversational programming is future, but no one did it yet for production
So have fun, and try to learn something and break things ☺
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Time to work!
https://bit.ly/serverless-jarvis-workshop
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Summary
• Building your own Serverless Jarvis is not that hard, as we have all the services
in place, what we are doing is just application glue.
• Serverless Jarvis is not that deterministic, but there is a way. (Demo)
• Security is a concern. (How do you know that this component is trustworthy?)
• Is it really the future?
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
By Simon Wardley
Amazon
Thank you!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Aleksandar Simovic
@simalexan
Slobodan Stojanović
@slobodan_
Please complete the session
survey in the mobile app.
!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.

More Related Content

What's hot

What's New with Amazon Redshift ft. McDonald's (ANT350-R1) - AWS re:Invent 2018
What's New with Amazon Redshift ft. McDonald's (ANT350-R1) - AWS re:Invent 2018What's New with Amazon Redshift ft. McDonald's (ANT350-R1) - AWS re:Invent 2018
What's New with Amazon Redshift ft. McDonald's (ANT350-R1) - AWS re:Invent 2018Amazon Web Services
 
Build a Searchable Media Library & Moderate Content at Scale Using Machine Le...
Build a Searchable Media Library & Moderate Content at Scale Using Machine Le...Build a Searchable Media Library & Moderate Content at Scale Using Machine Le...
Build a Searchable Media Library & Moderate Content at Scale Using Machine Le...Amazon Web Services
 
Workshop: Architecting a Serverless Data Lake
Workshop: Architecting a Serverless Data LakeWorkshop: Architecting a Serverless Data Lake
Workshop: Architecting a Serverless Data LakeAmazon Web Services
 
Automate & Audit Cloud Governance & Compliance in Your Landing Zone (ENT315-R...
Automate & Audit Cloud Governance & Compliance in Your Landing Zone (ENT315-R...Automate & Audit Cloud Governance & Compliance in Your Landing Zone (ENT315-R...
Automate & Audit Cloud Governance & Compliance in Your Landing Zone (ENT315-R...Amazon Web Services
 
Amazon EMR: Optimize Transient Clusters for Data Processing & ETL (ANT341) - ...
Amazon EMR: Optimize Transient Clusters for Data Processing & ETL (ANT341) - ...Amazon EMR: Optimize Transient Clusters for Data Processing & ETL (ANT341) - ...
Amazon EMR: Optimize Transient Clusters for Data Processing & ETL (ANT341) - ...Amazon Web Services
 
Build an ETL Pipeline to Analyze Customer Data (AIM416) - AWS re:Invent 2018
Build an ETL Pipeline to Analyze Customer Data (AIM416) - AWS re:Invent 2018Build an ETL Pipeline to Analyze Customer Data (AIM416) - AWS re:Invent 2018
Build an ETL Pipeline to Analyze Customer Data (AIM416) - AWS re:Invent 2018Amazon Web Services
 
Managing Modern Infrastructure in Enterprises (ENT227-R1) - AWS re:Invent 2018
Managing Modern Infrastructure in Enterprises (ENT227-R1) - AWS re:Invent 2018Managing Modern Infrastructure in Enterprises (ENT227-R1) - AWS re:Invent 2018
Managing Modern Infrastructure in Enterprises (ENT227-R1) - AWS re:Invent 2018Amazon Web Services
 
[NEW LAUNCH!] [REPEAT 1] Amazon FSx for Lustre: How to build and deploy file ...
[NEW LAUNCH!] [REPEAT 1] Amazon FSx for Lustre: How to build and deploy file ...[NEW LAUNCH!] [REPEAT 1] Amazon FSx for Lustre: How to build and deploy file ...
[NEW LAUNCH!] [REPEAT 1] Amazon FSx for Lustre: How to build and deploy file ...Amazon Web Services
 
Optimize Amazon EC2 Instances, AWS Fargate Containers, & Lambda Functions (CM...
Optimize Amazon EC2 Instances, AWS Fargate Containers, & Lambda Functions (CM...Optimize Amazon EC2 Instances, AWS Fargate Containers, & Lambda Functions (CM...
Optimize Amazon EC2 Instances, AWS Fargate Containers, & Lambda Functions (CM...Amazon Web Services
 
Move Data to AWS Faster for Migrations, DR, & Bidirectional Workflows (STG382...
Move Data to AWS Faster for Migrations, DR, & Bidirectional Workflows (STG382...Move Data to AWS Faster for Migrations, DR, & Bidirectional Workflows (STG382...
Move Data to AWS Faster for Migrations, DR, & Bidirectional Workflows (STG382...Amazon Web Services
 
Enterprise Data Protection with Veritas NetBackup on AWS (STG347) - AWS re:In...
Enterprise Data Protection with Veritas NetBackup on AWS (STG347) - AWS re:In...Enterprise Data Protection with Veritas NetBackup on AWS (STG347) - AWS re:In...
Enterprise Data Protection with Veritas NetBackup on AWS (STG347) - AWS re:In...Amazon Web Services
 
Capture Voice of Customer Insights with NLP & Analytics (AIM415-R1) - AWS re:...
Capture Voice of Customer Insights with NLP & Analytics (AIM415-R1) - AWS re:...Capture Voice of Customer Insights with NLP & Analytics (AIM415-R1) - AWS re:...
Capture Voice of Customer Insights with NLP & Analytics (AIM415-R1) - AWS re:...Amazon Web Services
 
How to Use Jupyter Notebooks with Amazon EMR for Better Productivity (ANT387)...
How to Use Jupyter Notebooks with Amazon EMR for Better Productivity (ANT387)...How to Use Jupyter Notebooks with Amazon EMR for Better Productivity (ANT387)...
How to Use Jupyter Notebooks with Amazon EMR for Better Productivity (ANT387)...Amazon Web Services
 
DevOps Concepts for Data Science (DEV347-R2) - AWS re:Invent 2018
DevOps Concepts for Data Science (DEV347-R2) - AWS re:Invent 2018DevOps Concepts for Data Science (DEV347-R2) - AWS re:Invent 2018
DevOps Concepts for Data Science (DEV347-R2) - AWS re:Invent 2018Amazon Web Services
 
Serverless AI with Scikit-Learn (GPSWS405) - AWS re:Invent 2018
Serverless AI with Scikit-Learn (GPSWS405) - AWS re:Invent 2018Serverless AI with Scikit-Learn (GPSWS405) - AWS re:Invent 2018
Serverless AI with Scikit-Learn (GPSWS405) - AWS re:Invent 2018Amazon Web Services
 
Serverless Architectural Patterns and Best Practices (ARC305-R2) - AWS re:Inv...
Serverless Architectural Patterns and Best Practices (ARC305-R2) - AWS re:Inv...Serverless Architectural Patterns and Best Practices (ARC305-R2) - AWS re:Inv...
Serverless Architectural Patterns and Best Practices (ARC305-R2) - AWS re:Inv...Amazon Web Services
 
Build, Train, and Deploy ML Models with Amazon SageMaker (AIM410-R2) - AWS re...
Build, Train, and Deploy ML Models with Amazon SageMaker (AIM410-R2) - AWS re...Build, Train, and Deploy ML Models with Amazon SageMaker (AIM410-R2) - AWS re...
Build, Train, and Deploy ML Models with Amazon SageMaker (AIM410-R2) - AWS re...Amazon Web Services
 
Migrate Your Hadoop/Spark Workload to Amazon EMR and Architect It for Securit...
Migrate Your Hadoop/Spark Workload to Amazon EMR and Architect It for Securit...Migrate Your Hadoop/Spark Workload to Amazon EMR and Architect It for Securit...
Migrate Your Hadoop/Spark Workload to Amazon EMR and Architect It for Securit...Amazon Web Services
 
Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...
Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...
Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...Amazon Web Services
 
Introduction to GraphQL (MOB316-R1) - AWS re:Invent 2018
Introduction to GraphQL (MOB316-R1) - AWS re:Invent 2018Introduction to GraphQL (MOB316-R1) - AWS re:Invent 2018
Introduction to GraphQL (MOB316-R1) - AWS re:Invent 2018Amazon Web Services
 

What's hot (20)

What's New with Amazon Redshift ft. McDonald's (ANT350-R1) - AWS re:Invent 2018
What's New with Amazon Redshift ft. McDonald's (ANT350-R1) - AWS re:Invent 2018What's New with Amazon Redshift ft. McDonald's (ANT350-R1) - AWS re:Invent 2018
What's New with Amazon Redshift ft. McDonald's (ANT350-R1) - AWS re:Invent 2018
 
Build a Searchable Media Library & Moderate Content at Scale Using Machine Le...
Build a Searchable Media Library & Moderate Content at Scale Using Machine Le...Build a Searchable Media Library & Moderate Content at Scale Using Machine Le...
Build a Searchable Media Library & Moderate Content at Scale Using Machine Le...
 
Workshop: Architecting a Serverless Data Lake
Workshop: Architecting a Serverless Data LakeWorkshop: Architecting a Serverless Data Lake
Workshop: Architecting a Serverless Data Lake
 
Automate & Audit Cloud Governance & Compliance in Your Landing Zone (ENT315-R...
Automate & Audit Cloud Governance & Compliance in Your Landing Zone (ENT315-R...Automate & Audit Cloud Governance & Compliance in Your Landing Zone (ENT315-R...
Automate & Audit Cloud Governance & Compliance in Your Landing Zone (ENT315-R...
 
Amazon EMR: Optimize Transient Clusters for Data Processing & ETL (ANT341) - ...
Amazon EMR: Optimize Transient Clusters for Data Processing & ETL (ANT341) - ...Amazon EMR: Optimize Transient Clusters for Data Processing & ETL (ANT341) - ...
Amazon EMR: Optimize Transient Clusters for Data Processing & ETL (ANT341) - ...
 
Build an ETL Pipeline to Analyze Customer Data (AIM416) - AWS re:Invent 2018
Build an ETL Pipeline to Analyze Customer Data (AIM416) - AWS re:Invent 2018Build an ETL Pipeline to Analyze Customer Data (AIM416) - AWS re:Invent 2018
Build an ETL Pipeline to Analyze Customer Data (AIM416) - AWS re:Invent 2018
 
Managing Modern Infrastructure in Enterprises (ENT227-R1) - AWS re:Invent 2018
Managing Modern Infrastructure in Enterprises (ENT227-R1) - AWS re:Invent 2018Managing Modern Infrastructure in Enterprises (ENT227-R1) - AWS re:Invent 2018
Managing Modern Infrastructure in Enterprises (ENT227-R1) - AWS re:Invent 2018
 
[NEW LAUNCH!] [REPEAT 1] Amazon FSx for Lustre: How to build and deploy file ...
[NEW LAUNCH!] [REPEAT 1] Amazon FSx for Lustre: How to build and deploy file ...[NEW LAUNCH!] [REPEAT 1] Amazon FSx for Lustre: How to build and deploy file ...
[NEW LAUNCH!] [REPEAT 1] Amazon FSx for Lustre: How to build and deploy file ...
 
Optimize Amazon EC2 Instances, AWS Fargate Containers, & Lambda Functions (CM...
Optimize Amazon EC2 Instances, AWS Fargate Containers, & Lambda Functions (CM...Optimize Amazon EC2 Instances, AWS Fargate Containers, & Lambda Functions (CM...
Optimize Amazon EC2 Instances, AWS Fargate Containers, & Lambda Functions (CM...
 
Move Data to AWS Faster for Migrations, DR, & Bidirectional Workflows (STG382...
Move Data to AWS Faster for Migrations, DR, & Bidirectional Workflows (STG382...Move Data to AWS Faster for Migrations, DR, & Bidirectional Workflows (STG382...
Move Data to AWS Faster for Migrations, DR, & Bidirectional Workflows (STG382...
 
Enterprise Data Protection with Veritas NetBackup on AWS (STG347) - AWS re:In...
Enterprise Data Protection with Veritas NetBackup on AWS (STG347) - AWS re:In...Enterprise Data Protection with Veritas NetBackup on AWS (STG347) - AWS re:In...
Enterprise Data Protection with Veritas NetBackup on AWS (STG347) - AWS re:In...
 
Capture Voice of Customer Insights with NLP & Analytics (AIM415-R1) - AWS re:...
Capture Voice of Customer Insights with NLP & Analytics (AIM415-R1) - AWS re:...Capture Voice of Customer Insights with NLP & Analytics (AIM415-R1) - AWS re:...
Capture Voice of Customer Insights with NLP & Analytics (AIM415-R1) - AWS re:...
 
How to Use Jupyter Notebooks with Amazon EMR for Better Productivity (ANT387)...
How to Use Jupyter Notebooks with Amazon EMR for Better Productivity (ANT387)...How to Use Jupyter Notebooks with Amazon EMR for Better Productivity (ANT387)...
How to Use Jupyter Notebooks with Amazon EMR for Better Productivity (ANT387)...
 
DevOps Concepts for Data Science (DEV347-R2) - AWS re:Invent 2018
DevOps Concepts for Data Science (DEV347-R2) - AWS re:Invent 2018DevOps Concepts for Data Science (DEV347-R2) - AWS re:Invent 2018
DevOps Concepts for Data Science (DEV347-R2) - AWS re:Invent 2018
 
Serverless AI with Scikit-Learn (GPSWS405) - AWS re:Invent 2018
Serverless AI with Scikit-Learn (GPSWS405) - AWS re:Invent 2018Serverless AI with Scikit-Learn (GPSWS405) - AWS re:Invent 2018
Serverless AI with Scikit-Learn (GPSWS405) - AWS re:Invent 2018
 
Serverless Architectural Patterns and Best Practices (ARC305-R2) - AWS re:Inv...
Serverless Architectural Patterns and Best Practices (ARC305-R2) - AWS re:Inv...Serverless Architectural Patterns and Best Practices (ARC305-R2) - AWS re:Inv...
Serverless Architectural Patterns and Best Practices (ARC305-R2) - AWS re:Inv...
 
Build, Train, and Deploy ML Models with Amazon SageMaker (AIM410-R2) - AWS re...
Build, Train, and Deploy ML Models with Amazon SageMaker (AIM410-R2) - AWS re...Build, Train, and Deploy ML Models with Amazon SageMaker (AIM410-R2) - AWS re...
Build, Train, and Deploy ML Models with Amazon SageMaker (AIM410-R2) - AWS re...
 
Migrate Your Hadoop/Spark Workload to Amazon EMR and Architect It for Securit...
Migrate Your Hadoop/Spark Workload to Amazon EMR and Architect It for Securit...Migrate Your Hadoop/Spark Workload to Amazon EMR and Architect It for Securit...
Migrate Your Hadoop/Spark Workload to Amazon EMR and Architect It for Securit...
 
Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...
Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...
Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...
 
Introduction to GraphQL (MOB316-R1) - AWS re:Invent 2018
Introduction to GraphQL (MOB316-R1) - AWS re:Invent 2018Introduction to GraphQL (MOB316-R1) - AWS re:Invent 2018
Introduction to GraphQL (MOB316-R1) - AWS re:Invent 2018
 

Similar to Alexa, Ask Jarvis to Create a Serverless App for Me (SRV315) - AWS re:Invent 2018

SRV207 Orchestrating AWS Lambda with Step Functions
 SRV207 Orchestrating AWS Lambda with Step Functions SRV207 Orchestrating AWS Lambda with Step Functions
SRV207 Orchestrating AWS Lambda with Step FunctionsAmazon Web Services
 
Serverless best practices plus design principles 20m version
Serverless   best practices plus design principles 20m versionServerless   best practices plus design principles 20m version
Serverless best practices plus design principles 20m versionHeitor Lessa
 
Building Alexa Skills with AWS | AWS Floor28
Building Alexa Skills with AWS | AWS Floor28Building Alexa Skills with AWS | AWS Floor28
Building Alexa Skills with AWS | AWS Floor28Amazon Web Services
 
Building Alexa Skills - Floor28
Building Alexa Skills - Floor28Building Alexa Skills - Floor28
Building Alexa Skills - Floor28Boaz Ziniman
 
DataXDay - Machine learning models at scale with Amazon SageMaker
DataXDay - Machine learning models at scale with Amazon SageMaker DataXDay - Machine learning models at scale with Amazon SageMaker
DataXDay - Machine learning models at scale with Amazon SageMaker DataXDay Conference by Xebia
 
Launch Applications the Amazon Way: AWS Startup Day - New York 2018
Launch Applications the Amazon Way: AWS Startup Day - New York 2018Launch Applications the Amazon Way: AWS Startup Day - New York 2018
Launch Applications the Amazon Way: AWS Startup Day - New York 2018Amazon Web Services
 
How serverless helps startups innovate and scale
How serverless helps startups innovate and scaleHow serverless helps startups innovate and scale
How serverless helps startups innovate and scaleGabe Hollombe
 
Serverless and DevOps
Serverless and DevOpsServerless and DevOps
Serverless and DevOpsChris Munns
 
From Idea to Customers: Developing Modern Cloud-Enabled Apps with AWS (MOB201...
From Idea to Customers: Developing Modern Cloud-Enabled Apps with AWS (MOB201...From Idea to Customers: Developing Modern Cloud-Enabled Apps with AWS (MOB201...
From Idea to Customers: Developing Modern Cloud-Enabled Apps with AWS (MOB201...Amazon Web Services
 
Building the Organization of the Future: Leveraging AI & ML
Building the Organization of the Future: Leveraging AI & ML Building the Organization of the Future: Leveraging AI & ML
Building the Organization of the Future: Leveraging AI & ML Amazon Web Services
 
Rapid Development using Serverless Infrastructure - Tel Aviv Summit 2018
Rapid Development using Serverless Infrastructure - Tel Aviv Summit 2018Rapid Development using Serverless Infrastructure - Tel Aviv Summit 2018
Rapid Development using Serverless Infrastructure - Tel Aviv Summit 2018Amazon Web Services
 
Alexa Everywhere: A Year in Review (ALX201) - AWS re:Invent 2018
Alexa Everywhere: A Year in Review (ALX201) - AWS re:Invent 2018Alexa Everywhere: A Year in Review (ALX201) - AWS re:Invent 2018
Alexa Everywhere: A Year in Review (ALX201) - AWS re:Invent 2018Amazon Web Services
 
Build and Test a Serverless Error-Tracking Tool in One Weekend (SRV346-R1) - ...
Build and Test a Serverless Error-Tracking Tool in One Weekend (SRV346-R1) - ...Build and Test a Serverless Error-Tracking Tool in One Weekend (SRV346-R1) - ...
Build and Test a Serverless Error-Tracking Tool in One Weekend (SRV346-R1) - ...Amazon Web Services
 
Leveraging Experts for Scale - Ralf Capel - AWS TechShift ANZ 2018
Leveraging Experts for Scale - Ralf Capel - AWS TechShift ANZ 2018Leveraging Experts for Scale - Ralf Capel - AWS TechShift ANZ 2018
Leveraging Experts for Scale - Ralf Capel - AWS TechShift ANZ 2018Amazon Web Services
 
Launching applications the Amazon Way
Launching applications the Amazon WayLaunching applications the Amazon Way
Launching applications the Amazon WayAmazon Web Services
 
An Intro to AWS for Developers: AWS Developer Workshop at Web Summit 2018
An Intro to AWS for Developers: AWS Developer Workshop at Web Summit 2018An Intro to AWS for Developers: AWS Developer Workshop at Web Summit 2018
An Intro to AWS for Developers: AWS Developer Workshop at Web Summit 2018Amazon Web Services
 
Getting Started with AWS for Develoeprs
Getting Started with AWS for DeveloeprsGetting Started with AWS for Develoeprs
Getting Started with AWS for DeveloeprsAmazon Web Services
 

Similar to Alexa, Ask Jarvis to Create a Serverless App for Me (SRV315) - AWS re:Invent 2018 (20)

Bring Alexa to Work
Bring Alexa to Work Bring Alexa to Work
Bring Alexa to Work
 
SRV207 Orchestrating AWS Lambda with Step Functions
 SRV207 Orchestrating AWS Lambda with Step Functions SRV207 Orchestrating AWS Lambda with Step Functions
SRV207 Orchestrating AWS Lambda with Step Functions
 
Serverless best practices plus design principles 20m version
Serverless   best practices plus design principles 20m versionServerless   best practices plus design principles 20m version
Serverless best practices plus design principles 20m version
 
Building Alexa Skills with AWS | AWS Floor28
Building Alexa Skills with AWS | AWS Floor28Building Alexa Skills with AWS | AWS Floor28
Building Alexa Skills with AWS | AWS Floor28
 
Building Alexa Skills - Floor28
Building Alexa Skills - Floor28Building Alexa Skills - Floor28
Building Alexa Skills - Floor28
 
DataXDay - Machine learning models at scale with Amazon SageMaker
DataXDay - Machine learning models at scale with Amazon SageMaker DataXDay - Machine learning models at scale with Amazon SageMaker
DataXDay - Machine learning models at scale with Amazon SageMaker
 
Cheat your Way into the Cloud
Cheat your Way into the CloudCheat your Way into the Cloud
Cheat your Way into the Cloud
 
Launch Applications the Amazon Way: AWS Startup Day - New York 2018
Launch Applications the Amazon Way: AWS Startup Day - New York 2018Launch Applications the Amazon Way: AWS Startup Day - New York 2018
Launch Applications the Amazon Way: AWS Startup Day - New York 2018
 
How serverless helps startups innovate and scale
How serverless helps startups innovate and scaleHow serverless helps startups innovate and scale
How serverless helps startups innovate and scale
 
Serverless and DevOps
Serverless and DevOpsServerless and DevOps
Serverless and DevOps
 
From Idea to Customers: Developing Modern Cloud-Enabled Apps with AWS (MOB201...
From Idea to Customers: Developing Modern Cloud-Enabled Apps with AWS (MOB201...From Idea to Customers: Developing Modern Cloud-Enabled Apps with AWS (MOB201...
From Idea to Customers: Developing Modern Cloud-Enabled Apps with AWS (MOB201...
 
Building the Organization of the Future: Leveraging AI & ML
Building the Organization of the Future: Leveraging AI & ML Building the Organization of the Future: Leveraging AI & ML
Building the Organization of the Future: Leveraging AI & ML
 
Rapid Development using Serverless Infrastructure - Tel Aviv Summit 2018
Rapid Development using Serverless Infrastructure - Tel Aviv Summit 2018Rapid Development using Serverless Infrastructure - Tel Aviv Summit 2018
Rapid Development using Serverless Infrastructure - Tel Aviv Summit 2018
 
Alexa Everywhere: A Year in Review (ALX201) - AWS re:Invent 2018
Alexa Everywhere: A Year in Review (ALX201) - AWS re:Invent 2018Alexa Everywhere: A Year in Review (ALX201) - AWS re:Invent 2018
Alexa Everywhere: A Year in Review (ALX201) - AWS re:Invent 2018
 
Build and Test a Serverless Error-Tracking Tool in One Weekend (SRV346-R1) - ...
Build and Test a Serverless Error-Tracking Tool in One Weekend (SRV346-R1) - ...Build and Test a Serverless Error-Tracking Tool in One Weekend (SRV346-R1) - ...
Build and Test a Serverless Error-Tracking Tool in One Weekend (SRV346-R1) - ...
 
Leveraging Experts for Scale - Ralf Capel - AWS TechShift ANZ 2018
Leveraging Experts for Scale - Ralf Capel - AWS TechShift ANZ 2018Leveraging Experts for Scale - Ralf Capel - AWS TechShift ANZ 2018
Leveraging Experts for Scale - Ralf Capel - AWS TechShift ANZ 2018
 
Launching applications the Amazon Way
Launching applications the Amazon WayLaunching applications the Amazon Way
Launching applications the Amazon Way
 
An Intro to AWS for Developers: AWS Developer Workshop at Web Summit 2018
An Intro to AWS for Developers: AWS Developer Workshop at Web Summit 2018An Intro to AWS for Developers: AWS Developer Workshop at Web Summit 2018
An Intro to AWS for Developers: AWS Developer Workshop at Web Summit 2018
 
Getting Started with AWS for Develoeprs
Getting Started with AWS for DeveloeprsGetting Started with AWS for Develoeprs
Getting Started with AWS for Develoeprs
 
Are you Well-Architected?
Are you Well-Architected?Are you Well-Architected?
Are you Well-Architected?
 

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
 

Alexa, Ask Jarvis to Create a Serverless App for Me (SRV315) - AWS re:Invent 2018

  • 1.
  • 2. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Alexa Ask Jarvis to Create Me a Serverless App Aleksandar Simovic Senior Engineer ScienceExchange S R V 3 1 5 Slobodan Stojanović CTO Cloud Horizon
  • 3. “One in six Americans now owns a smart speaker.” NPR and Edison Research January 2018
  • 4. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Alexa • 11% of all Americans own an Amazon Alexa device • More than 50,000 skills • Over 20,000 Alexa-enabled device types • Over 100,000 developers in 180 countries
  • 5. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Virtual assistants have become an everyday reality!
  • 6. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Alexa • Get information about anything • Organize, plan, set tasks • Order anything • With the newest skills, even find parking with your Echo Auto
  • 7. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. But can we build something? Anything?
  • 8. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. We’re still far away from ….
  • 9. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 10. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Marvel’s Jarvis from the Marvel’s movie “Iron Man” • Helps Tony Stark find and build a new suit • Keeps track of all the components • Can order and assemble them virtually
  • 11. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Building apps using a virtual assistant is a dream.
  • 12. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. or is it …
  • 13. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Live demo
  • 14. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Wait … Where does this all come from?
  • 15. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Serverless Application Repository With serverless your components are well defined as services. On the last re:Invent, AWS Serverless Application Repository was launched!
  • 16. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. So you’re saying …
  • 17. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. So you’re saying … to ask Alexa to assemble serverless app using Serverless App Repo components?
  • 18. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Meet Jarvis
  • 19. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Architecture overview Users Alexa, ask Jarvis Alexa skillAlexaEcho Search for a component / application Send Intent Slots Analyze Syntax Store applications and services info Invoke Jarvis Serverless Jarvis Learn which component suits a purpose
  • 20. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. If you ever wanted to build a Jarvis how would you start?
  • 21. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Jarvis Usually people start by building a reciter. But how do we work on our projects? One business = application. Complex business processes are decomposed to simple ones. Simple business processes are easily converted to serverless components. We don’t work on apps in a streamlined, but multitasking manner.
  • 22. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. How do we build on?
  • 23. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Jarvis We need to find a way how do we translate a simple business process “create a service to save data to a database” to an AWS Serverless Application Repository component. What does a process consist of? Input, process, output. Ok, how do we know what’s an input and what’s an output? We still some help!
  • 24. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Welcome Amazon Comprehend and Amazon SageMaker!
  • 25. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. How should we do things? How do we get the sentence? Alexa Intent Search Query. How do we analyze the sentence? Amazon Comprehend Syntax Analysis. How do we detect what is a process structure? Get the Subject, Predicate, Object structure.
  • 26. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. How should we do things? How do we get the process? Convert the structure to an input, process, and output. How do we know which component based on process? Search the App Repo for such serverless components. How do we deploy it and track it? Deploy the component and store it in the AWS CloudFormation and Amazon Dynamo DB.
  • 27. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 28. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Ready?
  • 29. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Technologies that we will use • Alexa Skill - Required • AWS Serverless Application Repository - Required • Comprehend - Required • Amazon DynamoDB, Amazon Lex and Amazon SageMaker are optional, they are for big teams or teams that finish early.
  • 30. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Workshop • This is a real Level 300 Advanced workshop. But don’t worry ☺ • Minimum 3 members per team. • Divide the tasks by your experience. There are easy, medium and hard tasks. Each team should have at least one member capable of doing the hard task. • Tasks and instructions are available in Github repository, mentors are here to help you. Feel free to ask anything, there are no stupid questions!
  • 31. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Agenda Introduction ands teams setup (15 minutes) Working on separate components (1 hour) Assembling components (30 minutes) Presenting solutions (20 minutes) Workshop summary (10 minutes)
  • 32. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Important note Serverless Jarvis is still experimental tech Conversational programming is future, but no one did it yet for production So have fun, and try to learn something and break things ☺
  • 33. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Time to work! https://bit.ly/serverless-jarvis-workshop
  • 34. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Summary • Building your own Serverless Jarvis is not that hard, as we have all the services in place, what we are doing is just application glue. • Serverless Jarvis is not that deterministic, but there is a way. (Demo) • Security is a concern. (How do you know that this component is trustworthy?) • Is it really the future?
  • 35. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. By Simon Wardley Amazon
  • 36. Thank you! © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Aleksandar Simovic @simalexan Slobodan Stojanović @slobodan_
  • 37. Please complete the session survey in the mobile app. ! © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.