HEARD · DOCUMENTATION
Removing Heard's always-on RDS/Aurora cost
Heard 7.63 includes its nearby-place lookup inside NewDatelineMusicStack. The
replacement stores compressed geographic cells in S3 and reads them with an
on-demand Lambda. There is no database instance, minimum ACU, VPC, NAT gateway,
RDS Proxy, or continuously running place-lookup compute in this path.
Safe migration
- Deploy the included
web-aws-sourcewithDISABLE_NEARBY_PLACES_API=1if you are intentionally retiring the existing Nearby Places service. - Build and upload the place index as described in
INSTALLATION.md. - Open a known song location and confirm that nearby business/building choices
appear. CloudWatch for
S3PlaceLookupFnshould show successful invocations. - Keep the old stack for a short verification period, but ensure Heard is no longer configured with its function ARN.
- Take a final RDS snapshot if the old database contains anything not present in the Overture source/index.
- Only after verification, delete
NewDatelinePlaceLookupStackor its database resources from CloudFormation. CloudFormation may retain the database or snapshot by policy; inspect the RDS console afterward. - In Cost Explorer, filter Amazon Relational Database Service and group by Usage type. Confirm that instance/ACU usage stops. Storage, snapshots, Extended Support, RDS Proxy, or NAT charges can persist independently.
Cost controls built into this version
- S3 bucket is private, encrypted, and retained to avoid accidental data loss.
- Lambda reads only cells intersecting the requested radius.
- GPS accuracy changes confidence but cannot expand into an unbounded number of S3 reads.
- Warm Lambda containers cache up to 96 cells.
- Missing cells return normally and allow the existing provider fallback.
- The deployment script automatically discovers
NewDatelinePlaceLookupStackso existing Nearby Places API results continue to work during migration. - Set
DISABLE_NEARBY_PLACES_API=1to opt out after the S3 index is verified.
Do not delete an RDS database solely because the new stack deployed. Verify the new index and retain any required snapshot first.