Aurora serverless has a ~30 second startup time from paused. What is a cheap solution to having a serverless website with light database use that won’t break the moment that there is more than 1 user?
Need more details. What does the database need to do? Is it always used? Relational data, can it be key value?
Dynamodb.
relational preferred but I could settle for key/value if necessary. It would always be used when the site is visited but this will probably be only a few times a day. It will hold articles/photo refs/video refs + metadata, views, likes, comments for each. I want to host files and a static site in s3, then use lambas to build an API to return lists with metadata or individual items with full content. So the plan would be to hit the database on every page view.
Have you tried DynamoDB?
Dynamodb May be an option. This may force you to think about how you structure and retrieve your data. Check out pros and cons of the platform and see if works for your purpose.
I think I could manage key/value, especially since I am only thinking very simple relationships. It seems that dynamodb does not change for “time” but just requests and storage. Is that accurate? That’s pretty much what I am looking for.
Yes, that would be the “on-demand” mode of DynamoDB.
Depends on your requirement-
Do you need to keep your data in a strict structure or it can be semi structured. do you need extensive query or simple ones. If you can use key value pairs,dynamodb does have great performance.and you can consider using dynamodb.
Is just a standard rds database not suitable? I mean you can get a small MySQL instance on the free tier
Why not treat yourself to a serverless database as well https://fauna.com. Or DynamoDB must stay in the Amazon family - checkout https://github.com/jch254/serverless-node-dynamodb-api as a way to integrate DynamoDB with Serverless