2
我試過下面的命令AWS EC2檢查安全組錯誤「無法找到組」
ec2-authorize default -P icmp -t -1:-1 -o 'Monitoring Servers'
我已經驗證了,它是用一組EC2-描述 - 安全組
"GroupName": "Monitoring Servers",
"UserId": "WITHHELD",
"GroupId": "WITHHELD"
我試過這個命令的如下排列:
ec2-authorize default -P icmp -t -1:-1 --region us-east-1 -o "Monitoring Servers"
ec2-authorize default -P icmp -t -1:-1 --region us-east-1 -o 'Monitoring Servers' -u WITHHELD
我仍然得到同樣的錯誤:
Client.InvalidGroup.NotFound: Unable to find group 'Monitoring Servers'
我想你可以嘗試安全組ID(以sg開頭)而不是名稱。如果您使用VPC,看起來您需要使用組ID。 – datasage 2013-04-09 19:31:54
未使用VPC並嘗試使用以下ec2-authorize默認-P icmp -t -1:-1 - 區域us-east-1 -o'sg-WITHHELD' Client.InvalidGroup.NotFound:安全組的sg -WITHHELD'不存在 – KirstensAmazing 2013-04-09 19:40:14
您確定您的安全小組位於我們東區嗎?你有'EC2_URL' env var set嗎? – datasage 2013-04-09 19:46:16