AWS Cost Estimation for Stack Resources

Monthly cost estimation breakdown for WIV-CUR CloudFormation stack resources including S3, Lambda, Glue, Athena, and CloudWatch.

Written By Dotan Cohen

Last updated About 2 months ago

Cost Estimation for WIV-CUR Stack Resources

1. S3 Storage (CostAndUsageReportBucket)

  • CUR Data Storage:

    • CUR files are typically 1-50 MB per day (varies by account activity)

    • With INTELLIGENT_TIERING storage class

    • Estimated: ~1-2 GB/month = $0.02-0.05/month

  • Lifecycle Rules: 365-day retention, query results deleted after 1 day

  • Data Transfer: Minimal (same region access)

2. Lambda Functions (4 functions)

  • WivCURLambdaFunction: Runs once for CUR creation/deletion

  • CleanUpBuckets: Runs only during stack deletion

  • AWSCURInitializer: Runs on stack creation and when new CUR files arrive

  • AWSS3CURNotification: Runs once for setup

  • Estimated cost: < $1/month (minimal invocations)

3. AWS Glue

  • Glue Database: No charge for database metadata

  • Glue Crawler (AWSCURCrawler):

    • Charges: $0.44 per DPU-hour (1 DPU minimum)

    • Runs when new CUR files arrive (typically daily)

    • Each run: ~2-5 minutes

    • Estimated: 30 runs Γ— 5 min Γ— $0.44/60 = ~$1.10/month

4. Athena

  • WorkGroup: No charge for the workgroup itself

  • Query costs: $5 per TB scanned

    • CUR data is Parquet format (highly compressed)

    • Depends on query frequency and data volume

    • Estimated for moderate usage: $5-20/month

5. CloudWatch Logs

  • Log Groups: 4 log groups with short retention (3-30 days)

  • Storage: $0.03 per GB

  • Ingestion: $0.50 per GB

  • Estimated: < $1/month

6. Cost and Usage Report (CUR)

  • CUR Generation: Free

  • Delivers detailed billing data to your S3 bucket

7. AWS Support Case

  • The template creates a support case for CUR backfill

  • Cost depends on your support plan (Developer/Business/Enterprise)Total Estimated Monthly Cost

Component

Estimated Cost

S3 Storage

$0.05

Lambda Functions

$1.00

Glue Crawler

$1.10

Athena Queries

$5-20

CloudWatch Logs

$1.00

Total

$8-25/month