Launch the stack - Enhanced Document Understanding on AWS

Launch the stack

Follow the step-by-step instructions in this section to configure and deploy the solution into your account.

  1. Sign in to the AWS Management Console and select the button to launch the DocUnderstanding.template CloudFormation template.

    Launch solution button.

  2. The template launches in the US East (N. Virginia) Region by default. To launch the solution in a different AWS Region, use the Region selector in the console navigation bar.

    Note

    This solution optionally uses the Amazon Kendra and OpenSearch Serverless, which are not currently available in all AWS Regions. If you want to deploy the solution with natural language or keyword search, you must launch this solution in an AWS Region where Amazon Kendra and Aamzon OpenSearch Serverless are available. For the most current availability by Region, see the AWS Regional Services List.

  3. On the Create stack page, verify that the correct template URL is in the Amazon S3 URL text box and choose Next.

  4. On the Specify stack details page, assign a name to your solution stack. For information about naming character limitations, see IAM and AWS STS Quotas in the AWS Identity and Access Management User Guide.

  5. Under Parameters, review the parameters for this solution template and modify them as necessary. This solution uses the following default values.

    Parameter Default Description
    DeployKendraIndex

    No

    This parameter tells the solution whether to create and deploy an Amazon Kendra index to add uploaded documents. Setting this to Yes will also enable the search functionality on the UI through the API. Refer to the API reference section for details on how to invoke.

    DeployOpenSearch No This parameter tells the solution whether to create and deploy an Amazon OpenSearch Serverless collection to add uploaded documents. Setting this to Yes will also enable the search functionality on the UI through the API. Refer to the API reference section for details on how to invoke.
    NotificationSubscriptionEmail Optional input The email address that you want the solution to use for notification emails. The solution creates a Cognito user credential and sends instructions on how to access the application after deployment.
    WorkflowConfigName

    default

    Name of the workflow configuration for the orchestrator to run for document processing. See How the solution works for more information.
  6. Choose Next.

  7. On the Configure stack options page, choose Next.

  8. On the Review and create page, review and confirm the settings. Select the boxes acknowledging that the template:

    • Creates IAM resources

    • Might require the CAPABILITY_AUTO_EXPAND capability

  9. Choose Submit to deploy the stack.

    You can view the status of the stack in the AWS CloudFormation console in the Status column. You should receive a CREATE_COMPLETE status in 30-45 minutes.

  10. This solution also deploys sample documents that you can use for processing and exploring features of the solution.

Note

In addition to the primary Lambda functions, this solution includes a solution helper Lambda function, which runs only during initial configuration or when resources are updated or deleted. You must not delete the solution helper function, as it is necessary to manage associated resources.

The solution deploys a CloudWatch dashboard that charts custom and AWS-provided metrics to provide insights into the deployed application’s usage. You can find the custom dashboard by signing in to the CloudWatch console and selecting Dashboards from the navigation menu.