我正在尝试将网络服务器启动到我的网络服务器安全组中,但我得到了这个:
$ aws ec2 run-instances --image-id ami-someami --count 2 --instance-type m3.medium --key-name some_key --security-groups Webservers
A client error (InvalidParameterCombination) occurred when calling the RunInstances operation: VPC security groups may not be used for a non-VPC launch
是什么赋予了?我只想在我的默认 VPC 中启动盒子。我不想指定子网,但即使我这样做了,我也无法再指定我的安全组。我是 EC2 的新手,我宁愿不用担心用我的 VPC 做非默认的事情,直到我不得不这样做。