Amazon Connect Lex4ec2 Patch Status Check – Solution Design and Setup Guide

Total Page:16

File Type:pdf, Size:1020Kb

Amazon Connect Lex4ec2 Patch Status Check – Solution Design and Setup Guide Amazon Connect Lex4EC2 Patch Status Check – Solution Design and Setup Guide Technical Guide March 8, 2021 Notices Customers are responsible for making their own independent assessment of the information in this document. This document: (a) is for informational purposes only, (b) represents current AWS product offerings and practices, which are subject to change without notice, and (c) does not create any commitments or assurances from AWS and its affiliates, suppliers or licensors. AWS products or services are provided “as is” without warranties, representations, or conditions of any kind, whether express or implied. The responsibilities and liabilities of AWS to its customers are controlled by AWS agreements, and this document is not part of, nor does it modify, any agreement between AWS and its customers. © 2021 Amazon Web Services, Inc. or its affiliates. All rights reserved. Contents Before you begin ................................................................................................................. 1 Architecture and design ....................................................................................................... 1 Known caller authentication flow ..................................................................................... 2 Unknown caller authentication flow ................................................................................. 3 Chat client authentication flow ......................................................................................... 5 Components and information architecture .......................................................................... 6 Amazon Connect .............................................................................................................. 6 Amazon Lex...................................................................................................................... 7 AWS Lambda ................................................................................................................... 8 Amazon DynamoDB ......................................................................................................... 9 Amazon SNS .................................................................................................................. 10 AWS Systems Manager ................................................................................................. 10 Setup guide ........................................................................................................................ 10 1. Amazon Connect instance creation ........................................................................... 11 2. Amazon connect instance configuration.................................................................... 11 3. Lex configuration ........................................................................................................ 11 4. Create and configure contact flows ........................................................................... 14 5. Test case setup .......................................................................................................... 20 Prerequisite .................................................................................................................... 20 Conclusion ......................................................................................................................... 27 Contributors ....................................................................................................................... 27 Document revisions ........................................................................................................... 28 About this guide This guide contains an architecture and step-by-step implementation of a Minimal Viable Product buildout for an operations mechanism. This type of mechanism is a good fit for large organizations which consist of multiple teams with a central IT department. This MVP build enables IT staff members to either call in or chat via a chat client (such as Slack) to check on the status of maintenance scheduled patching jobs. While the MVP case remains simple, the buildout can be extended to other tasks, such as: • Authorize and trigger an emergency patch job for Amazon EC2 instances with remotely exploitable vulnerabilities. • Start on-demand network and/or vulnerability scan jobs and summarize the result. This guide shows how Amazon Connect and Amazon Lex can be leveraged to integrate with the rest of Amazon Web Services (AWS) to simplify common but important IT tasks. Amazon Web Services Before you begin Prior to deploying this mechanism, consider the following: • Who is responsible for applying the patches and how are they currently being notified of the patching result? For some, email is sufficient, while others might prefer lighter weight mechanism like SMS messages or chat clients. Appropriate changes must be made. • How many instances are being patched at the same time? Remember that the current mechanism is meant to show the possible integrations, so it provides only the summary of patching status. This can be changed in the code. • If more details of the patching status are required, Amazon Lex can be easily adjusted to provide additional details. Important: A basic understanding of the Amazon Connect contact flows is required. Understanding of programming languages like Python and/or Nodejs might help. Architecture and design In this section, the known caller authentication flow and the unknown caller authentication flows are illustrated separately. 1 Amazon Web Services Known caller authentication flow Known caller authentication flow Note: A “known” user means the caller’s phone number is in the system (for example, in the Amazon DynamoDB table). Key: 1. A user calls in, which initiates authentication by the contact flow. • The authentication AWS Lambda function is invoked, with the caller’s number as one of the parameters. 2. Using the number provided, the Employee table within the DynamoDB table is queried, and the match record is retrieved. 3. The entire employee record with the matching phone number is returned to the Lambda function. 2 Amazon Web Services 4. The Lambda function asks for the permanent personal identification number (PIN) stored in the DynamoDB table. 5. The user enters the permanent PIN. 6. The authentication Lambda function signals the contact flow that the user has been authenticated. Unknown caller authentication flow Unknown caller authentication flow Note: A “unknown” user means the caller’s phone number is not in the system. Key: 1. A user calls in, which initiates the authentication by the contact flow. 3 Amazon Web Services • The authentication Lambda function is invoked with the caller’s number as one of the parameters. 2. Using the number provided, the Employee table within the DynamoDB table is queried and the match record retrieved. 3. The Lambda function notifies the contact flow that the Employee record lookup returned empty. 4. The Employee ID is requested. 5. The user enters the ID using the phone. • Behind the scenes, the Lambda function retrieves the employee record matching the ID. 6. The permanent PIN is requested. 7. The user enters the PIN. 8. The Lambda function signals the contact flow that the user has been authenticated, and this invokes the Lex bot. 4 Amazon Web Services Chat client authentication flow Chat client authentication flow Note: In this example, we are integrating with Slack chat client but Amazon Lex supports other Messaging Platforms such as Facebook messenger and Kik. For more information, see Deploying an Amazon Lex Bot on a Messaging Platform. Key: 1. The user initiates the chat session with keywords such as “check patching”. 2. Amazon recognizes that the user session is from a chat client such as Slack, and it invokes the Lex bot with the session info. 3. The Lex bot asks for the Employee ID, and it queries the employee record from the DynamoDB table. 5 Amazon Web Services 4. From the returned record, the bot retrieves the phone number and generates a randomized 6-digit One Time PIN (OTP). The PIN expires within 60 seconds. 5. Using Amazon Simple Notification Service (Amazon SNS), the Lex bot sends out the OTP. 6. The user types in the OTP in the same chat session, and authentication is complete. Components and information architecture Amazon Connect Use Amazon Connect to build the virtual contact center. In this architecture, you need three contact flows: 1. PatchStatus_MainFlow — This contact flow is responsible for greeting the caller. It sets up logging, selects the voice, and redirects the call to the authentication flow. 2. PatchStatus_Authentication — The authentication flow is responsible for providing the basic authentication mechanism for Amazon Connect and Amazon Lex. This architecture assumes that employee records are kept in a DynamoDB table named “Employee”. (See the DynamoDB section of this document for the schema information.) Authentication uses the following workflow to authenticate or deny a user: a. If it’s a voice call, the authentication contact flow asks for an Employee ID. If it’s a chat session, the authentication is handled in the Lex bot, which is discussed later in this document. b. The contact flow looks up the table with the EmployeeID. c. If the record is not present, the contact flow notifies the user and disconnects. d. If the record is present, the calling number is checked against the PhoneNumber record in the Employee table. • If it’s a match, the contact flow asks for the permanent PIN stored
Recommended publications
  • Cloud Methodologies for a Seamless Integrated Chatbot
    Published by : International Journal of Engineering Research & Technology (IJERT) http://www.ijert.org ISSN: 2278-0181 Vol. 9 Issue 08, August-2020 Cloud Methodologies for A Seamless Integrated Chatbot Sharan Kumar Paratala Rajagopal IEEE Member Senior Manager, Capgemini America, Inc. Dallas, Texas, USA Abstract—This research paper provides details of connecting C. Seamless AWS integrations Amazon connect to Amazon pinpoint to send SMS and also Amazon Lex provides built-in integration with AWS provides some insights on how it can be integrated with social Lambda and Amazon CloudWatch and you can easily platforms such as Facebook messaging and WhatsApp. Amazon integrate with many other services on the AWS platform Lex can be leveraged as standalone bot on the website or can be including Amazon Cognito and Amazon DynamoDB. You triggered from Amazon connect for Intelligent voice responses. can take advantage of the power of the AWS platform for Keywords—Amazon Lex, Amazon Connect, Amazon Pinpoint, security, monitoring, user authentication, business logic, WhatsApp, Facebook Messaging. storage and mobile app development. I. INTRODUCTION D. Cost effective Amazon Lex [1] is a service for building conversational With Amazon Lex, there are no upfront costs or minimum interfaces into any application using voice and text. Amazon fees. You are only charged for the text or speech requests that Lex provides the advanced deep learning functionalities of are made. Amazon Lex’ pay-as-you-go pricing and low cost automatic speech recognition (ASR) for converting speech to per request makes it a cost-effective way to build text, and natural language understanding (NLU) to recognize conversational interfaces anywhere.
    [Show full text]
  • Interactive Attendee Guide for Oil & Gas Professionals
    oil & gas Interactive attendee guide for Oil & Gas Professionals Hello, On behalf of the entire AWS Worldwide Oil & Gas team, welcome to re:Invent 2018! This year’s conference is going to be our Welcome. biggest yet, with 50,000+ attendees and more than 2,000 technical sessions. To get the most out of re:Invent, we encourage you to take advantage of the resources outlined in this document, including our “How to re:Invent” video series. Keep in mind that reserved seating goes live on October 11. You can start planning your schedule at any time by logging into your account, visiting the session catalog, and marking sessions of interest. Although re:Invent is a big conference, the strength of the Oil & Gas community makes it feel much smaller. We look forward to seeing you in Vegas! Arno van den Haak Business Development, AWS Worldwide Oil & Gas © 2018 | Amazon Web Services. All rights reserved. Table of contents What to expect in 2018 » Let’s get started. re:Invent agenda » Oil & Gas sessions » This guide is designed to help attendees of AWS re:Invent 2018 plan their experience and identify breakout sessions and events of interest. It is intended to complement the re:Invent app, Other recommended sessions » which will help attendees navigate the conference on-site. Networking opportunities » Click on the links to navigate this guide. Executive Summit overview » Event venues and logistics » AWS Oil & Gas contacts » © 2018 | Amazon Web Services. All rights reserved. What to expect Networking re:Invent Agenda Oil & Gas Other Recommended Executive Summit Event Venue AWS Oil & Gas in 2018 Sessions Sessions Opportunities Overview and Logistics Expert Contacts What Where AWS re:Invent is a learning conference hosted by Amazon Web We are taking over Las Vegas--with events at the ARIA, Vdara, Services (AWS) for the global cloud computing community.
    [Show full text]
  • Foregrounding Narrative Production in Serial Fiction Publishing
    University of Rhode Island DigitalCommons@URI Open Access Dissertations 2017 To Start, Continue, and Conclude: Foregrounding Narrative Production in Serial Fiction Publishing Gabriel E. Romaguera University of Rhode Island, [email protected] Follow this and additional works at: https://digitalcommons.uri.edu/oa_diss Recommended Citation Romaguera, Gabriel E., "To Start, Continue, and Conclude: Foregrounding Narrative Production in Serial Fiction Publishing" (2017). Open Access Dissertations. Paper 619. https://digitalcommons.uri.edu/oa_diss/619 This Dissertation is brought to you for free and open access by DigitalCommons@URI. It has been accepted for inclusion in Open Access Dissertations by an authorized administrator of DigitalCommons@URI. For more information, please contact [email protected]. TO START, CONTINUE, AND CONCLUDE: FOREGROUNDING NARRATIVE PRODUCTION IN SERIAL FICTION PUBLISHING BY GABRIEL E. ROMAGUERA A DISSERTATION SUBMITTED IN PARTIAL FULLFILLMENT OF THE REQUIREMENTS FOR THE DEGREE OF DOCTOR OF PHILOSOPHY IN ENGLISH UNIVERSITY OF RHODE ISLAND 2017 DOCTOR OF PHILOSOPHY DISSERTATION OF Gabriel E. Romaguera APPROVED: Dissertation Committee: Major Professor Valerie Karno Carolyn Betensky Ian Reyes Nasser H. Zawia DEAN OF THE GRADUATE SCHOOL UNIVERSITY OF RHODE ISLAND 2017 Abstract This dissertation explores the author-text-reader relationship throughout the publication of works of serial fiction in different media. Following Pierre Bourdieu’s notion of authorial autonomy within the fields of cultural production, I trace the outside influence that nonauthorial agents infuse into the narrative production of the serialized. To further delve into the economic factors and media standards that encompass serial publishing, I incorporate David Hesmondhalgh’s study of market forces, originally used to supplement Bourdieu’s analysis of fields.
    [Show full text]
  • Just ASK: Building an Architecture for Extensible Self-Service Spoken Language Understanding
    Just ASK: Building an Architecture for Extensible Self-Service Spoken Language Understanding Anjishnu Kumar Arpit Gupta Julian Chan Amazon.com Amazon.com Amazon.com [email protected] [email protected] [email protected] Sam Tucker Bjorn Hoffmeister Markus Dreyer Amazon.com Amazon.com Amazon.com [email protected] [email protected] [email protected] Stanislav Peshterliev Ankur Gandhe Denis Filiminov Amazon.com Amazon.com Amazon.com [email protected] [email protected] [email protected] Ariya Rastrow Christian Monson Agnika Kumar Amazon.com Amazon.com Amazon.com [email protected] [email protected] [email protected] Abstract This paper presents the design of the machine learning architecture that underlies the Alexa Skills Kit (ASK) a large scale Spoken Language Understanding (SLU) Software Development Kit (SDK) that enables developers to extend the capabil- ities of Amazon’s virtual assistant, Alexa. At Amazon, the infrastructure powers over 25,000 skills deployed through the ASK, as well as AWS’s Amazon Lex SLU Service. The ASK emphasizes flexibility, predictability and a rapid iteration cy- cle for third party developers. It imposes inductive biases that allow it to learn robust SLU models from extremely small and sparse datasets and, in doing so, re- moves significant barriers to entry for software developers and dialogue systems arXiv:1711.00549v4 [cs.CL] 2 Mar 2018 researchers. 1 Introduction Amazon’s Alexa is a popular digital assistant that was not designed around a smart phone, but rather as a service for ambient computing [1] in the home. Due to the intuitiveness of the Voice User Interface (VUI), the demand from software engineering teams for voice controlled features far out- stripped the pace at which the language experts designing Alexa’s SLU system could accommodate them.
    [Show full text]
  • Modernizing Your Contact Center with Amazon Connect
    Modernizing your Contact Center with Amazon Connect © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Maintaining effective contact centers has never been more urgent How do I keep my How do I set up a help How do I manage contact center desk to rapidly inquiry volume that operational while my staff respond to customers outpaces are working about a global crisis? my current contact from home? center’s capacity? © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Empowering agents to work from anywhere “ Amazon Connect enables us to create job opportunities $27k Monthly savings for people who have a good reason to work from home. To us, that means people with disabilities, military Minutes to spouses and people in economically depressed areas. onboard The pay-as-you-go pricing allows us to add new agents 20 new agents simply by creating new users in the Amazon Connect console and it helps us save money by doing so. Our agents have found Amazon Connect reliable and we’ve seen a dramatic decrease in agent churn. ” 100% Remote workforce - Jonas Nicholson, CEO – Direct Interactions © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Customer Service supports… Amazon strives to be earth’s most Millions customer Dozenscentric company 32 of customers of languages countries Over 70,000 Customer Service Associates Amazon Connect is helping companies transform customer experience Easy to use, omnichannel cloud-based contact-center service that scales to support businesses of any size Amazon Connect Skills-based Voice & chat Real-time and High-quality Pay-as-you-go contact routing recording historical analytics voice capability pricing © 2020, Amazon Web Services, Inc.
    [Show full text]
  • User Guide Amazon Chime User Guide
    Amazon Chime User Guide Amazon Chime User Guide Amazon Chime: User Guide Copyright © Amazon Web Services, Inc. and/or its affiliates. All rights reserved. Amazon's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon. Amazon Chime User Guide Table of Contents What is Amazon Chime? ..................................................................................................................... 1 Joining an Amazon Chime meeting quickly .................................................................................... 1 How to get started with Amazon Chime ....................................................................................... 1 Creating an Amazon Chime administrator account .......................................................................... 1 Getting started .................................................................................................................................. 2 System requirements .................................................................................................................. 2 Windows ........................................................................................................................... 2 macOS .............................................................................................................................
    [Show full text]
  • Serverless Bot Framework Implementation Guide Serverless Bot Framework Implementation Guide
    Serverless Bot Framework Implementation Guide Serverless Bot Framework Implementation Guide Serverless Bot Framework: Implementation Guide Copyright © Amazon Web Services, Inc. and/or its affiliates. All rights reserved. Amazon's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon. Serverless Bot Framework Implementation Guide Table of Contents Welcome ........................................................................................................................................... 1 Overview ........................................................................................................................................... 2 Cost .......................................................................................................................................... 2 Example cost table ............................................................................................................. 2 Architecture ............................................................................................................................... 3 Solution Features ............................................................................................................................... 5 Supported Languages
    [Show full text]
  • Amazon Lex Guida Per Gli Sviluppatori Amazon Lex Guida Per Gli Sviluppatori
    Amazon Lex Guida per gli sviluppatori Amazon Lex Guida per gli sviluppatori Amazon Lex: Guida per gli sviluppatori Copyright © Amazon Web Services, Inc. and/or its affiliates. All rights reserved. Amazon's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon. Amazon Lex Guida per gli sviluppatori Table of Contents Che cos'è Amazon Lex? ...................................................................................................................... 1 Primo utilizzo di Amazon Lex? ..................................................................................................... 2 Come funziona ................................................................................................................................... 3 Lingue supportate ....................................................................................................................... 5 Lingue e lingue supportate ................................................................................................... 5 Lingue e impostazioni locali supportate dalle caratteristicheAmazon Lex ...................................... 5 Modello di programmazione ........................................................................................................
    [Show full text]
  • Building Intelligent Contact Centre Solutions in the Cloud
    Building intelligent contact centre solutions in the cloud Kirillos Akram Solutions Architect, AWS Worldwide Public Sector Francisco Gonzalez Solutions Architect, AWS Worldwide Public Sector © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved Agenda • Overview of Amazon Connect • Integration with other AWS Services • Integration with other WEB Applications • Demo © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Overview of Amazon Connect © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved Amazon strives to be earth’s most customer centric company Amazon Customer Service supports… Millions Dozens 32 of customers of languages countries Over 70,000 Customer Service Associates © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. So we built it © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Connect Easy to use, omnichannel cloud-based contact center service that scales to support businesses of any size The fastest path to customer service innovation. Skills-based contact Voice & chat Real-time and High-quality routing recording historical analytics voice capability © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Connect differentiators Dynamic, personal, and Open platform natural contact flows 100% Self-service AWS services configuration cloud-based & partners Pay only for the value delivered to your customers © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Contact Flow Engine—customer experience example No, I’d rather rebook for the same Yes, time tomorrow, is thank you! that possible? Incoming customer call Hi Nikki Wolf, Yes, that flight is available I apologize that your departing at 9:00 AM out of flight was cancelled.
    [Show full text]
  • Augmented Reality in Sumerian
    Amazon Sumerian Amazon Sumerian by Tutorials By Brian Moakley & Gur Raunaq Singh Copyright ©2019 Razeware LLC. Notice of Rights All rights reserved. No part of this book or corresponding materials (such as text, images, or source code) may be reproduced or distributed by any means without prior written permission of the copyright owner. Notice of Liability This book and all corresponding materials (such as source code) are provided on an “as is” basis, without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in action of contract, tort or otherwise, arising from, out of or in connection with the software or the use of other dealing in the software. Trademarks All trademarks and registered trademarks appearing in this book are the property of their own respective owners. raywenderlich.com 2 Amazon Sumerian Table of Contents: Overview About the Cover...................................................................................... 13 What You Need........................................................................................ 17 Book License............................................................................................. 19 Project Files & Forum............................................................................ 20 Foreword...................................................................................................
    [Show full text]
  • Track 5 Amazon Connect Paul&Lili
    Amazon Connect Customer Service Experience The Art of the Possible Paul Chen Lili Chan Head – Solutions Architect ASEAN Senior Specialist Solutions Architect Amazon Web Services Amazon Web Services © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Typical on-premises contact center stack Customer Agent Typical on-premises contact center stack Carrier connectivity Customer Agent Typical on-premises contact center stack Carrier Interactive connectivity voice response Customer Agent Typical on-premises contact center stack Carrier Interactive connectivity voice response Customer Agent Speech CTI recognition Typical on-premises contact center stack Carrier Interactive Call connectivity voice response routing Customer Agent Speech CTI recognition Typical on-premises contact center stack Carrier Interactive Call Call connectivity voice response routing recording Customer Agent Speech PBX CTI recognition connectivity TypicalAmazon on Connect-premises simplifies contact this center dramatically stack Carrier Interactive Call Call connectivity voice response routing recording Customer Agent Speech PBX Reporting CTI recognition connectivity Amazon Connect Easy to use, omnichannel cloud-based contact center service Skills-based Voice & Real-time and High-quality contact chat historical voice routing recording analytics capability Business of any size FASTEST path to customer service INNOVATION Customers Contact Flow Engine—customer experience example Contact Flow Engine—customer experience example No, I’d rather rebook for the same Yes, time tomorrow, is thank you! that possible? Incoming customer call Hi Nikki Wolf, Yes, that flight is available I apologize that your departing at 9:00 AM out of flight was cancelled. San Francisco, arriving in I can rebook you for the Seattle at 11:45 AM. CRM content Flight Booking next available flight, I can book you in seat 12C, System departing at 10pm, would it’s an aisle.
    [Show full text]
  • Contact Center Optimization for Financial Services Why Are Financial Institutions Transforming Their Contact Centers?
    Contact center optimization for Financial Services Why are financial institutions transforming their contact centers? The Financial Services industry has relied on contact centers for decades—but traditional solutions aren’t keeping up with customer expectations for instant, personal engagement. Consumers across retail banking, insurance, and wealth management expect more personalized advice from call center agents and admit that they would buy more products if they received personalized offers over the phone. In addition to confronting changing customer demands, financial institutions face significant expenditures for traditional contact centers, which often involve multiple third-party vendors with complex licensing models. With Amazon Connect, Financial Services organizations can improve their customer engagement while reducing costs and simplifying their contact center technology stack. 2 Why did we build Amazon Connect? Amazon Connect harnesses the same contact center technology that 70,000 Amazon customer What is Amazon Connect? service associates use in 32 countries, powering millions of customer interactions. To deliver exceptional customer experiences, Amazon Amazon Connect is a self-service, cloud-based contact center service that enables needed a contact center solution that was reliable, Financial Services companies to deliver improved customer service at a lower cost and simple to manage, open, and could scale to meet surges in demand. in a pay-as-you-use model. However, Amazon found that traditional contact Non-technical users can manage customer service agents, track performance metrics, center solutions couldn’t meet its needs. Using its and design workflows for incoming calls without specialized skills. And Amazon Connect experience running an enterprise-scale customer easily integrates with other AWS services such as Amazon Transcribe and Amazon service organization, Amazon built its own easy-to-use Comprehend allowing users to leverage machine learning and analytics capabilities.
    [Show full text]