SlideShare une entreprise Scribd logo
1  sur  3
Voice Powered Analytics Workshop: Train-the-Trainer
Target Audience: This workshop is intended to provide 200-level knowledge for the following
organizations:
• Understanding how an S3-backed Data Lake leveraging Athena and Quicksight can
be used for Analytics-based use-cases. This workshop guides attendees to perform
ad-hoc Data Discovery for BI insights and bring results in a faster time-to-market.
• Explore business-centric ideas for Alexa and understand basic skill building
constructs for the first time. They will also learn how these skills can be deployed
and managed privately using Alexa For Business.
• Innovation groups who want to explore the art-of-the-possible through Serverless
constructs and Voice Enablement
Workshop Format: The end-to-end workshop can be completed in under 3 hours. The
workshop opens with a 20 minute presentation, which includes an introduction to the
workshop, services, and implementation architecture. Followed by 2.5 hours of work time.
Advanced-level attendees may finish in under 2 hours. We encourage them to expand
upon the workshop such as:
o Can you develop Quicksight unique insights from this data?
o Can you create a meaningful metric from twitter data that may show sentiment
business-value using Athena?
o [Expert level] Can you expand upon your Alexa skill to create more than one
metric, or additional slot values. This will require some lambda code
modifications.
We encourage these attendees to send a tweet to our twitter handles. If it is unique and
compelling, we’ll add it as an attendee-submitted example in our workshop
documentation!
Resource Requirements:
Helpers: One AWS lab assistant is recommended for every 15 people. Although the
workshop instructions can be followed end-to-end without assistance, attendees sometimes
struggle with troubleshooting when wrong values (such as Lambda environment variables or
Alexa Slot Values) are entered incorrectly. In addition, this ratio gives the instructors the ability
to engage in critical thinking with attendees and bring ideas to implementation.
Room: AV equipment for the presentation and internet connectivity
Access: Attendees will need admin-level access to an AWS Account (not shared with
other workshop participants because of IAM role naming). They will also need to create a
developer.amazon.com account for building their Alexa skill.
Cost: There is no charge for the developer account. The total cost of the workshop is
<$1 if deleted within a week of the workshop completion. If kept active for a month, the cost is
around $5. The workshop contains cleanup instructions to ensure costs aren’t incurred
following its completion.
Common Issues:
• Cloudformation:
o The Cloudformation requires a ChangeSet to be created. This means that at
the last step of the Cloudformation wizard, attendees may have trouble with
not being able to deploy at the end unless they click the “Create Change Set”
button.
▪ Sometimes the Change Set button doesn’t submit a request, in this
case, we recommend a browser refresh and start the process over.
This also may be an issue with the Cloudformation Stack Name if they
have previously attempted to deploy this script- we recommend
giving the CloudFormation stack a unique name at the first step to
avoid this naming conflict.
o Attendees should leave all defaults for Cloudformation. If it has failed, you
may need to help them delete a VPA-named IAM role if it didn’t successfully
roll back all the created resources.
• Quicksight Access: Although the twitter S3 bucket is public, Quicksight has recently
made some changes that requires explicit bucket access to be granted in order to
avoid the following error when connecting to an Athena data source via Quicksight:
Your query has the following error(s):
Insufficient permissions to execute the query.
This query ran against the "default" database, unless qualified by the query. Please post the
error message on our forum or contact customer support with Query Id: 83549261-fcdd-
49d6-81eb-215f3eca66ce.
If they are running this workshop out of Ireland, they need to change the above settings in
the N. Virginia region (Quicksight requirement), ensure that they switch back to the Ireland
region after changing these settings.
• Region Access: As for February 2018, this workshop can only be run out of EU-West-
1 and US-East-1; this is because Alexa can only target Lambda functions in these
regions. Sometimes attendees will inadvertently be in another region and see errors
about resources not being created. We added workshop instructions to have them
continually check this, but it is a common error that we see.
• Lambda Errors: Here are the most common errors we see in the Lambda functions:
o Are the environment variables exactly as typed in the instructions (removing
spaces included)?
o 404 errors resulting from Lambda functions: Is the Athena table created? Is
the Athena table spelled correctly in the environment variables?
• Alexa Errors:
o Skill Builder [beta] errors:
▪ Ensure that the attendee didn’t add any Utterance prompts or unique
values beyond the Utterance phrase.
o Most of the Alexa errors arise when testing the skill.
▪ “Endpoint cannot be reached”
• Are they referencing the correct Lambda ARN?
• Does the Lambda function have the Alexa Skills Kit Trigger
enabled?
• Is their sample Utterance spelled correctly so it invokes the
right intent?
▪ The metric value is -1
• Does the “Slot Value” match the “metric_name” in the
Lambda-poller function environment variables?
o Under the covers, the “Slot Value” must match the
“name” attribute in the deployed DynamoDB table
deployed.
• Alexa For Business Errors:
o When adding the skill to A4B it may say that certain attributes are included in
the skill manifest. Alexa for Business requires the full set of meta-data
attributes such as Description, Category (not all categories are supported), as
well as icons for the skill
o There is a resource propagation time of usually 2 hours before the skill is
submitted to A4B. The CLI result will be a 404: resource not found, since it is
not yet available in the A4B repository.

