-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcf-tamplate
81 lines (81 loc) · 1.77 KB
/
cf-tamplate
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"AWSTemplateFormatVersion": "2010-09-09",
"Metadata": {
"AWS::CloudFormation::Designer": {
"bced0f6e-d335-4b7a-ba55-530e91405457": {
"size": {
"width": 60,
"height": 60
},
"position": {
"x": 270,
"y": 160
},
"z": 0,
"embeds": [],
"ismemberof": [
"31094bdf-4f13-4184-8642-4bd77ea00768"
]
},
"31094bdf-4f13-4184-8642-4bd77ea00768": {
"size": {
"width": 60,
"height": 60
},
"position": {
"x": 370,
"y": 160
},
"z": 0,
"embeds": []
},
"d6220eeb-075b-4d26-af76-ed21b8c502bc": {
"source": {
"id": "bced0f6e-d335-4b7a-ba55-530e91405457"
},
"target": {
"id": "31094bdf-4f13-4184-8642-4bd77ea00768"
},
"z": 1
}
}
},
"Resources": {
"EC2IGF91": {
"Type": "AWS::EC2::Instance",
"Properties": {
"ImageId": "ami-43949554",
"InstanceType": "g2.2xlarge",
"SecurityGroupIds": [
{
"Ref": "EC2SG22SB5"
}
]
},
"Metadata": {
"AWS::CloudFormation::Designer": {
"id": "bced0f6e-d335-4b7a-ba55-530e91405457"
}
}
},
"EC2SG22SB5": {
"Type": "AWS::EC2::SecurityGroup",
"Properties": {
"GroupDescription": "Allow ssh",
"SecurityGroupIngress": [
{
"IpProtocol": "tcp",
"FromPort": "22",
"ToPort": "22",
"CidrIp": "0.0.0.0/0"
}
]
},
"Metadata": {
"AWS::CloudFormation::Designer": {
"id": "31094bdf-4f13-4184-8642-4bd77ea00768"
}
}
}
}
}