Home icon

Optimizing costs on Amazon DocumentDB using event-driven architecture and the AWS EventBridge Terraform module

Database Blog



This article discusses how to optimize costs on Amazon DocumentDB by automating the starting and stopping of clusters around business hours using an event-driven architecture with AWS Lambda, Amazon EventBridge, and the AWS EventBridge Terraform module.

Specifically, the article covers:

  • Cost-optimization features like I/O-Optimized pricing and document compression in Amazon DocumentDB
  • The ability to temporarily stop instances in an Amazon DocumentDB cluster when not needed to save on costs
  • A Terraform project for automating the stopping and starting of Amazon DocumentDB clusters based on predefined schedules and tags
  • An overview of the solution architecture using AWS Lambda, Amazon EventBridge Scheduler, and CloudWatch Logs
  • The importance of establishing cost-optimization strategies to maximize resource utilization and achieve business outcomes at the lowest possible price point


Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Jun 12
2024
Optimize costs with scheduled scaling of Amazon DocumentDB for read workloads
Jul 15
2024
Event Driven Architecture using Amazon EventBridge – Part 2
Apr 15
2024
Reduce cost and improve performance by migrating to Amazon DocumentDB 5.0
May 17
2024
Event Driven Architecture using Amazon EventBridge – Part 1

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.