Amazon Aurora with PostgreSQL Compatibility Supports Serverless
aws.amazon.com
aws.amazon.com
A good use case for this would be batch processing on demand e.g. a background job that's infrequently run when records are uploaded somehow. You save the cost of keeping a big DB running in between jobs and the start up time doesn't matter.
Or very short, but everything will be painfully slow?
I have user-triggered batch processing jobs that need PostGIS; Aurora Serverless for pg would be a great fit.
[1] https://docs.aws.amazon.com/fr_fr/AmazonRDS/latest/UserGuide...
Aurora database engine is designed to be wire-compatible with PostgreSQL 9.6 and 10, and supports the same set of PostgreSQL extensions that are supported with RDS for PostgreSQL 9.6 and 10
For reference, full list of PostgeSQL RDS extensions in the documentation[1]
[0] https://aws.amazon.com/rds/aurora/faqs/ [1] https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_...
Thanks
IoT devices could communicate asynchronously and store important data using just llamdba functions and serverless db instances.
The first thought that came to mind was something like the bitwarden open source server. Currently, you can run a nano instance in the cloud that stays on forever but it needs to be maintained and it might go down occasionally. Additionally, it will cost you a few bucks a month assuming you need more than the single nano allowed by the free tier.
With serverless functions and a serverless database you could have a central store without needing to run a full server. Cold startup wouldn't be an issue since you only need to sync to the server occasionally.
2) Sure, as a DBA, I prefer dedicated servers with SSD. If you don't have a DBA, then RDS/Aurora are ok too.
For production, ensure you have a replica either way. MySQL 8 has multi-master now (or use Percona Server/Galera), so you can easily enable HA, and I'm sure Postgres does too.
Is it a viable alternative for big RDS instances?
The main problem with it that we have run into is that if there are active transactions in the database, it can't find a "scale point". So when our application gets hit with thousands of users at a time and they are all generating database transactions, it can't scale up.
It's definitely been good for us in development though, and I would highly recommend it for that.
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide...