Running Cloudformer

I have now created my resources from the AD-DS template and now I’m going to run cloudformer against it to get a template that I can optimise.

I start by creating a new stack and choosing CloudFormer.

cloud.PNG

I’ll give it a name and password and username.

sd.PNG

I then created the stack and wait for it to finish.

stack.PNG

Now the cloudformer has created an instance I can log into in via its DNS.

vb.PNG

I then can follow the process through

stack2.PNG

stack3.PNG

I have no DNS names so I can click next here

sds.PNG

I then select the instance the template made and security groups originally made.

stack4.PNG

bb

asd.PNG

asdf.PNG

After that, it created a template I can now find in cloudformation but also one I can copy and paste into a notepad file and edit without using the designer.

I had a minor heart attack and that was I wanted then to remove everything the old stack had made, so I tried to delete what it had created and it kept saying I don’t have permission. I then realised that the stack created controls the resources so by deleting the stack it removed everything it created which makes things easy.

{
“AWSTemplateFormatVersion”: “2010-09-09”,
“Resources”: {
“vpc094bdd6d”: {
“Type”: “AWS::EC2::VPC”,
“Properties”: {
“CidrBlock”: “10.0.0.0/16”,
“InstanceTenancy”: “default”,
“EnableDnsSupport”: “true”,
“EnableDnsHostnames”: “true”,
“Tags”: [
{
“Key”: “Name”,
“Value”: “NLW-AD-DS-VPCStack-N0QOSMOHBQX”
}
]
}
},
“subnet59eaac2f”: {
“Type”: “AWS::EC2::Subnet”,
“Properties”: {
“CidrBlock”: “10.0.0.0/19”,
“AvailabilityZone”: “ap-southeast-2a”,
“VpcId”: {
“Ref”: “vpc094bdd6d”
},
“Tags”: [
{
“Key”: “Name”,
“Value”: “Private subnet 1A”
},
{
“Key”: “Network”,
“Value”: “Private”
}
]
}
},
“subnet304c0b46”: {
“Type”: “AWS::EC2::Subnet”,
“Properties”: {
“CidrBlock”: “172.31.32.0/20”,
“AvailabilityZone”: “ap-southeast-2a”,
“VpcId”: “vpc-22cc5b46”
}
},
“subnetb2df55eb”: {
“Type”: “AWS::EC2::Subnet”,
“Properties”: {
“CidrBlock”: “172.31.16.0/20”,
“AvailabilityZone”: “ap-southeast-2c”,
“VpcId”: “vpc-22cc5b46”
}
},
“subnet8e5d0eea”: {
“Type”: “AWS::EC2::Subnet”,
“Properties”: {
“CidrBlock”: “172.31.0.0/20”,
“AvailabilityZone”: “ap-southeast-2b”,
“VpcId”: “vpc-22cc5b46”
}
},
“subnet14c89a70”: {
“Type”: “AWS::EC2::Subnet”,
“Properties”: {
“CidrBlock”: “10.0.144.0/20”,
“AvailabilityZone”: “ap-southeast-2b”,
“VpcId”: {
“Ref”: “vpc094bdd6d”
},
“Tags”: [
{
“Key”: “Name”,
“Value”: “Public subnet 2”
},
{
“Key”: “Network”,
“Value”: “Public”
}
]
}
},
“subnet46eaac30”: {
“Type”: “AWS::EC2::Subnet”,
“Properties”: {
“CidrBlock”: “10.0.128.0/20”,
“AvailabilityZone”: “ap-southeast-2a”,
“VpcId”: {
“Ref”: “vpc094bdd6d”
},
“Tags”: [
{
“Key”: “Network”,
“Value”: “Public”
},
{
“Key”: “Name”,
“Value”: “Public subnet 1”
}
]
}
},
“subnet23cb9947”: {
“Type”: “AWS::EC2::Subnet”,
“Properties”: {
“CidrBlock”: “10.0.32.0/19”,
“AvailabilityZone”: “ap-southeast-2b”,
“VpcId”: {
“Ref”: “vpc094bdd6d”
},
“Tags”: [
{
“Key”: “Network”,
“Value”: “Private”
},
{
“Key”: “Name”,
“Value”: “Private subnet 2A”
}
]
}
},
“subnet76f2b400”: {
“Type”: “AWS::EC2::Subnet”,
“Properties”: {
“CidrBlock”: “10.10.10.0/24”,
“AvailabilityZone”: “ap-southeast-2a”,
“VpcId”: “vpc-3373e557”
}
},
“igwa8d2c4cd”: {
“Type”: “AWS::EC2::InternetGateway”,
“Properties”: {
}
},
“igwf0e1f095”: {
“Type”: “AWS::EC2::InternetGateway”,
“Properties”: {
}
},
“igw20f8e945”: {
“Type”: “AWS::EC2::InternetGateway”,
“Properties”: {
“Tags”: [
{
“Key”: “Network”,
“Value”: “Public”
}
]
}
},
“doptf539e491”: {
“Type”: “AWS::EC2::DHCPOptions”,
“Properties”: {
“DomainName”: “ap-southeast-2.compute.internal”,
“DomainNameServers”: [
“AmazonProvidedDNS”
]
}
},
“dopt95d906f1”: {
“Type”: “AWS::EC2::DHCPOptions”,
“Properties”: {
“DomainName”: “ap-southeast-2.compute.internal”,
“DomainNameServers”: [
“AmazonProvidedDNS”
]
}
},
“dopt75d50a11”: {
“Type”: “AWS::EC2::DHCPOptions”,
“Properties”: {
“Tags”: [
{
“Key”: “Domain”,
“Value”: “nlwadds.com”
}
],
“DomainName”: “nlwadds.com”,
“DomainNameServers”: [
“10.0.38.85”,
“10.0.18.114”
]
}
},
“acl3a57035e”: {
“Type”: “AWS::EC2::NetworkAcl”,
“Properties”: {
“VpcId”: “vpc-3373e557”
}
},
“acl272c7843”: {
“Type”: “AWS::EC2::NetworkAcl”,
“Properties”: {
“VpcId”: {
“Ref”: “vpc094bdd6d”
}
}
},
“acl288bc14c”: {
“Type”: “AWS::EC2::NetworkAcl”,
“Properties”: {
“VpcId”: “vpc-22cc5b46”
}
},
“rtb873962e3”: {
“Type”: “AWS::EC2::RouteTable”,
“Properties”: {
“VpcId”: “vpc-3373e557”,
“Tags”: [
{
“Key”: “Name”,
“Value”: “CloudformerVPCRouteTable”
}
]
}
},
“rtb3f51085b”: {
“Type”: “AWS::EC2::RouteTable”,
“Properties”: {
“VpcId”: “vpc-22cc5b46”
}
},
“rtb77065d13”: {
“Type”: “AWS::EC2::RouteTable”,
“Properties”: {
“VpcId”: {
“Ref”: “vpc094bdd6d”
},
“Tags”: [
{
“Key”: “Network”,
“Value”: “Public”
},
{
“Key”: “Name”,
“Value”: “Public Subnets”
}
]
}
},
“rtb8c015ae8”: {
“Type”: “AWS::EC2::RouteTable”,
“Properties”: {
“VpcId”: {
“Ref”: “vpc094bdd6d”
},
“Tags”: [
{
“Key”: “Name”,
“Value”: “Private subnet 2A”
},
{
“Key”: “Network”,
“Value”: “Private”
}
]
}
},
“rtbbb0259df”: {
“Type”: “AWS::EC2::RouteTable”,
“Properties”: {
“VpcId”: {
“Ref”: “vpc094bdd6d”
}
}
},
“rtb8a3863ee”: {
“Type”: “AWS::EC2::RouteTable”,
“Properties”: {
“VpcId”: “vpc-3373e557”
}
},
“rtb76065d12”: {
“Type”: “AWS::EC2::RouteTable”,
“Properties”: {
“VpcId”: {
“Ref”: “vpc094bdd6d”
},
“Tags”: [
{
“Key”: “Name”,
“Value”: “Private subnet 1A”
},
{
“Key”: “Network”,
“Value”: “Private”
}
]
}
},
“eip135518390”: {
“Type”: “AWS::EC2::EIP”,
“Properties”: {
“Domain”: “vpc”
}
},
“eip5262178100”: {
“Type”: “AWS::EC2::EIP”,
“Properties”: {
“Domain”: “vpc”
}
},
“eip5265178163”: {
“Type”: “AWS::EC2::EIP”,
“DependsOn”: [
“gw1”,
“gw2”,
“gw3”
],
“Properties”: {
“Domain”: “vpc”
}
},
“asgNLWADDSRDGWStackWYQDX8Y8FKKURDGWAutoScalingGroupSC702W9J555”: {
“Type”: “AWS::AutoScaling::AutoScalingGroup”,
“Properties”: {
“AvailabilityZones”: [
“ap-southeast-2b”,
“ap-southeast-2a”
],
“Cooldown”: “300”,
“DesiredCapacity”: “1”,
“HealthCheckGracePeriod”: “0”,
“HealthCheckType”: “EC2”,
“MaxSize”: “1”,
“MinSize”: “1”,
“VPCZoneIdentifier”: [
{
“Ref”: “subnet14c89a70”
},
{
“Ref”: “subnet46eaac30”
}
],
“LaunchConfigurationName”: {
“Ref”: “lcNLWADDSRDGWStackWYQDX8Y8FKKURDGWLaunchConfiguration1EVJUEQ58WXW1”
},
“Tags”: [
{
“Key”: “Name”,
“Value”: “RDGW”,
“PropagateAtLaunch”: true
}
],
“TerminationPolicies”: [
“Default”
]
}
},
“lcNLWADDSRDGWStackWYQDX8Y8FKKURDGWLaunchConfiguration1EVJUEQ58WXW1”: {
“Type”: “AWS::AutoScaling::LaunchConfiguration”,
“Properties”: {
“ImageId”: “ami-72525a11”,
“InstanceType”: “t2.large”,
“KeyName”: “ADDS”,
“IamInstanceProfile”: “NLW-AD-DS-RDGWStack-WYQDX8Y8FKKU-RDGWHostProfile-1L768ZE9R4VRV”,
“InstanceMonitoring”: “true”,
“SecurityGroups”: [
{
“Ref”: “sgNLWADDSADStack1PE7S1JRDLN1IDomainMemberSG1VOBH4F6OC8GY”
},
{
“Ref”: “sgNLWADDSRDGWStackWYQDX8Y8FKKURemoteDesktopGatewaySGXAYE6ULGKKNL”
}
],
“BlockDeviceMappings”: [
{
“DeviceName”: “/dev/sda1”,
“Ebs”: {
“VolumeSize”: 50
}
}
]
}
},
“instancei0e7b39dc9ac02f9a3”: {
“Type”: “AWS::EC2::Instance”,
“Properties”: {
“DisableApiTermination”: “false”,
“InstanceInitiatedShutdownBehavior”: “stop”,
“ImageId”: “ami-72525a11”,
“InstanceType”: “t2.large”,
“KeyName”: “ADDS”,
“Monitoring”: “true”,
“Tags”: [
{
“Key”: “Name”,
“Value”: “RDGW”
}
]
}
},
“sgNLWADDSADStack1PE7S1JRDLN1IDomainMemberSG1VOBH4F6OC8GY”: {
“Type”: “AWS::EC2::SecurityGroup”,
“Properties”: {
“GroupDescription”: “Domain Members”,
“VpcId”: {
“Ref”: “vpc094bdd6d”
}
}
},
“sgNLWADDSRDGWStackWYQDX8Y8FKKURemoteDesktopGatewaySGXAYE6ULGKKNL”: {
“Type”: “AWS::EC2::SecurityGroup”,
“Properties”: {
“GroupDescription”: “Enable RDP access from the Internet”,
“VpcId”: {
“Ref”: “vpc094bdd6d”
}
}
},
“sgnlwcloudformerWebServerSecurityGroup9PHSZQNUV259”: {
“Type”: “AWS::EC2::SecurityGroup”,
“Properties”: {
“GroupDescription”: “Enable HTTPS access via port 443”,
“VpcId”: “vpc-3373e557”
}
},
“acl1”: {
“Type”: “AWS::EC2::NetworkAclEntry”,
“Properties”: {
“CidrBlock”: “0.0.0.0/0”,
“Egress”: “true”,
“Protocol”: “-1”,
“RuleAction”: “allow”,
“RuleNumber”: “100”,
“NetworkAclId”: {
“Ref”: “acl3a57035e”
}
}
},
“acl2”: {
“Type”: “AWS::EC2::NetworkAclEntry”,
“Properties”: {
“CidrBlock”: “0.0.0.0/0”,
“Protocol”: “-1”,
“RuleAction”: “allow”,
“RuleNumber”: “100”,
“NetworkAclId”: {
“Ref”: “acl3a57035e”
}
}
},
“acl3”: {
“Type”: “AWS::EC2::NetworkAclEntry”,
“Properties”: {
“CidrBlock”: “0.0.0.0/0”,
“Egress”: “true”,
“Protocol”: “-1”,
“RuleAction”: “allow”,
“RuleNumber”: “100”,
“NetworkAclId”: {
“Ref”: “acl272c7843”
}
}
},
“acl4”: {
“Type”: “AWS::EC2::NetworkAclEntry”,
“Properties”: {
“CidrBlock”: “0.0.0.0/0”,
“Protocol”: “-1”,
“RuleAction”: “allow”,
“RuleNumber”: “100”,
“NetworkAclId”: {
“Ref”: “acl272c7843”
}
}
},
“acl5”: {
“Type”: “AWS::EC2::NetworkAclEntry”,
“Properties”: {
“CidrBlock”: “0.0.0.0/0”,
“Egress”: “true”,
“Protocol”: “-1”,
“RuleAction”: “allow”,
“RuleNumber”: “100”,
“NetworkAclId”: {
“Ref”: “acl288bc14c”
}
}
},
“acl6”: {
“Type”: “AWS::EC2::NetworkAclEntry”,
“Properties”: {
“CidrBlock”: “0.0.0.0/0”,
“Protocol”: “-1”,
“RuleAction”: “allow”,
“RuleNumber”: “100”,
“NetworkAclId”: {
“Ref”: “acl288bc14c”
}
}
},
“subnetacl1”: {
“Type”: “AWS::EC2::SubnetNetworkAclAssociation”,
“Properties”: {
“NetworkAclId”: {
“Ref”: “acl3a57035e”
},
“SubnetId”: {
“Ref”: “subnet76f2b400”
}
}
},
“subnetacl2”: {
“Type”: “AWS::EC2::SubnetNetworkAclAssociation”,
“Properties”: {
“NetworkAclId”: {
“Ref”: “acl272c7843”
},
“SubnetId”: {
“Ref”: “subnet59eaac2f”
}
}
},
“subnetacl3”: {
“Type”: “AWS::EC2::SubnetNetworkAclAssociation”,
“Properties”: {
“NetworkAclId”: {
“Ref”: “acl272c7843”
},
“SubnetId”: {
“Ref”: “subnet46eaac30”
}
}
},
“subnetacl4”: {
“Type”: “AWS::EC2::SubnetNetworkAclAssociation”,
“Properties”: {
“NetworkAclId”: {
“Ref”: “acl272c7843”
},
“SubnetId”: {
“Ref”: “subnet23cb9947”
}
}
},
“subnetacl5”: {
“Type”: “AWS::EC2::SubnetNetworkAclAssociation”,
“Properties”: {
“NetworkAclId”: {
“Ref”: “acl272c7843”
},
“SubnetId”: {
“Ref”: “subnet14c89a70”
}
}
},
“subnetacl6”: {
“Type”: “AWS::EC2::SubnetNetworkAclAssociation”,
“Properties”: {
“NetworkAclId”: {
“Ref”: “acl288bc14c”
},
“SubnetId”: {
“Ref”: “subnet304c0b46”
}
}
},
“subnetacl7”: {
“Type”: “AWS::EC2::SubnetNetworkAclAssociation”,
“Properties”: {
“NetworkAclId”: {
“Ref”: “acl288bc14c”
},
“SubnetId”: {
“Ref”: “subnet8e5d0eea”
}
}
},
“subnetacl8”: {
“Type”: “AWS::EC2::SubnetNetworkAclAssociation”,
“Properties”: {
“NetworkAclId”: {
“Ref”: “acl288bc14c”
},
“SubnetId”: {
“Ref”: “subnetb2df55eb”
}
}
},
“gw1”: {
“Type”: “AWS::EC2::VPCGatewayAttachment”,
“Properties”: {
“VpcId”: “vpc-22cc5b46”,
“InternetGatewayId”: {
“Ref”: “igwa8d2c4cd”
}
}
},
“gw2”: {
“Type”: “AWS::EC2::VPCGatewayAttachment”,
“Properties”: {
“VpcId”: “vpc-3373e557”,
“InternetGatewayId”: {
“Ref”: “igwf0e1f095”
}
}
},
“gw3”: {
“Type”: “AWS::EC2::VPCGatewayAttachment”,
“Properties”: {
“VpcId”: {
“Ref”: “vpc094bdd6d”
},
“InternetGatewayId”: {
“Ref”: “igw20f8e945”
}
}
},
“subnetroute1”: {
“Type”: “AWS::EC2::SubnetRouteTableAssociation”,
“Properties”: {
“RouteTableId”: {
“Ref”: “rtb873962e3”
},
“SubnetId”: {
“Ref”: “subnet76f2b400”
}
}
},
“subnetroute3”: {
“Type”: “AWS::EC2::SubnetRouteTableAssociation”,
“Properties”: {
“RouteTableId”: {
“Ref”: “rtb77065d13”
},
“SubnetId”: {
“Ref”: “subnet14c89a70”
}
}
},
“subnetroute4”: {
“Type”: “AWS::EC2::SubnetRouteTableAssociation”,
“Properties”: {
“RouteTableId”: {
“Ref”: “rtb77065d13”
},
“SubnetId”: {
“Ref”: “subnet46eaac30”
}
}
},
“subnetroute5”: {
“Type”: “AWS::EC2::SubnetRouteTableAssociation”,
“Properties”: {
“RouteTableId”: {
“Ref”: “rtb8c015ae8”
},
“SubnetId”: {
“Ref”: “subnet23cb9947”
}
}
},
“subnetroute8”: {
“Type”: “AWS::EC2::SubnetRouteTableAssociation”,
“Properties”: {
“RouteTableId”: {
“Ref”: “rtb76065d12”
},
“SubnetId”: {
“Ref”: “subnet59eaac2f”
}
}
},
“route1”: {
“Type”: “AWS::EC2::Route”,
“Properties”: {
“DestinationCidrBlock”: “0.0.0.0/0”,
“RouteTableId”: {
“Ref”: “rtb873962e3”
},
“GatewayId”: {
“Ref”: “igwf0e1f095”
}
},
“DependsOn”: “gw2”
},
“route2”: {
“Type”: “AWS::EC2::Route”,
“Properties”: {
“DestinationCidrBlock”: “0.0.0.0/0”,
“RouteTableId”: {
“Ref”: “rtb3f51085b”
},
“GatewayId”: {
“Ref”: “igwa8d2c4cd”
}
},
“DependsOn”: “gw1”
},
“route3”: {
“Type”: “AWS::EC2::Route”,
“Properties”: {
“DestinationCidrBlock”: “0.0.0.0/0”,
“RouteTableId”: {
“Ref”: “rtb77065d13”
},
“GatewayId”: {
“Ref”: “igw20f8e945”
}
},
“DependsOn”: “gw3”
},
“route4”: {
“Type”: “AWS::EC2::Route”,
“Properties”: {
“DestinationCidrBlock”: “0.0.0.0/0”,
“RouteTableId”: {
“Ref”: “rtb8c015ae8”
}
}
},
“route5”: {
“Type”: “AWS::EC2::Route”,
“Properties”: {
“RouteTableId”: {
“Ref”: “rtb8c015ae8”
},
“GatewayId”: “vpce-02c2336b”
}
},
“route6”: {
“Type”: “AWS::EC2::Route”,
“Properties”: {
“DestinationCidrBlock”: “0.0.0.0/0”,
“RouteTableId”: {
“Ref”: “rtb76065d12”
}
}
},
“route7”: {
“Type”: “AWS::EC2::Route”,
“Properties”: {
“RouteTableId”: {
“Ref”: “rtb76065d12”
},
“GatewayId”: “vpce-02c2336b”
}
},
“dchpassoc1”: {
“Type”: “AWS::EC2::VPCDHCPOptionsAssociation”,
“Properties”: {
“VpcId”: {
“Ref”: “vpc094bdd6d”
},
“DhcpOptionsId”: {
“Ref”: “dopt75d50a11”
}
}
},
“ingress1”: {
“Type”: “AWS::EC2::SecurityGroupIngress”,
“Properties”: {
“GroupId”: {
“Ref”: “sgNLWADDSADStack1PE7S1JRDLN1IDomainMemberSG1VOBH4F6OC8GY”
},
“IpProtocol”: “udp”,
“FromPort”: “49152”,
“ToPort”: “65535”,
“CidrIp”: “10.0.32.0/19”
}
},
“ingress2”: {
“Type”: “AWS::EC2::SecurityGroupIngress”,
“Properties”: {
“GroupId”: {
“Ref”: “sgNLWADDSADStack1PE7S1JRDLN1IDomainMemberSG1VOBH4F6OC8GY”
},
“IpProtocol”: “udp”,
“FromPort”: “49152”,
“ToPort”: “65535”,
“CidrIp”: “10.0.0.0/19”
}
},
“ingress3”: {
“Type”: “AWS::EC2::SecurityGroupIngress”,
“Properties”: {
“GroupId”: {
“Ref”: “sgNLWADDSADStack1PE7S1JRDLN1IDomainMemberSG1VOBH4F6OC8GY”
},
“IpProtocol”: “tcp”,
“FromPort”: “49152”,
“ToPort”: “65535”,
“CidrIp”: “10.0.0.0/19”
}
},
“ingress4”: {
“Type”: “AWS::EC2::SecurityGroupIngress”,
“Properties”: {
“GroupId”: {
“Ref”: “sgNLWADDSADStack1PE7S1JRDLN1IDomainMemberSG1VOBH4F6OC8GY”
},
“IpProtocol”: “tcp”,
“FromPort”: “49152”,
“ToPort”: “65535”,
“CidrIp”: “10.0.32.0/19”
}
},
“ingress5”: {
“Type”: “AWS::EC2::SecurityGroupIngress”,
“Properties”: {
“GroupId”: {
“Ref”: “sgNLWADDSADStack1PE7S1JRDLN1IDomainMemberSG1VOBH4F6OC8GY”
},
“IpProtocol”: “udp”,
“FromPort”: “53”,
“ToPort”: “53”,
“CidrIp”: “10.0.0.0/19”
}
},
“ingress6”: {
“Type”: “AWS::EC2::SecurityGroupIngress”,
“Properties”: {
“GroupId”: {
“Ref”: “sgNLWADDSADStack1PE7S1JRDLN1IDomainMemberSG1VOBH4F6OC8GY”
},
“IpProtocol”: “udp”,
“FromPort”: “53”,
“ToPort”: “53”,
“CidrIp”: “10.0.32.0/19”
}
},
“ingress7”: {
“Type”: “AWS::EC2::SecurityGroupIngress”,
“Properties”: {
“GroupId”: {
“Ref”: “sgNLWADDSADStack1PE7S1JRDLN1IDomainMemberSG1VOBH4F6OC8GY”
},
“IpProtocol”: “tcp”,
“FromPort”: “53”,
“ToPort”: “53”,
“CidrIp”: “10.0.32.0/19”
}
},
“ingress8”: {
“Type”: “AWS::EC2::SecurityGroupIngress”,
“Properties”: {
“GroupId”: {
“Ref”: “sgNLWADDSADStack1PE7S1JRDLN1IDomainMemberSG1VOBH4F6OC8GY”
},
“IpProtocol”: “tcp”,
“FromPort”: “53”,
“ToPort”: “53”,
“CidrIp”: “10.0.0.0/19”
}
},
“ingress9”: {
“Type”: “AWS::EC2::SecurityGroupIngress”,
“Properties”: {
“GroupId”: {
“Ref”: “sgNLWADDSADStack1PE7S1JRDLN1IDomainMemberSG1VOBH4F6OC8GY”
},
“IpProtocol”: “tcp”,
“FromPort”: “3389”,
“ToPort”: “3389”,
“CidrIp”: “10.0.144.0/20”
}
},
“ingress10”: {
“Type”: “AWS::EC2::SecurityGroupIngress”,
“Properties”: {
“GroupId”: {
“Ref”: “sgNLWADDSADStack1PE7S1JRDLN1IDomainMemberSG1VOBH4F6OC8GY”
},
“IpProtocol”: “tcp”,
“FromPort”: “3389”,
“ToPort”: “3389”,
“CidrIp”: “10.0.128.0/20”
}
},
“ingress11”: {
“Type”: “AWS::EC2::SecurityGroupIngress”,
“Properties”: {
“GroupId”: {
“Ref”: “sgNLWADDSADStack1PE7S1JRDLN1IDomainMemberSG1VOBH4F6OC8GY”
},
“IpProtocol”: “tcp”,
“FromPort”: “5985”,
“ToPort”: “5985”,
“CidrIp”: “10.0.32.0/19”
}
},
“ingress12”: {
“Type”: “AWS::EC2::SecurityGroupIngress”,
“Properties”: {
“GroupId”: {
“Ref”: “sgNLWADDSADStack1PE7S1JRDLN1IDomainMemberSG1VOBH4F6OC8GY”
},
“IpProtocol”: “tcp”,
“FromPort”: “5985”,
“ToPort”: “5985”,
“CidrIp”: “10.0.0.0/19”
}
},
“ingress13”: {
“Type”: “AWS::EC2::SecurityGroupIngress”,
“Properties”: {
“GroupId”: {
“Ref”: “sgNLWADDSRDGWStackWYQDX8Y8FKKURemoteDesktopGatewaySGXAYE6ULGKKNL”
},
“IpProtocol”: “tcp”,
“FromPort”: “3389”,
“ToPort”: “3389”,
“CidrIp”: “10.0.0.0/16”
}
},
“ingress14”: {
“Type”: “AWS::EC2::SecurityGroupIngress”,
“Properties”: {
“GroupId”: {
“Ref”: “sgNLWADDSRDGWStackWYQDX8Y8FKKURemoteDesktopGatewaySGXAYE6ULGKKNL”
},
“IpProtocol”: “icmp”,
“FromPort”: “-1”,
“ToPort”: “-1”,
“CidrIp”: “10.0.0.0/16”
}
},
“ingress15”: {
“Type”: “AWS::EC2::SecurityGroupIngress”,
“Properties”: {
“GroupId”: {
“Ref”: “sgnlwcloudformerWebServerSecurityGroup9PHSZQNUV259”
},
“IpProtocol”: “tcp”,
“FromPort”: “443”,
“ToPort”: “443”,
“CidrIp”: “122.57.126.100/32”
}
},
“egress1”: {
“Type”: “AWS::EC2::SecurityGroupEgress”,
“Properties”: {
“GroupId”: {
“Ref”: “sgNLWADDSADStack1PE7S1JRDLN1IDomainMemberSG1VOBH4F6OC8GY”
},
“IpProtocol”: “-1”,
“CidrIp”: “0.0.0.0/0”
}
},
“egress2”: {
“Type”: “AWS::EC2::SecurityGroupEgress”,
“Properties”: {
“GroupId”: {
“Ref”: “sgNLWADDSRDGWStackWYQDX8Y8FKKURemoteDesktopGatewaySGXAYE6ULGKKNL”
},
“IpProtocol”: “-1”,
“CidrIp”: “0.0.0.0/0”
}
},
“egress3”: {
“Type”: “AWS::EC2::SecurityGroupEgress”,
“Properties”: {
“GroupId”: {
“Ref”: “sgnlwcloudformerWebServerSecurityGroup9PHSZQNUV259”
},
“IpProtocol”: “-1”,
“CidrIp”: “0.0.0.0/0”
}
}
},
“Description”: “AD-DS Template for NET702”
}

 

Post Author: Techdox

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.