Amazon EC2 has enabled the Amazon Machine Image Block Public Access (AMI BPA) setting by default for all new AWS accounts and all existing AWS accounts that have not owned a public AMI since July 15, 2023. AMI BPA restricts an AWS account from accidentally sharing an AMI publicly within an AWS Region, which helps improve the security and privacy posture for customers.
Source:: Amazon AWS