Skip to content
Compare cost of DynamoDB On Demand versus your current Provisioned Capacity setup.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Create README.md May 3, 2019
main.go Use the same day a week ago as a default date. May 10, 2019

README.md

dynamocapacity

Compare cost of DynamoDB On Demand versus your current Provisioned Capacity setup.

Get stats for a single table.

go run main.go -region=eu-west-2 -table=your-table-name -day=2019-05-02
your-table-name
  Estimated daily:
    On Demand Read: $0.00075
    On Demand Write: $0.00075
    Provisioned Read: $0.01930
    Provisioned Write: $0.09264
  Estimated monthly:
    On Demand Read: $0.02282
    On Demand Write: $0.02282
    Provisioned Read: $0.58704
    Provisioned Write: $2.81780

Get stats for a region.

go run main.go -region=eu-west-2 -allTables=true -day=2019-05-02
your-table-name
  Estimated daily:
    On Demand Read: $0.00075
    On Demand Write: $0.00075
    Provisioned Read: $0.01930
    Provisioned Write: $0.09264
  Estimated monthly:
    On Demand Read: $0.02282
    On Demand Write: $0.02282
    Provisioned Read: $0.58704
    Provisioned Write: $2.81780
    
your-table-name2
  Estimated daily:
    On Demand Read: $0.00075
    On Demand Write: $0.00075
    Provisioned Read: $0.01930
    Provisioned Write: $0.09264
  Estimated monthly:
    On Demand Read: $0.02282
    On Demand Write: $0.02282
    Provisioned Read: $0.58704
    Provisioned Write: $2.81780
    
Switch table your-table-name to on-demand to save $0.11044 per day
Switch table your-table-name2 to on-demand to save $0.11044 per day

Total saved per day: $0.22088
Total saved per month: $9.674544
You can’t perform that action at this time.