EBS スナップショットの時間ベースコピーを使わない場合、CompletionDurationMinutes は表示されるのか確認してみた
この記事は アノテーション株式会社 AWS Technical Support Advent Calendar 2025 | Advent Calendar 2025 - Qiita 7 日目の記事です。
はじめに
テクニカルサポートの 片方 です。
スナップショットの時間ベースコピーを使わない場合、CompletionDurationMinutes は表示されるのか検証する機会があったので紹介します。
時間ベースのスナップショットと EBS-backed AMI コピーオペレーションでは、コピーを完了する完了時間を 15 分から 48 時間の間で指定します。完了期間は 15 分単位で指定する必要があります。
先に結論から
-
時間ベースコピー(TransferType: time-based)を指定したスナップショットコピー
CompletionDurationMinutes が出力される -
通常コピー(TransferType: standard)で作成したスナップショットコピー
CompletionDurationMinutes は出力されない
CompletionDurationMinutes -> (integer)
Note
Only for snapshot copies created with time-based snapshot copy operations.
The completion duration requested for the time-based snapshot copy operation.
確認してみた
以下でコピー済みです。
- 通常コピー :snap-0df1f898cd7ac720d
- 時間ベースコピー :snap-03dae319972ebc2c4

では、AWS CLI コマンドで確認します。
※ 一部マスクします。
$ aws ec2 describe-snapshots --snapshot-ids snap-0df1f898cd7ac720d
{
"Snapshots": [
{
"StorageTier": "standard",
"TransferType": "standard",
"CompletionTime": "2025-12-02T06:28:56.061000+00:00",
"FullSnapshotSizeInBytes": 1843396608,
"SnapshotId": "snap-0df1f898cd7ac720d",
"VolumeId": "vol-ffffffff",
"State": "completed",
"StartTime": "2025-12-02T06:25:33.765000+00:00",
"Progress": "100%",
"OwnerId": "123456789012",
"Description": "[Copied snap-07dccb543b012498a from ap-northeast-1] Test",
"VolumeSize": 20,
"Encrypted": true,
"KmsKeyId": "arn:aws:kms:us-east-1:123456789012:key/e6xxxxxx-3xxx-4xxx-8xxx-d2bxxxxxxxxx"
}
]
}
$ aws ec2 describe-snapshots --snapshot-ids snap-03dae319972ebc2c4
{
"Snapshots": [
{
"StorageTier": "standard",
"TransferType": "time-based",
"CompletionDurationMinutes": 15,
"CompletionTime": "2025-12-02T06:30:02.205000+00:00",
"FullSnapshotSizeInBytes": 1843396608,
"SnapshotId": "snap-03dae319972ebc2c4",
"VolumeId": "vol-ffffffff",
"State": "completed",
"StartTime": "2025-12-02T06:29:53.273000+00:00",
"Progress": "100%",
"OwnerId": "123456789012",
"Description": "[Copied snap-07dccb543b012498a from ap-northeast-1] Test",
"VolumeSize": 20,
"Encrypted": true,
"KmsKeyId": "arn:aws:kms:us-east-1:123456789012:key/e6xxxxxx-3xxx-4xxx-8xxx-d2bxxxxxxxxx"
}
]
}
結果、時間ベースコピーのスナップショットのみに、CompletionDurationMinutes が存在することを確認しました。
なお、describe-images には CompletionDurationMinutes といったフィールドは含まれておらず、現時点スナップショットコピーに関する情報は返されません。
まとめ
本ブログが誰かの参考になれば幸いです。
参考資料
- Amazon EBS スナップショットと EBS-backed AMIs の時間ベースのコピー - Amazon EBS
- describe-snapshots — AWS CLI 2.32.2 Command Reference
- describe-images — AWS CLI 2.32.6 Command Reference
アノテーション株式会社について
アノテーション株式会社は、クラスメソッド社のグループ企業として「オペレーション・エクセレンス」を担える企業を目指してチャレンジを続けています。「らしく働く、らしく生きる」のスローガンを掲げ、様々な背景をもつ多様なメンバーが自由度の高い働き方を通してお客様へサービスを提供し続けてきました。現在当社では一緒に会社を盛り上げていただけるメンバーを募集中です。少しでもご興味あれば、アノテーション株式会社WEBサイトをご覧ください。







