A Systems Administrator is responsible for maintaining custom, approved AMIs for a company. These AMIs must be shared with each of the company's AWS accounts. How can the Administrator address this issue?
A.
Contact AWS Support for sharing AMIs with other AWS accounts.
B.
Modify the permissions on the AMIs so that they are publicly accessible.
C.
Modify the permissions on the IAM role that are associated with the AMI.
D.
Share the AMIs with each AWS account using the console or CLI.
To share an AMI using the console, the Administrator can navigate to the EC2 Dashboard, select the desired AMI, and choose the "Actions" dropdown menu. From there, they can select the "Modify Image Permissions" option and specify the AWS account IDs with which the AMI should be shared.
Alternatively, the Administrator can use the AWS CLI to share the AMI by using the modify-image-attribute command and specifying the appropriate --launch-permission parameter with the AWS account IDs.
By sharing the AMIs with each AWS account, the Administrator ensures that the approved AMIs are accessible and can be used for launching instances in the respective accounts while maintaining control over who has access to the AMIs.
Take a Note: Modify the permissions on the AMIs so that they are publicly accessible.
Even this is One way. But that will make the AMI publicly available to everyone. It will be added to Community AMI. and We do not want that.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
karmaah
Highly Voted 2 years, 7 months agoMoon
Highly Voted 2 years, 7 months agoalbert_kuo
Most Recent 9 months, 4 weeks agoRicardoD
2 years, 5 months agoHVarada
2 years, 5 months agoabhishek_m_86
2 years, 6 months agojackdryan
2 years, 6 months agoMFDOOM
2 years, 6 months agoNitiATOS
2 years, 6 months agoshammous
2 years, 6 months agosen12
2 years, 6 months ago