4 of the 5 questions we have for this objective, shown with the answer and the reasoning.
Optimize storage and database costs
Hollis Engineering backs up 300 Amazon EBS volumes with snapshots. Policy requires daily snapshots kept for 14 days and monthly snapshots kept for 7 years. The monthly snapshots are almost never restored, and when they are, a restore that takes up to three days is acceptable. Today all snapshots stay in the standard tier and the long-term snapshot bill keeps growing.
Which solution meets the policy at the lowest cost with the least effort?
- AKeep all snapshots in the standard tier, which stores only changed blocks incrementally, and delete every second monthly snapshot to halve the cost.Incremental storage does not change the price per GB, and deleting required snapshots breaks the retention policy.
- BWrite a nightly AWS Lambda function that copies each monthly snapshot to Amazon S3 Glacier Deep Archive with the S3 API and deletes the source snapshot after each copy succeeds to stop paying for standard-tier storage.EBS snapshots cannot be copied to Glacier with the S3 API, so the function would fail and deleting the sources would risk the retention policy; custom code is also more effort than a lifecycle policy.
- CTurn on Recycle Bin retention rules for 7 years for all snapshots.Recycle Bin protects deleted snapshots from accidental loss; it is not a lower-cost storage tier and would keep daily snapshots for years too.
- DCreate an Amazon Data Lifecycle Manager policy with a daily schedule kept for 14 days and a monthly schedule that archives its snapshots to the EBS Snapshots Archive tier for 7 years.DLM can run several schedules in one policy and archive snapshots from a monthly schedule to the archive tier, which costs much less for long-term retention and fits the relaxed restore time.
Why: Backup cost is mostly retention cost. Amazon Data Lifecycle Manager automates EBS snapshot creation and retention with up to four schedules per policy, and one schedule can archive snapshots to the EBS Snapshots Archive tier. Archiving suits monthly or yearly snapshots kept for compliance: the archive tier costs much less per GB, has a 90-day minimum, and restores take up to 72 hours. Archived snapshots become full snapshots, which is why archiving fits rarely restored long-term copies rather than daily ones. Seven years of monthly snapshots also exceeds the default quota of archived snapshots per volume, so the quota must be raised.
Optimize storage and database costs
Quaybridge Software sends about 25 TB per month of verbose application debug logs to Amazon CloudWatch Logs, where they are kept indefinitely. Engineers query these logs with CloudWatch Logs Insights only during incidents, and nothing else reads them: there are no metric filters, subscription filters or Live Tail sessions on them. Incident reviews never need logs older than 30 days.
Which change reduces the cost of these logs the most while keeping incident queries working?
- ACreate new log groups with the Infrequent Access log class, point the applications at them, and set a 30-day retention period.The Infrequent Access log class has a lower ingestion price and still supports Logs Insights queries, and a 30-day retention stops paying for storage nobody needs.
- BExport the logs to Amazon S3 every day with CreateExportTask and keep them in CloudWatch Logs with the current retention.Exporting adds storage in S3 but leaves the main costs, ingestion and indefinite retention in CloudWatch Logs, unchanged.
- CCreate metric filters that count error lines so that engineers can read metrics instead of logs.Metric filters add value for alerting but do not reduce ingestion, and they are not supported on Infrequent Access log groups.
- DStream all logs through a subscription filter to Amazon OpenSearch Service with UltraWarm storage and delete them from CloudWatch Logs after one day.An OpenSearch domain sized for 25 TB per month costs more than it saves, even with UltraWarm nodes, and ingestion into CloudWatch is still paid.
Why: Observability can quietly become a large bill. The levers are what you collect, where it is ingested and how long it is kept. CloudWatch Logs offers an Infrequent Access log class with a lower per-GB ingestion price for logs that are queried occasionally; it supports Logs Insights but not features such as metric filters, subscription filters or Live Tail, which these logs do not use. Pairing it with a retention period that matches real needs, and reducing log verbosity at the source, gives the largest savings.
Optimize storage and database costs
Glenmere Labs runs a nightly genomics batch job on a single r6i.4xlarge instance that reads and writes a 200 GiB gp2 EBS volume. The job runs at full speed for about 40 minutes and then slows sharply, although CPU utilization stays under 30%. CloudWatch shows the volume's BurstBalance metric falling to 0 at the same time that VolumeQueueLength rises. The team needs about 5,000 IOPS for the whole job at the lowest cost and without downtime.
What should the solutions architect recommend?
- AStripe four additional gp2 volumes with the existing one in a RAID 0 array to raise baseline IOPS from the combined volume size.This adds complexity and requires data migration and downtime, while a single gp3 volume meets the requirement directly.
- BChange the instance type to r6i.8xlarge to provide more CPU, memory and EBS bandwidth.CPU and instance bandwidth are not the constraint; the metrics show the volume running out of burst credits.
- CModify the volume to gp3 with 5,000 provisioned IOPS by using Elastic Volumes.gp3 provides provisioned IOPS independent of size with no burst credits, and Elastic Volumes changes the type and performance while the volume stays in use.
- DModify the volume to io2 with 5,000 provisioned IOPS by using Elastic Volumes while it stays attached.io2 would meet the performance target but costs more than gp3 for this IOPS level, so it does not meet the lowest-cost requirement.
Why: Examining a bottleneck means following the metrics to the resource that is saturated. A small gp2 volume earns burst credits from a baseline of 3 IOPS per GiB, so a 200 GiB volume can burst to 3,000 IOPS only until BurstBalance is exhausted, after which it falls back to 600 IOPS and requests queue. gp3 decouples IOPS and throughput from size and has no credit model, and Elastic Volumes applies the change online. Scaling compute or choosing a premium volume type addresses the wrong constraint or overspends.
Optimize storage and database costs
Lindqvist Research stores 900 TB of datasets in Amazon S3 Standard. Most objects are larger than 1 MB. Access is unpredictable: a dataset may sit untouched for months and then be read heavily by a new project. When a dataset is requested, it must be readable within milliseconds. The company wants to lower storage cost without paying retrieval fees when old data is suddenly reused.
Which storage approach should the solutions architect recommend?
- AMove all objects to S3 One Zone-IA in the Availability Zone closest to the analysis instances.One Zone-IA stores data in a single Availability Zone and still charges retrieval fees, which adds risk without solving the access problem.
- BMove the objects to S3 Intelligent-Tiering without the optional asynchronous archive tiers.Intelligent-Tiering moves objects between frequent, infrequent and archive instant access tiers based on access, with millisecond reads and no retrieval fees, which suits unpredictable patterns.
- CAdd an S3 Lifecycle rule that transitions objects to S3 Standard-IA after 30 days.Standard-IA charges per GB retrieved, so heavy reuse of old datasets would add retrieval fees, and objects never move back automatically.
- DAdd an S3 Lifecycle rule that transitions objects to S3 Glacier Flexible Retrieval after 90 days and use Bulk retrievals when data is reused.Glacier Flexible Retrieval needs a restore that takes minutes to hours (Bulk retrievals take the longest), which breaks the millisecond requirement.
Why: S3 storage classes trade storage price against retrieval cost and speed. When access patterns are unknown or change, S3 Intelligent-Tiering is designed for the job: it monitors access and moves each object between tiers automatically, with no retrieval charges and millisecond access in its default tiers. The optional Archive Access and Deep Archive Access tiers are asynchronous, so they stay off when instant access is required. Small objects under 128 KB are not tiered, which is why object size is mentioned.