Contenu connexe

Plus de 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
 
Come costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWSCome costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWSAmazon Web Services
 
AWS Serverless per startup: come innovare senza preoccuparsi dei server
AWS Serverless per startup: come innovare senza preoccuparsi dei serverAWS Serverless per startup: come innovare senza preoccuparsi dei server
AWS Serverless per startup: come innovare senza preoccuparsi dei serverAmazon Web Services
 
Crea dashboard interattive con Amazon QuickSight
Crea dashboard interattive con Amazon QuickSightCrea dashboard interattive con Amazon QuickSight
Crea dashboard interattive con Amazon QuickSightAmazon Web Services
 
Costruisci modelli di Machine Learning con Amazon SageMaker Autopilot
Costruisci modelli di Machine Learning con Amazon SageMaker AutopilotCostruisci modelli di Machine Learning con Amazon SageMaker Autopilot
Costruisci modelli di Machine Learning con Amazon SageMaker AutopilotAmazon Web Services
 
Migra le tue file shares in cloud con FSx for Windows
Migra le tue file shares in cloud con FSx for Windows Migra le tue file shares in cloud con FSx for Windows
Migra le tue file shares in cloud con FSx for Windows Amazon Web Services
 
La tua organizzazione è pronta per adottare una strategia di cloud ibrido?
La tua organizzazione è pronta per adottare una strategia di cloud ibrido?La tua organizzazione è pronta per adottare una strategia di cloud ibrido?
La tua organizzazione è pronta per adottare una strategia di cloud ibrido?Amazon Web Services
 
Protect your applications from DDoS/BOT & Advanced Attacks
Protect your applications from DDoS/BOT & Advanced AttacksProtect your applications from DDoS/BOT & Advanced Attacks
Protect your applications from DDoS/BOT & Advanced AttacksAmazon Web Services
 
Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用
Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用
Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用Amazon Web Services
 

Plus de Amazon Web Services (20)

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
 
Come costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWSCome costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWS
 
AWS Serverless per startup: come innovare senza preoccuparsi dei server
AWS Serverless per startup: come innovare senza preoccuparsi dei serverAWS Serverless per startup: come innovare senza preoccuparsi dei server
AWS Serverless per startup: come innovare senza preoccuparsi dei server
 
Crea dashboard interattive con Amazon QuickSight
Crea dashboard interattive con Amazon QuickSightCrea dashboard interattive con Amazon QuickSight
Crea dashboard interattive con Amazon QuickSight
 
Costruisci modelli di Machine Learning con Amazon SageMaker Autopilot
Costruisci modelli di Machine Learning con Amazon SageMaker AutopilotCostruisci modelli di Machine Learning con Amazon SageMaker Autopilot
Costruisci modelli di Machine Learning con Amazon SageMaker Autopilot
 
Migra le tue file shares in cloud con FSx for Windows
Migra le tue file shares in cloud con FSx for Windows Migra le tue file shares in cloud con FSx for Windows
Migra le tue file shares in cloud con FSx for Windows
 
La tua organizzazione è pronta per adottare una strategia di cloud ibrido?
La tua organizzazione è pronta per adottare una strategia di cloud ibrido?La tua organizzazione è pronta per adottare una strategia di cloud ibrido?
La tua organizzazione è pronta per adottare una strategia di cloud ibrido?
 
Protect your applications from DDoS/BOT & Advanced Attacks
Protect your applications from DDoS/BOT & Advanced AttacksProtect your applications from DDoS/BOT & Advanced Attacks
Protect your applications from DDoS/BOT & Advanced Attacks
 
Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用
Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用
Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用
 

