Commit 2ab4a2d0 by Feanil Patel

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

parent 7880fc4f
......@@ -3262,6 +3262,27 @@
},
"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 @@
"ToPort": { "Ref": "XqueueServerPort" },
"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 @@
"FromPort":"5672",
"ToPort":"5672",
"SourceSecurityGroupId" : {
"Ref" : "RabbitMQELBSecurityGroup"
}
"Ref" : "RabbitMQELBSecurityGroup"
}
},
{
"IpProtocol":"tcp",
"FromPort":"6163",
"ToPort":"6163",
"SourceSecurityGroupId" : {
"Ref" : "RabbitMQELBSecurityGroup"
}
"Ref" : "RabbitMQELBSecurityGroup"
}
},
{
"IpProtocol":"tcp",
"FromPort":"5672",
"ToPort":"5672",
"SourceSecurityGroupId" : {
"Ref" : "XqueueServerSecurityGroup"
}
"Ref" : "XqueueServerSecurityGroup"
}
},
{
"IpProtocol":"tcp",
"FromPort":"6163",
"ToPort":"6163",
"SourceSecurityGroupId" : {
"Ref" : "XqueueServerSecurityGroup"
}
"Ref" : "XqueueServerSecurityGroup"
}
},
{
"IpProtocol":"tcp",
......@@ -3963,8 +4005,29 @@
"FromPort":"15672",
"ToPort":"15672",
"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 @@
"XServer":{
"Type":"AWS::AutoScaling::LaunchConfiguration",
"Properties":{
"IamInstanceProfile":{ "Ref":"XServerInstanceProfile" },
"IamInstanceProfile":{ "Ref":"XServerInstanceProfile" },
"SecurityGroups":[
{
"Ref":"XServerSecurityGroup"
......@@ -4290,8 +4353,29 @@
"FromPort":"80",
"ToPort":"80",
"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 @@
"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 @@
"FromPort": { "Ref": "ForumServerPort" },
"ToPort": { "Ref": "ForumServerPort" },
"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 @@
]
}
}
],
"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