내용으로 건너뛰기

PITR cost on RDS Postgres

0

Hey all

I am trying to costout PITR.

I have a 55GB Postgres DB, I have setup the back up which is running.

it is set for 10days retention, warm storage only.

what I have worked out is:

DB_Size * $0.23772 = $15.24

DB_Size * $0.118866 = $6.44 for storage

Total: $22.00 (roundup)

Am I missing something?

1개 답변
-1

Components of Backup Storage Cost

1. Automated Backup Storage:

  • Snapshot Storage: This includes the total size of all snapshots (both automated and manual) that are stored. The first snapshot is the full size of the DB instance, and subsequent snapshots store only the changes since the last snapshot (incremental).
  • Additional Backup Storage: Beyond the free storage provided for backups (equal to the size of your DB instance), you will be charged per GB per month.

2. Backup Retention:

  • Since you have a 10-day retention period, this implies that you will have 10 days’ worth of backup storage. AWS RDS charges are incurred based on the amount of backup storage consumed beyond the free tier (if applicable).

3. Warm Storage:

  • Warm storage refers to backup storage for ongoing and recent backups, which is typically more cost-effective than frequent accessing or modifying backup data.

Calculation Details

Given:

  • DB Size: 55GB
  • Retention Period: 10 days
  • Storage Costs:
  • Warm Storage Cost: $0.23772 per GB-month
  • Backup Storage Cost: $0.118866 per GB-month

Cost Breakdown

1. Automated Backup Storage Cost:

  • Total DB Size (55GB) retained for 10 days.
  • Cost Calculation: 55 GB×10 days×( 1 month/30 days ) ×$0.23772 per GB-month

Simplifying:

( 55 GB×10 days/30 days )×$0.23772=18.33 GB-months×$0.23772=$4.36

2. Backup Storage Cost:

  • Cost Calculation:

55 GB×10 days×( 1 month / 30 days )×$0.118866 per GB-month

Simplifying:

( 55 GB×10 days / 30 days )×$0.118866=18.33 GB-months×$0.118866=$2.18

Total Estimated Cost

Adding the calculated costs for both warm storage and backup storage:

  • Warm Storage Cost: $4.36
  • Backup Storage Cost: $2.18
  • Total Cost: $4.36+$2.18=$6.54

Considerations

  • Free Tier: If your total backup storage usage is less than or equal to the size of your DB instance, AWS provides that storage for free. This means the actual cost may be reduced depending on your usage of free backup storage.
  • Incremental Backups: Costs are based on incremental changes after the initial full snapshot. If there are significant changes daily, costs may increase due to the increased size of incremental backups.
전문가

답변함 2년 전

전문가

검토됨 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