0
我使用鹽雲啓動windows ec2實例。但是我無法設置安全組。不是給我指定的SG實例,而是給你'默認'的安全組。鹽雲不能在ec2中設置安全組
這裏是我的雲配置文件定義:
ec2_private_win_app1_c4.2xlarge:
provider: company-nonpod-us-east-1
image: ami-xxxxxx
size: c4.2xlarge
network_interfaces:
- DeviceIndex: 0
PrivateIpAddresses:
- Primary: True
#auto assign public ip (not EIP)
AssociatePublicIpAddress: False
SubnetId: subnet-xxxxx
SecurityGroupId: sg-xxxxxx
block_device_mappings:
- DeviceName: /dev/sda1
Ebs.VolumeSize: 120
Ebs.VolumeType: gp2
- DeviceName: /dev/sdf
Ebs.VolumeSize: 100
Ebs.VolumeType: gp2
YAML的檢查時,我有一個在線YAML檢查解析它。我可以採取什麼不同的方式來獲得我指定的安全組而不是「默認」安全組?
我也想對此發表評論,在部署時涉及解析安全組的最新版本的Salt-Cloud存在一些問題。我建議查看他們的github問題(https://github.com/saltstack/salt/issues),看看是否有可比性,這可能是一個錯誤;我遇到了版本2016.11.1的問題 –