You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was attempting to use this tool to upload a disk image inside an EC2 instance, but the estimates were out of control (16h for a recent one). After a bit of dbg!ing, I found out it was because the instance did not have the ebs:PutSnapshotBlock capability. After adding that to its IAM policy, the uploader actually made progress and the estimates shrunk down to ~5 minutes.
The only reason I figured this out was because I littered dbg! statements everywhere, which led me to here:
which told me that I was missing that permission in my IAM policy.
It would be ideal for these errors to be printed out eventually (I did notice them still happening, despite adding that capability to the policy, so maybe not always? No, this was just some AWS eventual-consistency stuff -- no longer happens after letting things settle for a bit).
(I also needed the ebs:CompleteSnapshot capability, but maybe that's already obvious to more experienced AWS users.)
The text was updated successfully, but these errors were encountered:
I was attempting to use this tool to upload a disk image inside an EC2 instance, but the estimates were out of control (16h for a recent one). After a bit of
dbg!
ing, I found out it was because the instance did not have theebs:PutSnapshotBlock
capability. After adding that to its IAM policy, the uploader actually made progress and the estimates shrunk down to ~5 minutes.The only reason I figured this out was because I littered
dbg!
statements everywhere, which led me to here:coldsnap/src/upload.rs
Lines 171 to 188 in 5e3adc5
where I inspected the error being uncovered at
coldsnap/src/upload.rs
Lines 180 to 183 in 5e3adc5
which told me that I was missing that permission in my IAM policy.
It would be ideal for these errors to be printed out eventually (
I did notice them still happening, despite adding that capability to the policy, so maybe not always?No, this was just some AWS eventual-consistency stuff -- no longer happens after letting things settle for a bit).(I also needed the
ebs:CompleteSnapshot
capability, but maybe that's already obvious to more experienced AWS users.)The text was updated successfully, but these errors were encountered: