- Newest
- Most votes
- Most comments
To analyze data transfer costs for MongoDB Atlas clusters on AWS Marketplace, you'll need a systematic approach since data transfer isn't directly labeled as a specific usage type in CUR data.
First, use AWS Cost Explorer or the AWS Cost and Usage Report (CUR) to understand your overall data transfer patterns. Look specifically for the "DataTransfer-Out-Bytes" usage type in your CUR, which will have a prefix with an AWS Region billing code. This will help you identify the services generating high data transfer volumes.
For a more detailed analysis, I recommend deploying the Data Transfer Dashboard from the Cloud Intelligence Dashboards. This interactive QuickSight dashboard provides comprehensive insights into your data transfer costs, including:
- Data Transfer Summary
- Internet data transfer details
- Regional data transfer breakdowns
- Inter-Availability Zone transfer analysis
- Service-specific transfer patterns
To identify the specific MongoDB Atlas clusters responsible for the spike, enable VPC Flow Logs on the VPCs where your MongoDB Atlas clusters are deployed. These logs will show which network interfaces are generating large volumes of outbound traffic. You can analyze these logs using CloudWatch Logs Insights to filter for connections with high byte values.
Additionally, review your MongoDB Atlas configuration to check for:
- Cross-Availability Zone replication settings
- Backup configurations that might be transferring data across regions
- Client connection patterns that might be inefficient
Since you've observed a significant year-over-year increase (from 955 TB to 1,997 TB), also examine any architectural changes, increased application usage, or new data access patterns that might have been introduced during this period.
Once you've identified the sources of increased data transfer, you can implement targeted optimizations such as adjusting your MongoDB Atlas cluster placement, reviewing application connection patterns, or implementing caching strategies to reduce repeated data transfers.
Sources
High Egress Data Costs | AWS re:Post
DataTransfer Cost Analysis Dashboard - Cloud Intelligence Dashboards on AWS
Optimize data transfers across AWS services | AWS re:Post
COST08-BP01 Perform data transfer modeling - AWS Well-Architected Framework (2023-04-10)
answered a year ago
- CUR Doesn’t Always Label "Data Transfer" Clearly You're right, CUR (Cost and Usage Report) doesn't always show a clean UsageType like "DataTransfer" for Marketplace products. Instead, look for:
- DataTransfer-Out-Bytes, DataTransfer-Regional-Bytes, or USE2-DataTransfer-Out-Bytes under UsageType.
- Filter on LinkedAccountID or ProductName = MongoDB Atlas. These fields give indirect insights into transfer, even if labeled under the EC2 or VPC services.
- Use the Cloud Intelligence Dashboards (CID) Deploy the Data Transfer Dashboard from AWS Labs (QuickSight-based). It gives you:
- Inter-AZ and Inter-Region breakdown
- Internet egress per service
- Trends by time, service, and resource You can find it on GitHub: CID repo
- Enable and Analyze VPC Flow Logs If MongoDB Atlas is peered with your AWS VPC, turn on VPC Flow Logs. Use CloudWatch Logs Insights to query high bytes and dstaddr values—this will highlight which workloads or IPs are doing large outbound transfers.
Sample query:
fields @timestamp, srcaddr, dstaddr, bytes
| sort bytes desc
| limit 50
- Check MongoDB Atlas Configuration
- Backups: Are backups being sent cross-region?
- Analytics Tier or BI Connector: These can generate high egress.
- Global clusters: Often replicate data across AWS regions.
- Peering or PrivateLink misconfig: Might default to internet route.
- Compare Architecture Y-o-Y Since your data doubled from 955 TB → 1.9 PB, review:
- App usage patterns
- Integration with external services
- Caching strategy (or lack of)
- Any major schema or workload change since last year
answered a year ago
Relevant content
asked 3 years ago
asked 7 years ago
- AWS OFFICIALUpdated a year ago
