Developer Documents Serverless Backend Build for Cloud Resume Challenge Week 2
A developer completed the second phase of the Cloud Resume Challenge, building a serverless visitor counter backend using AWS Lambda, DynamoDB, and API Gateway. The system stores and increments a visitor count in a DynamoDB NoSQL table each time the resume page is loaded, returning the updated count to the frontend via a Python Lambda function. API Gateway exposes the Lambda function through a public HTTPS endpoint, while JavaScript on the resume page calls the API to display the count. The developer encountered several real-world bugs during the build, including an IAM AccessDeniedException, an AWS region mismatch between Lambda and DynamoDB, and a data type conflict that caused duplicate database entries. The post emphasizes the debugging process as the most instructive part of the project, offering detailed fixes for each issue encountered.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in