Skip to content
This repository has been archived by the owner on Oct 19, 2020. It is now read-only.

Failed to copy AMI #38

Closed
devwout opened this issue Jul 19, 2018 · 11 comments
Closed

Failed to copy AMI #38

devwout opened this issue Jul 19, 2018 · 11 comments

Comments

@devwout
Copy link

devwout commented Jul 19, 2018

It does not seem to be possible to copy ami-3ceac343. AWS returned the following error:

InvalidRequest: You do not have permission to access the storage of this ami

Is this intentional? When running an AMI in production it is desired to copy the AMI to protect against it (perhaps unintentionally) disappearing. Copying an AMI is also required for EBS root encryption.

@tzach
Copy link

tzach commented Jul 19, 2018

Its is not intentional
@penberg any idea how to change that?

@tzach
Copy link

tzach commented Jul 19, 2018

Atlgho the AMI is public, but the snapshot of the root volume is private

@devwout
Copy link
Author

devwout commented Jul 30, 2018

Any way the snapshot can be made public as well?

@tzach
Copy link

tzach commented Aug 1, 2018

@syuu1228 ?

@devwout
Copy link
Author

devwout commented Aug 24, 2018

If this can't be fixed, is it possible to disclose which AMI this repo builds on, so we can build our own?

@tzach
Copy link

tzach commented Aug 26, 2018

@syuu1228 can you please help

@syuu1228
Copy link
Contributor

I actually cannot reproduce the issue, I able to copy ami-3ceac343 to ami-06a848a0e9177ba2f.

@tzach
Copy link

tzach commented Aug 29, 2018

@syuu1228 I suspect this is because you are using Scylla account.
Other accounts will fail to do so, even though the AMI is public.

@devwout
Copy link
Author

devwout commented Aug 29, 2018

Tried again, not possible to copy the AMI using our account. The AMI is public, but the EBS snapshot for the AMI is not public.

The snapshot for ami-3ceac343 is snap-02c838a592ee518d9.

According to the docs, you can lookup this snapshot in the EC2 console, go to Actions > Modify Permissions and make it public.

@syuu1228
Copy link
Contributor

@devwout @tzach Okay confirmed the issue and changed snapshot permission. Now I able to copy ami-3ceac343 with my private AWS account.

@devwout
Copy link
Author

devwout commented Aug 29, 2018

Works for me too, thank you for fixing this!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants