aws ec2 describe-images --filters "Name=platform,Values=windows"
我得到數百結果怎麼來,但是當我這樣做:
aws ec2 describe-images --filters "Name=platform,Values=linux"
我得到:
{
"Images": []
}
或
aws ec2 describe-images --filters "Name=platform,Values=ubuntu"
{
"Images": []
}
也許您的EC2只是Windows映像? – Justinas