Cost - Enhanced Document Understanding on AWS

Cost

You are responsible for the cost of the AWS services used while running this solution. As of this revision, the cost for running this solution with the default settings in the US East (N. Virginia) Region is approximately $1,847.28 USD per month. These costs are for the resources shown in the Sample cost table.

See the pricing webpage for each AWS service used in this solution.

We recommend creating a budget  through AWS Cost Explorer to help manage costs. Prices are subject to change. For full details, see the pricing webpage for each AWS service used in this solution.

Sample cost tables

The following tables provides a sample cost breakdown for deploying this solution with the default parameters in the US East (N. Virginia) Region for one month, split by fixed and variable costs.

Fixed costs

AWS service Dimensions Cost [USD]
Amazon API Gateway 1,000,000 REST API calls per month, including uploads and downloads, and caching disabled $3.50
Amazon CloudFront 1,000,000 requests – for 20 GB of data transfer out to the internet and 20GB of data transfer out to the origin $2.10
Amazon CloudWatch 24 metrics using 5 GB of data ingested for logs and 1 dashboard $9.72
Amazon Cognito 10,000 active users per month with the advanced security feature and with 10% users signing in through SAML 2.0 or OpenID Connect (OIDC) federation $514.25
Amazon DynamoDB

2 DynamoDB tables with point-in-time recovery (PITR) enabled:

workflow-config DynamoDB table with 20 configurations

250 MB CaseManager table with 500,000 cases, and 50 reads and 50 writes per second

$0.00

$180.74

Amazon EventBridge 1,000,000 custom events with 1 KB payload $1.00
AWS Lambda

1,000,000 requests to Lambda

850,000 requests with 128 MB Lambda memory and 512 MB ephemeral storage to 8 Lambda functions with 1 second average duration

100,000 requests with 192 MB Lambda memory and 512 MB ephemeral storage to 1 Lambda function with 1 second average duration

50,000 requests with 1,024 MB Lambda memory and 512 MB ephemeral storage to 1 Lambda function with 5 second duration

$1.77

$0.31

$4.17

Amazon S3

~1 TB storage for 200,000 500 KB documents, JSON inferences, and 50,000 redaction-processed documents in Standard S3

1,000,000 (at 500,000 GET + 500,000 POST) requests

100 GB data returned by Amazon S3

$26.32
Amazon SQS 1,000,000 standard queue requests $0.00
AWS Step Functions 20 state transitions for 500,000 workflow requests (10,000,000 state transitions per month) $250.00
AWS Systems Manager Parameter Store 500,000 parameter store API interactions with 8 standard parameters (standard throughput API interactions enabled) $25.00
AWS WAF 1,000,000 for 1 web access control list and (ACL) 7 defined rules $13.00
AWS VPC 2 Nat Gatways and 2 Privatelinks $72.00
Total Fixed Costs $1,103.88

Variable costs

This solution provides the flexibility to select only the AI-powered service combinations that fit your use case. Consider the following use cases.

Use case 1 - Solution deployed with the intent to analyze expenses with Amazon Textract and Amazon Comprehend that detects named and PII entities.

AWS service Dimensions Cost [USD]
Amazon Comprehend

6,000 documents with 5 pages per document = 30,000 pages with an average of 1,700 characters per page; 100 characters per unit = x units for synchronous

Amazon Comprehend NERe

Amazon Comprehend PII detection

$10.20

$10.20

Amazon Textract

30,000 pages of DetectText API

10,000 pages of AnalyzeText API for documents containing tables and forms

10,000 pages of AnalyzeExpense API

$45.00

$650.00

$100.00

Total combination cost $815.40
+ Fixed costs ($1,031.88) $1,847.28

Use case 2 - Solution deployed with the intent to detect and redact PHI entities from Amazon Textract and Amazon Comprehend Medical.

AWS service Dimensions Cost [USD]
Amazon Comprehend Medical

6,000 documents with 5 pages per document = 30,000 pages with an average of 1,700 characters per page; 100 characters per unit = x units for synchronous

Amazon Comprehend Medical PHI detection

$714.00

Amazon Textract 30,000 pages of DetectText API $45.00
Total combination cost $759.00
+ Fixed costs ($1,031.88) $1,790.88

Use case 3 - Solution deployed for identifying and matching patients for clinical trials based on medical criteria (entities) in clinical notes and research forms using Amazon Kendra Enterprise Edition, Amazon OpenSearch Serverless, Amazon Textract, and Amazon Comprehend Medical.

AWS service Dimensions Cost [USD]
Amazon Kendra 8,000 queries a day, up to 100,000 documents with Amazon Kendra Enterprise Edition and up to 50 data sources (Enterprise edition default storage and query capacities) $1,008.00
Amazon OpenSearch Serverless Hot ephemeral storage for 120 GiB of index data, per OCU and supports up to 10 TiB of hot data per index in a time series collection.

$691.20

Amazon Comprehend Medical

2,000 documents with 5 pages per document = 10,000 pages with an average of 1,700 characters per page; 100 characters per unit = 85,000 units

Amazon Comprehend Medical NERe API

$1,700.00

Amazon Textract

30,000 pages of DetectText API

10,000 pages of AnalyzeText API for documents containing tables and forms

10,000 pages of AnalyzeID API

10,000 pages of AnalyzeExpense API

$45.00

$650.00

$100.00

$100.00

Total combination cost $4,294.20
+ Fixed costs ($1,031.88) $5,326.08