Advertisement

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

Amazon Web Services
Nov. 28, 2018
Advertisement

More Related Content

Slideshows for you(20)

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

Advertisement

More from Amazon Web Services(20)

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

  1. © 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
  2. “One in six Americans now owns a smart speaker.” NPR and Edison Research January 2018
  3. © 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
  4. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Virtual assistants have become an everyday reality!
  5. © 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
  6. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. But can we build something? Anything?
  7. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. We’re still far away from ….
  8. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  9. © 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
  10. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Building apps using a virtual assistant is a dream.
  11. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. or is it …
  12. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Live demo
  13. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Wait … Where does this all come from?
  14. © 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!
  15. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. So you’re saying …
  16. © 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?
  17. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Meet Jarvis
  18. © 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
  19. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. If you ever wanted to build a Jarvis how would you start?
  20. © 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.
  21. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. How do we build on?
  22. © 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!
  23. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Welcome Amazon Comprehend and Amazon SageMaker!
  24. © 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.
  25. © 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.
  26. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  27. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Ready?
  28. © 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.
  29. © 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!
  30. © 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)
  31. © 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 ☺
  32. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Time to work! https://bit.ly/serverless-jarvis-workshop
  33. © 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?
  34. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. By Simon Wardley Amazon
  35. Thank you! © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Aleksandar Simovic @simalexan Slobodan Stojanović @slobodan_
  36. Please complete the session survey in the mobile app. ! © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Advertisement