This Guidance shows how to derive sustainability insights from utility bills using artificial intelligence and machine learning (AI/ML). Customers of public utilities can convert their invoices into structured data, automating the extraction of key data points from any utility invoice, normalizing the data across the various types of utilities, and gaining insights about where they are generating the highest emissions.

Architecture Diagram

Download the architecture diagram PDF 

Well-Architected Pillars

The AWS Well-Architected Framework helps you understand the pros and cons of the decisions you make when building systems in the cloud. The six pillars of the Framework allow you to learn architectural best practices for designing and operating reliable, secure, efficient, cost-effective, and sustainable systems. Using the AWS Well-Architected Tool, available at no charge in the AWS Management Console, you can review your workloads against these best practices by answering a set of questions for each pillar.

The architecture diagram above is an example of a Solution created with Well-Architected best practices in mind. To be fully Well-Architected, you should follow as many Well-Architected best practices as possible.

  • Standard metrics are used to monitor the health of the individual pipeline components, such as a Lambda function concurrency or error rate. The application state of any invoice or set of invoices can be queried in DynamoDB.

    Amazon CloudWatch metrics, alarms, and dashboards can be customized to monitor the operational health and notify operators of faults.

    Read the Operational Excellence whitepaper 
  • Resources deployed by this Guidance are protected by AWS Identity and Access Management (IAM) policies and principles. Use least-privilege access and role-based access to grant operators permissions to modify resources, such as deploying an updated stack through AWS CloudFormation.

    Data in this Guidance is protected through access controls implemented by IAM and Amazon S3 bucket policies. Stored data is encrypted with keys in AWS Key Management Service (AWS KMS).

    Read the Security whitepaper 
  • The Guidance uses loosely coupled dependencies, such as EventBridge rules, to handle ingestion events from Amazon S3 and implement retries when a downstream quota is reached. 

    The Guidance is defined as infrastructure-as-code in an AWS Cloud Development Kit (AWS CDK) stack. AWS CDK stacks are deployed through CloudFormation for resilient change management that will automatically roll back if a fault is detected during deployment.

    The Guidance uses AWS services such as Amazon S3 and DynamoDB for data storage. Both services provide out-of-box options for data backup and recovery, working immediately when the product is placed in service.  

    Read the Reliability whitepaper 
  • This Guidance scales to meet the workload requirements of traffic patterns, using a queuing mechanism to control the rate at which invoices are processed. Customers can request an increase to Amazon Textract quotas so that invoice processing and their data velocity needs can be run in parallel.  

    Read the Performance Efficiency whitepaper 
  • Serverless technologies were selected to reduce costs that are bound to the number of invoices processed. For the storage of binary invoice documents, customers can use Amazon S3 Intelligent Tiering or Amazon S3 Lifecycle policies to lower long-term storage costs or eliminate long-term storage of documents entirely.

    Read the Cost Optimization whitepaper 
  • This Guidance uses Amazon S3 to store the invoice documents, which represent the largest data type of the Guidance. Customers can make small adjustments to achieve  their ideal data storage using Amazon S3 Intelligent Tiering or Amazon S3 Lifecycle policies to reduce storage needs, as mentioned under Cost Optimization. 

    Read the Sustainability whitepaper 

Implementation Resources

The sample code is a starting point. It is industry validated, prescriptive but not definitive, and a peek under the hood to help you begin. 

[Subject]
[Content Type]

[Title]

[Subtitle]
This [blog post/e-book/Guidance/sample code] demonstrates how [insert short description].

Disclaimer

The sample code; software libraries; command line tools; proofs of concept; templates; or other related technology (including any of the foregoing that are provided by our personnel) is provided to you as AWS Content under the AWS Customer Agreement, or the relevant written agreement between you and AWS (whichever applies). You should not use this AWS Content in your production accounts, or on production or other critical data. You are responsible for testing, securing, and optimizing the AWS Content, such as sample code, as appropriate for production grade use based on your specific quality control practices and standards. Deploying AWS Content may incur AWS charges for creating or using AWS chargeable resources, such as running Amazon EC2 instances or using Amazon S3 storage.

Was this page helpful?