Cloudagotchi Part 3: AWS Serverless Stack Gives a DIY Pet Persistent Memory and Hunger

A developer has extended their Cloudagotchi project — a homemade Tamagotchi-style device — by adding persistent state using AWS DynamoDB, Lambda, and EventBridge Scheduler. Previously, the pet lost all memory on reboot; now each pet's hunger, energy, and mood are stored as a single DynamoDB row keyed by device ID. An EventBridge Scheduler triggers a decay Lambda 48 times daily, meaning the pet grows hungry and sad even while the physical device is completely powered off. When the device reconnects, it queries the cloud for missed time and updates its display accordingly. The entire backend deploys via AWS CDK at negligible cost, staying well within the AWS free tier.
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