如何确定哪些 AMI 可用于选定的 AZ

How to determine what AMIs are available for a selected AZ

我目前正在使用云形成来启动以下 AMI 映像:ami-0d28e5e0f13248294

但是我被告知实例类型 (m5.large) 在我请求的可用区 (ap-southeast-2a) 中不受支持。

如何找到 ap-southeast-2a 支持的类似 AMI。我已尝试在控制台中使用 'launch EC2 instance',但我没有获得有关可用于 ap-southeast-2a 所需实例类型的可用性区域的任何信息。

AMI 提供启动实例所需的信息。 AMI 在区域中注册,而不是在可用性区域中注册。

您可以通过以下命令搜索给定区域中的 AMI 列表

aws ec2 describe-images --owners self amazon --filters "Name=root-device-type,Values=ebs"