- Newest
- Most votes
- Most comments
I understand your concern about the unexpected charges for Aurora Serverless PostgreSQL. Let me clarify a few points about Aurora Serverless v2 and its scaling behavior.
Aurora Serverless v2 does not actually scale to zero in the same way that some other serverless technologies do. Instead, it has a minimum capacity setting, which is typically 0.5 Aurora Capacity Units (ACUs). Even when your database is idle, it will continue to consume this minimum capacity, resulting in ongoing charges.
The "scale to zero" concept in Aurora Serverless v2 refers to the ability to automatically scale down to this minimum capacity during periods of low activity, not to completely shut down the database. This is designed to ensure that the database can quickly respond when activity resumes, without the delay of a cold start.
Regarding your specific situation:
- Even if you're not actively using the database, it's still running and consuming the minimum capacity.
- You have two instances (staging and production), which means you're paying for at least two minimum capacity units.
- The charges you're seeing likely include not just compute capacity, but also storage costs, I/O costs, and potentially other associated fees.
To reduce costs, you could consider:
- Deleting one of the instances if you don't need both staging and production environments.
- Stopping the Aurora Serverless cluster when not in use for extended periods. Note that this is different from scaling to zero - it actually stops the database entirely.
- Reviewing your storage usage and deleting any unnecessary data.
If you believe there's an error in your bill, I recommend contacting AWS Support for a detailed breakdown of the charges. They can help identify any unexpected costs and potentially adjust your bill if there are indeed any errors.
For future use, carefully monitor your usage and costs, especially when first setting up new services. AWS provides tools like Cost Explorer and budgets to help manage and forecast your spending.
Remember, while Aurora Serverless v2 can significantly reduce costs for variable workloads, it's not always the most cost-effective option for very low usage scenarios. In such cases, a small provisioned instance or a different database solution might be more economical.
Sources
Using Aurora Serverless v2 - Amazon Aurora
Aurora serverless: horizontal vs vertical scaling | AWS re:Post
answered a year ago
Relevant content
asked 8 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 4 months ago
