Next Stop: AWS Cloud - "Automated Receipt Processing Tool"

I wanted to get familiar with AWS services and start building out a few cloud projects. This was the first project I tackled is created by Tech with Lucy -[Build With Me: Automating My Life with AWS & AI(https://youtu.be/CewrCUmwm90?si=dWOphOwMt4-6QGoY Very Beginner friendly and touched on the following AWS Services: S3 bucket to upload and store receipt file Textract to extract the details DynamoDB to save & organize data SES to send receipt summaries via email Lambda to automate the process Bonus troubleshooting roles and permission & Cloud watch to review the logs. In a nutshell we're going to upload receipts into the the S3 Bucket and from there the Textract is going to extract the amount details saves this in a table using DynamoDB and SES will email a summary. The components are automated with Lambda being the handler. The process overall took about 30-60mins to complete. An error did occur which required me activate my troubleshoot thought process. Error Log group does not exist Article -How do I resolve the "Log group does not exist" error for Lambda function logs in the CloudWatch console? I re-read the error msg and decide to double check the user group I created under IAM. I found the policy added AWSLambdaBasicExecutionRole was not being executed. Pre-created policies need to be review the following executables - Allow the CreateLogGroup and CreateLogStream write actions Next I reviewed the log-group resource included the name of the Lambda function and that was the missing part. I Made the correction to the log-group with include the correct Lambda function. After resolving the issue I was able to test and upload a few receipts and trigger an email notification.

Apr 24, 2025 - 00:02
 0
Next Stop: AWS Cloud - "Automated Receipt Processing Tool"

I wanted to get familiar with AWS services and start building out a few cloud projects.

This was the first project I tackled is created by Tech with Lucy -[Build With Me: Automating My Life with AWS & AI(https://youtu.be/CewrCUmwm90?si=dWOphOwMt4-6QGoY

Very Beginner friendly and touched on the following AWS Services:

  • S3 bucket to upload and store receipt file
  • Textract to extract the details
  • DynamoDB to save & organize data
  • SES to send receipt summaries via email
  • Lambda to automate the process

Bonus troubleshooting roles and permission & Cloud watch to review the logs.

In a nutshell we're going to upload receipts into the the S3 Bucket and from there the Textract is going to extract the amount details saves this in a table using DynamoDB and SES will email a summary. The components are automated with Lambda being the handler.

The process overall took about 30-60mins to complete.
An error did occur which required me activate my troubleshoot thought process.

Error

Log group does not exist  

Article -How do I resolve the "Log group does not exist" error for Lambda function logs in the CloudWatch console?

I re-read the error msg and decide to double check the user group I created under IAM.

I found the policy added AWSLambdaBasicExecutionRole was not being executed.

Pre-created policies need to be review the following executables -

Allow the CreateLogGroup and CreateLogStream write actions

Next I reviewed the log-group resource included the name of the Lambda function and that was the missing part.

I Made the correction to the log-group with include the correct Lambda function.

After resolving the issue I was able to test and upload a few receipts and trigger an email notification.

Plain text email showing successful message of receipts. Three receipts sent to inbox from Amazon SES