これは本当に奇妙です。salt-cloud を使用して、いくつかの Windows 2012 サーバーを EC2 に起動しています。そして、私はこのプロファイルを使用しています:
ec2_private_win_app1:
provider: company-nonpod-us-east-1
image: ami-xxxxxx
size: c4.large
network_interfaces:
- DeviceIndex: 0
PrivateIpAddresses:
- Primary: True
#auto assign public ip (not EIP)
AssociatePublicIpAddress: False
SubnetId: subnet-A
SecurityGroupId: sg-xxxxxx
#block_device_mappings:
# - DeviceName: /dev/sda1
# Ebs.VolumeSize: 120
# Ebs.VolumeType: gp2
# - DeviceName: /dev/sdf
# Ebs.VolumeSize: 100
# Ebs.VolumeType: gp2
tag: {'Engagement': '2112254190125', 'Owner': 'Tim', 'Name': 'production'}
そして、このコマンドを与える:
salt-cloud -p ec2_private_win_app1 USAB00005
結果のサーバーは、AWS のこのサブネットになります。
Subnet ID: subnet-B
私はソルトクラウドバージョンを使用しています:salt-cloud 2016.9.0-410-gdedfd82
以下を実行しているサーバー上:CentOS Linux release 7.2.1511
一体何が起こっているのですか?