Asking AWS Chatbot questions from chat channels - AWS Chatbot

Asking AWS Chatbot questions from chat channels

Currently, Amazon Q is in preview release for AWS Chatbot and is subject to change. For pricing information, see Amazon Q pricing.

You can search and discover information about AWS services and your AWS resources by asking AWS Chatbot natural language questions. AWS Chatbot answers service related questions directly in your chat channels by providing relevant AWS documentation and support article excerpts. AWS Chatbot answers resource related questions by using AWS Resource Explorer to search and find your resources.

You can also get Artificial Intelligence (AI) powered answers to your questions about AWS services by using Amazon Q. Amazon Q is a generative AI powered conversational assistant that can help you understand, build, extend, and operate AWS applications as well as answer any question about AWS. For more information, see What is Amazon Q (For AWS Builder Use)?. Amazon Q is available in Slack and Microsoft Teams channels configured with AWS Chatbot.

AWS service questions

You can ask AWS Chatbot questions about AWS services to find relevant product information directly in your chat channels. For example, you can ask:

@aws How do I set ec2 autoscaling group's max limit?

If AWS Chatbot finds an answer, it presents an excerpt with a direct link to the information source.

AWS resource questions

AWS Chatbot uses Resource Explorer to search and discover your resources. When appropriate, AWS Chatbot shows its search results in a list. This list shows the top 5 matching resources and includes the ability to filter results further by resource type, AWS Region, and tag.

Prerequisities

To ask AWS Chatbot resource related questions, you must:

  • Sign up for Resource Explorer to allow AWS Chatbot to search your resources. For more information, see Getting started with Resource Explorer in the AWS Resource Explorer User Guide. To search your resources across Regions from chat channels, we recommend turning on cross-Region search by creating an aggregator index. For more information, see Turning on cross-Region search by creating an aggregator index in the AWS Resource Explorer User Guide.

    Note

    You can also create Resource Explorer resources using an AWS CloudFormation template. For more information, see Creating Resource Explorer resources with AWS CloudFormation in the AWS Resource Explorer User Guide.

  • Make sure you have active indexes and views with at least one default view in your Region. Indexes and views allow Resource Explorer to catalog and query your resources. For more information, see Terms and concepts for Resource Explorer in the AWS Resource Explorer User Guide.

  • Add the AWSResourceExplorerReadOnlyAccess policy to your channel role or reach appropriate user role, depending on your channel's permissions scheme.

  • Verify that your channel guardrail policies allow AWSResourceExplorerReadOnlyAccess permissions.

Commonly asked resource questions

These questions can be asked directly from your chat channels. Replace the italicized placeholder text in these examples with your own information.

@aws What services am I using in Region?

@aws What are the resources in my account with tags?

@aws What lambda functions do I have?

Amazon Q

You can get AI powered answers to your questions about AWS by activating Amazon Q in your Slack and Microsoft Teams channels configured with AWS Chatbot.

To get started with Amazon Q
  1. Add the AmazonQFullAccess managed policy to your IAM role:

    1. Open the IAM console.

    2. In the navigation pane of the IAM console, choose Roles.

    3. Choose the name of the role you want to modify.

    4. In Permissions policies, choose Add permissions and Attach policies.

    5. Enter AmazonQFullAccess in the search.

    6. Select AmazonQFullAccess.

    7. Choose Add permissions.

  2. Add the AmazonQFullAccess managed policy to your channel guardrails:

    1. Open the AWS Chatbot console.

    2. Choose a configured client.

    3. Select a configured channel.

    4. Choose Set guardrails.

    5. Enter AmazonQFullAccess in the search.

    6. Select AmazonQFullAccess.

    7. Choose Save.

  3. In your chat channel, enter @aws and your question.

Commonly asked questions

You can ask Amazon Q these questions directly from your chat channels.

@aws what is fargate?

@aws how do I troubleshoot lambda concurrency issues?

@aws what are the best practices for securing S3 buckets?

@aws what is the maximum zipped file size for a lambda function?