Voice Powered Analytics Workshop

  • 1. Voice Powered Analytics Workshop: Train-the-Trainer Target Audience: This workshop is intended to provide 200-level knowledge for the following organizations: • Understanding how an S3-backed Data Lake leveraging Athena and Quicksight can be used for Analytics-based use-cases. This workshop guides attendees to perform ad-hoc Data Discovery for BI insights and bring results in a faster time-to-market. • Explore business-centric ideas for Alexa and understand basic skill building constructs for the first time. They will also learn how these skills can be deployed and managed privately using Alexa For Business. • Innovation groups who want to explore the art-of-the-possible through Serverless constructs and Voice Enablement Workshop Format: The end-to-end workshop can be completed in under 3 hours. The workshop opens with a 20 minute presentation, which includes an introduction to the workshop, services, and implementation architecture. Followed by 2.5 hours of work time. Advanced-level attendees may finish in under 2 hours. We encourage them to expand upon the workshop such as: o Can you develop Quicksight unique insights from this data? o Can you create a meaningful metric from twitter data that may show sentiment business-value using Athena? o [Expert level] Can you expand upon your Alexa skill to create more than one metric, or additional slot values. This will require some lambda code modifications. We encourage these attendees to send a tweet to our twitter handles. If it is unique and compelling, we’ll add it as an attendee-submitted example in our workshop documentation! Resource Requirements: Helpers: One AWS lab assistant is recommended for every 15 people. Although the workshop instructions can be followed end-to-end without assistance, attendees sometimes struggle with troubleshooting when wrong values (such as Lambda environment variables or Alexa Slot Values) are entered incorrectly. In addition, this ratio gives the instructors the ability to engage in critical thinking with attendees and bring ideas to implementation. Room: AV equipment for the presentation and internet connectivity Access: Attendees will need admin-level access to an AWS Account (not shared with other workshop participants because of IAM role naming). They will also need to create a developer.amazon.com account for building their Alexa skill. Cost: There is no charge for the developer account. The total cost of the workshop is <$1 if deleted within a week of the workshop completion. If kept active for a month, the cost is around $5. The workshop contains cleanup instructions to ensure costs aren’t incurred following its completion.
  • 2. Common Issues: • Cloudformation: o The Cloudformation requires a ChangeSet to be created. This means that at the last step of the Cloudformation wizard, attendees may have trouble with not being able to deploy at the end unless they click the “Create Change Set” button. ▪ Sometimes the Change Set button doesn’t submit a request, in this case, we recommend a browser refresh and start the process over. This also may be an issue with the Cloudformation Stack Name if they have previously attempted to deploy this script- we recommend giving the CloudFormation stack a unique name at the first step to avoid this naming conflict. o Attendees should leave all defaults for Cloudformation. If it has failed, you may need to help them delete a VPA-named IAM role if it didn’t successfully roll back all the created resources. • Quicksight Access: Although the twitter S3 bucket is public, Quicksight has recently made some changes that requires explicit bucket access to be granted in order to avoid the following error when connecting to an Athena data source via Quicksight: Your query has the following error(s): Insufficient permissions to execute the query. This query ran against the "default" database, unless qualified by the query. Please post the error message on our forum or contact customer support with Query Id: 83549261-fcdd- 49d6-81eb-215f3eca66ce. If they are running this workshop out of Ireland, they need to change the above settings in the N. Virginia region (Quicksight requirement), ensure that they switch back to the Ireland region after changing these settings. • Region Access: As for February 2018, this workshop can only be run out of EU-West- 1 and US-East-1; this is because Alexa can only target Lambda functions in these regions. Sometimes attendees will inadvertently be in another region and see errors about resources not being created. We added workshop instructions to have them continually check this, but it is a common error that we see. • Lambda Errors: Here are the most common errors we see in the Lambda functions: o Are the environment variables exactly as typed in the instructions (removing spaces included)? o 404 errors resulting from Lambda functions: Is the Athena table created? Is the Athena table spelled correctly in the environment variables? • Alexa Errors: o Skill Builder [beta] errors: ▪ Ensure that the attendee didn’t add any Utterance prompts or unique values beyond the Utterance phrase. o Most of the Alexa errors arise when testing the skill. ▪ “Endpoint cannot be reached” • Are they referencing the correct Lambda ARN?
  • 3. • Does the Lambda function have the Alexa Skills Kit Trigger enabled? • Is their sample Utterance spelled correctly so it invokes the right intent? ▪ The metric value is -1 • Does the “Slot Value” match the “metric_name” in the Lambda-poller function environment variables? o Under the covers, the “Slot Value” must match the “name” attribute in the deployed DynamoDB table deployed. • Alexa For Business Errors: o When adding the skill to A4B it may say that certain attributes are included in the skill manifest. Alexa for Business requires the full set of meta-data attributes such as Description, Category (not all categories are supported), as well as icons for the skill o There is a resource propagation time of usually 2 hours before the skill is submitted to A4B. The CLI result will be a 404: resource not found, since it is not yet available in the A4B repository.