- Newest
- Most votes
- Most comments
Your understanding of the AMI creation and copying process is generally correct, but let's clarify a few points about the pricing and data management:
- Initial AMI creation and copy:
- The first AMI creation will indeed result in a full EBS snapshot of 8TB in the source region.
- The first copy to the second region will transfer the full 8TB.
- Subsequent AMI creations and copies:
- In the source region, subsequent AMIs will be incremental, only storing the changed data (50GB per day in your example).
- When copying to the second region, AWS uses an optimization process. It doesn't transfer the full 8TB each time, but only the changed blocks. So yes, the copies are also incremental.
- Monthly cleanup:
- When you delete older AMIs and their associated snapshots, it doesn't automatically trigger a new full snapshot. AWS manages this efficiently, maintaining the necessary data to keep your most recent AMIs functional.
- However, over time, as you delete older snapshots, the system may need to consolidate data, which could result in larger data transfers or storage usage temporarily.
- Pricing estimate: Your pricing estimate is close, but let's adjust it slightly:
- You'll be charged for 8TB of snapshot storage in each region initially (16TB total).
- The first copy will indeed transfer 8TB of data.
- For subsequent snapshots, you'll be charged for about 1.5TB per month in each region (3TB total) as you calculated.
- For ongoing copies, you'll be charged for transferring approximately 1.5TB per month, not the full 8TB each time.
It's important to note that while this estimate gives you a general idea, actual costs may vary. Factors such as the specific data change patterns, the efficiency of AWS's incremental snapshot and copy processes, and any consolidation that happens during cleanup can affect the final numbers.
Also, remember that you'll be charged for the storage of all retained snapshots, both in the source and destination regions, for as long as you keep them. Regular cleanup of unnecessary AMIs and snapshots is crucial for cost management.
To optimize costs, consider adjusting the frequency of AMI creation and copying based on your specific recovery point objective (RPO) requirements, and implement a robust cleanup strategy to remove unnecessary AMIs and snapshots regularly.
Sources
Create an Amazon EBS-backed AMI - Amazon Elastic Compute Cloud
Amazon EC2 AMI lifecycle - Amazon Elastic Compute Cloud
Relevant content
- asked a year ago
