Security Group and Subnet Belongs to different networks
问题 I am creating a basic AWS CloudFormation Template with one VPC, 3 Security Group and 5 EC2 Instances my security group looks something like this - { "WebApplicationServerSG": { "Type": "AWS::EC2::SecurityGroup", "Properties": { "VpcId": { "Ref": "DevVpc" }, "GroupDescription": "Enable HTTP, HTTPS and SSH access", "Tags": [ { "Key": "Name", "Value": "WebApplicationServer Service Group" } ], "SecurityGroupIngress": [ { "IpProtocol": "tcp", "FromPort": "443", "ToPort": "443", "CidrIp": "0.0.0.0