File upload and Read – AWS Serverless Architecture Diagram


Introduction


This serverless architecture diagram explains to fetch critical information from a file uploaded by a client like Aadhar Card, Pan Card, and Passport information asynchronously.

We used AWS Cloud services to build the architecture and those are given below –

AWS Services Information

AWS S3: To store File

AWS Database: To store metadata and other critical information

AWS Lambda: Write and Execute a Business Logic

AWS Step Function: Workflow and orchestrate the process

AWS SES: To Send an email communication


Lambda – 1 Function


  • Validate the Files
  • check File Size
  • File format
  • Virus Scan
  • Insert Metadata
  • Send an email if an error occurs in the files
  • Invoke Step Function once a valid file uploaded


Lambda – 2 Function


  • Read Data from the files
  • Insert Data into the Database
  • Send email Notification


Lambda – 3 Function


  • Convert files for multiple devices like the Web, Mobile IOS, Android, etc.
  • Save Files on S3 Bucket
  • Save metadata in the database


Architecture Diagram



Download PDF File



Leave a Reply

Your email address will not be published. Required fields are marked *