Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Infrastructure as Voice and Serverless

Avatar for Luiz Yanai Luiz Yanai
November 29, 2019

Infrastructure as Voice and Serverless

Sample demonstration how easy is to create voice interaction applications that interact with Cloud services to manage infrastructure.

Avatar for Luiz Yanai

Luiz Yanai

November 29, 2019

More Decks by Luiz Yanai

Other Decks in Technology

Transcript

  1. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Luiz Yanai – Solutions Architect Infrastructure as Voice and Serverless November 2019
  2. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AGENDA AWS Demo Systems Manager Security Alexa Skills
  3. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. S Ã O P A U L O • AWS office (2011) • AWS Region (2011) • 3 Availability Zones • 5 Points of Presence : Rio de Janeiro, Brasil (3); São Paulo, Brasil (2) AWS South America Established São Paulo office in 2011 Opened South America (São Paulo) Region in 2011 3 Availability Zones for high availability applications 5 CloudFront Points of Presence in Rio de Janeiro (3) and São Paulo (2)
  4. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Stockhol m Hong Kong Announced Regions AWS Global Infrastructure
  5. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. The broadest and deepest platform for today’s builders
  6. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Types of Alexa skill models Custom Smart home Flash briefing Video List For crafting unique game or app experiences For providing flash briefing content For providing video playback of content For using and maintaining lists For controlling a smart home and devices
  7. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Connected home market Use cases Home automation Home security & monitoring Wi-Fi routers & modems Cable set-top boxes Home networking Lighting systems Media & entertainment White goods & appliances Small appliances Home assistants Soundbars TVs Vacuum robots Door locks Smart meters Security cameras Water leak detectors Thermostat
  8. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. The Alexa Service Alexa Skills Kit Alexa Voice Services
  9. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Alexa Skills Kit The Alexa Skills Kit (ASK) lets you teach Alexa new skills It contains the documentation, tools, and sample code needed to build Alexa skills https://developer.amazon.com/ask
  10. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Alexa Skills Kit: Processing a request Audio Request Response Your service Speech Recognition Machine Learning Natural Language Understanding Text to Speech Cards
  11. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Cards Alexa Skills Kit: Utterances and Intents Response Your service Audio Speech Recognition Machine Learning Natural Language Understanding Text to Speech Request Intents Utterances Cards
  12. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Alexa, ask Anime Facts for a fact wake word utterance skill name launch Utterances and Intents
  13. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. One more please utterance Utterances and Intents Alexa, ask Anime Facts for a fact wake word utterance skill name launch
  14. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. GetFactIntent Intent utterance slot value Utterances and Intents One more please utterance Alexa, ask Anime Facts for a fact wake word utterance skill name launch
  15. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. AnswerIntent {value: “one”} slot value Intent one is the answer slot value Slots in the utterances The answer is one slot value one slot value
  16. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Audio Speech Recognition Machine Learning Natural Language Understanding Text to Speech Cards Alexa Skills Kit: Requests and Responses Request Response Your service
  17. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Using Lambda for Processing the Request & generating the response
  18. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  19. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. What is serverless? No infrastructure provisioning, no management Automatic scaling Pay for value Highly available and secure
  20. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Serverless is an operational model that spans many different categories of services AWS Lambda AWS Fargate Amazon API Gateway Amazon SNS Amazon SQS AWS Step Functions COMPUTE DATA STORES INTEGRATION Amazon Aurora Serverless Amazon S3 Amazon DynamoDB AWS AppSync
  21. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. AWS Management & Governance Monitor resources and applications Optimize to reduce cost and improve security posture Manage resources and take operational action Audit user activity and resource configurations Amazon CloudWatch AWS Trusted Advisor AWS Cost and Usage Report AWS Cost Explorer AWS Systems Manager AWS CloudTrail AWS Config
  22. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. AWS Systems Manager Capabilities Resource Groups Run Command Inventory Patch Manager Automation Parameter Store Maintenance Window State Manager Session Manager Distributor
  23. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. What is AWS Systems Manager Automation? • Build and execute DevOps & IT workflows • Manage any AWS resource across accounts and regions • Orchestrate dynamic workflows using conditional branching • Safe at-scale operations using rate control • Standardize and share best practices across organization Platform to orchestrate operational workflows
  24. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. What should we think about Automating? •Reduce time spent on repetitive tasks • Update of golden images • Delete orphaned Active Directory objects • Patching with Rollback •Respond to events within your environment • Correct configuration drift • Correct compliance drift •Provide Self-Service to consumers without Providing elevated Privileges • Create a Snapshot • Start or Stop an Instance • Rescue an Unresponsive Server
  25. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Easy to Use Automation Run the automation Role and permission Input Automation document
  26. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Wait, what’s a Document? • Documents are used to express sequence of actions • Identified using Amazon Resource Names (ARNs) • Create/Edit Documents, versions, view history, and share • Parameter validation reduces human error • Authored in JSON/YAML • Amazon published AWS-named Documents
  27. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Automation Documents
  28. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Next Steps • Create more utterances, intents and slots to create a more comprehensive interaction • Secure the application protecting sensitive information (e.g. AWS SSM Parameter Store) • Create controls to image selection with alternative names • Create authentication mechanism to validate user • Skill publishing using certification process (Public or Private)
  29. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Some Interesting Content Alexa Blogs How to use Systems Manager to automate customers accounts Alexa GitHub Alexa for Business
  30. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. GitHub Repo This Presentation http://bit.ly/IaV-serverless
  31. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Thank You! Luiz Yanai [email protected] https://www.linkedin.com/in/luizyanai/
  32. © 2019, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved.