A company has an employee web portal (100% uptime required) for payroll and is adding a feature that allows employees to upload scanned reimbursement documents. A program extracts text from these documents and links the extracted data to reimbursement IDs. The extract program runs infrequently on demand. The company wants a scalable, cost-effective solution with minimal changes to the existing portal and no code changes. Which solution meets these requirements with the least implementation effort?
Choose an answer
Tap an option to check your answer.
Correct answer: Run Amazon EC2 On-Demand Instances in an Auto Scaling group for the web portal. Use an AWS Lambda function to run the document extract program. Invoke the Lambda function when an employee uploads a new reimbursement document..
Why this is the answer
The correct solution uses EC2 On-Demand Instances in an Auto Scaling group for the web portal, ensuring 100% uptime and scalability. For the infrequent, on-demand document extraction, AWS Lambda is ideal because it's serverless, cost-effective (pay-per-execution), and scales automatically without managing servers. Invoking Lambda directly upon upload minimizes changes to the existing portal and