Commit 2ab4a2d0 by Feanil Patel

Add tags to server security groups so abbey can find them easily.

parent 7880fc4f
...@@ -3262,6 +3262,27 @@ ...@@ -3262,6 +3262,27 @@
}, },
"CidrIp":"0.0.0.0/0" "CidrIp":"0.0.0.0/0"
} }
],
"Tags":[
{
"Key":"play",
"Value":"edxapp",
"PropagateAtLaunch":true
},
{
"Key":"environment",
"Value":{
"Ref":"EnvironmentTag"
},
"PropagateAtLaunch":true
},
{
"Key":"deployment",
"Value":{
"Ref":"DeploymentTag"
},
"PropagateAtLaunch":true
}
] ]
} }
}, },
...@@ -3597,6 +3618,27 @@ ...@@ -3597,6 +3618,27 @@
"ToPort": { "Ref": "XqueueServerPort" }, "ToPort": { "Ref": "XqueueServerPort" },
"CidrIp":"0.0.0.0/0" "CidrIp":"0.0.0.0/0"
} }
],
"Tags":[
{
"Key":"play",
"Value":"xqueue",
"PropagateAtLaunch":true
},
{
"Key":"environment",
"Value":{
"Ref":"EnvironmentTag"
},
"PropagateAtLaunch":true
},
{
"Key":"deployment",
"Value":{
"Ref":"DeploymentTag"
},
"PropagateAtLaunch":true
}
] ]
} }
}, },
...@@ -3925,32 +3967,32 @@ ...@@ -3925,32 +3967,32 @@
"FromPort":"5672", "FromPort":"5672",
"ToPort":"5672", "ToPort":"5672",
"SourceSecurityGroupId" : { "SourceSecurityGroupId" : {
"Ref" : "RabbitMQELBSecurityGroup" "Ref" : "RabbitMQELBSecurityGroup"
} }
}, },
{ {
"IpProtocol":"tcp", "IpProtocol":"tcp",
"FromPort":"6163", "FromPort":"6163",
"ToPort":"6163", "ToPort":"6163",
"SourceSecurityGroupId" : { "SourceSecurityGroupId" : {
"Ref" : "RabbitMQELBSecurityGroup" "Ref" : "RabbitMQELBSecurityGroup"
} }
}, },
{ {
"IpProtocol":"tcp", "IpProtocol":"tcp",
"FromPort":"5672", "FromPort":"5672",
"ToPort":"5672", "ToPort":"5672",
"SourceSecurityGroupId" : { "SourceSecurityGroupId" : {
"Ref" : "XqueueServerSecurityGroup" "Ref" : "XqueueServerSecurityGroup"
} }
}, },
{ {
"IpProtocol":"tcp", "IpProtocol":"tcp",
"FromPort":"6163", "FromPort":"6163",
"ToPort":"6163", "ToPort":"6163",
"SourceSecurityGroupId" : { "SourceSecurityGroupId" : {
"Ref" : "XqueueServerSecurityGroup" "Ref" : "XqueueServerSecurityGroup"
} }
}, },
{ {
"IpProtocol":"tcp", "IpProtocol":"tcp",
...@@ -3963,8 +4005,29 @@ ...@@ -3963,8 +4005,29 @@
"FromPort":"15672", "FromPort":"15672",
"ToPort":"15672", "ToPort":"15672",
"SourceSecurityGroupId" : { "SourceSecurityGroupId" : {
"Ref" : "BastionSecurityGroup" "Ref" : "BastionSecurityGroup"
} }
}
],
"Tags":[
{
"Key":"play",
"Value":"rabbitmq",
"PropagateAtLaunch":true
},
{
"Key":"environment",
"Value":{
"Ref":"EnvironmentTag"
},
"PropagateAtLaunch":true
},
{
"Key":"deployment",
"Value":{
"Ref":"DeploymentTag"
},
"PropagateAtLaunch":true
} }
] ]
} }
...@@ -3985,7 +4048,7 @@ ...@@ -3985,7 +4048,7 @@
"XServer":{ "XServer":{
"Type":"AWS::AutoScaling::LaunchConfiguration", "Type":"AWS::AutoScaling::LaunchConfiguration",
"Properties":{ "Properties":{
"IamInstanceProfile":{ "Ref":"XServerInstanceProfile" }, "IamInstanceProfile":{ "Ref":"XServerInstanceProfile" },
"SecurityGroups":[ "SecurityGroups":[
{ {
"Ref":"XServerSecurityGroup" "Ref":"XServerSecurityGroup"
...@@ -4290,8 +4353,29 @@ ...@@ -4290,8 +4353,29 @@
"FromPort":"80", "FromPort":"80",
"ToPort":"80", "ToPort":"80",
"SourceSecurityGroupId" : { "SourceSecurityGroupId" : {
"Ref" : "XServerELBSecurityGroup" "Ref" : "XServerELBSecurityGroup"
} }
}
],
"Tags":[
{
"Key":"play",
"Value":"xserver",
"PropagateAtLaunch":true
},
{
"Key":"environment",
"Value":{
"Ref":"EnvironmentTag"
},
"PropagateAtLaunch":true
},
{
"Key":"deployment",
"Value":{
"Ref":"DeploymentTag"
},
"PropagateAtLaunch":true
} }
] ]
} }
...@@ -4675,6 +4759,27 @@ ...@@ -4675,6 +4759,27 @@
"Ref":"SSHLocation" "Ref":"SSHLocation"
} }
} }
],
"Tags":[
{
"Key":"play",
"Value":"worker",
"PropagateAtLaunch":true
},
{
"Key":"environment",
"Value":{
"Ref":"EnvironmentTag"
},
"PropagateAtLaunch":true
},
{
"Key":"deployment",
"Value":{
"Ref":"DeploymentTag"
},
"PropagateAtLaunch":true
}
] ]
} }
}, },
...@@ -5263,8 +5368,29 @@ ...@@ -5263,8 +5368,29 @@
"FromPort": { "Ref": "ForumServerPort" }, "FromPort": { "Ref": "ForumServerPort" },
"ToPort": { "Ref": "ForumServerPort" }, "ToPort": { "Ref": "ForumServerPort" },
"SourceSecurityGroupId" : { "SourceSecurityGroupId" : {
"Ref" : "ForumELBSecurityGroup" "Ref" : "ForumELBSecurityGroup"
} }
}
],
"Tags":[
{
"Key":"play",
"Value":"forum",
"PropagateAtLaunch":true
},
{
"Key":"environment",
"Value":{
"Ref":"EnvironmentTag"
},
"PropagateAtLaunch":true
},
{
"Key":"deployment",
"Value":{
"Ref":"DeploymentTag"
},
"PropagateAtLaunch":true
} }
] ]
} }
...@@ -5609,6 +5735,27 @@ ...@@ -5609,6 +5735,27 @@
] ]
} }
} }
],
"Tags":[
{
"Key":"play",
"Value":"mongo",
"PropagateAtLaunch":true
},
{
"Key":"environment",
"Value":{
"Ref":"EnvironmentTag"
},
"PropagateAtLaunch":true
},
{
"Key":"deployment",
"Value":{
"Ref":"DeploymentTag"
},
"PropagateAtLaunch":true
}
] ]
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment