Commit bb379308 by Feanil Patel

Merge pull request #142 from edx/feanil/cloudformation_updates

Feanil/cloudformation updates
parents 35a2b834 470dd4aa
...@@ -2181,19 +2181,19 @@ ...@@ -2181,19 +2181,19 @@
} }
], ],
"HealthCheck":{ "HealthCheck":{
"Target":"TCP:22", "Target":"HTTP:80/xqueue/status",
"HealthyThreshold":"3", "HealthyThreshold":"3",
"UnhealthyThreshold":"5", "UnhealthyThreshold":"5",
"Interval":"30", "Interval":"30",
"Timeout":"5" "Timeout":"5"
}, },
"Subnets":[ "Subnets":[
{ {
"Ref":"XqueueSubnet01" "Ref":"PublicSubnet01"
}, },
{ {
"Ref":"XqueueSubnet02" "Ref":"PublicSubnet02"
} }
] ]
} }
}, },
...@@ -2255,6 +2255,12 @@ ...@@ -2255,6 +2255,12 @@
"FromPort":"80", "FromPort":"80",
"ToPort":"80", "ToPort":"80",
"CidrIp":"0.0.0.0/0" "CidrIp":"0.0.0.0/0"
},
{
"IpProtocol":"tcp",
"FromPort":"443",
"ToPort":"443",
"CidrIp":"0.0.0.0/0"
} }
] ]
} }
...@@ -2558,7 +2564,7 @@ ...@@ -2558,7 +2564,7 @@
} }
], ],
"HealthCheck":{ "HealthCheck":{
"Target":"TCP:22", "Target":"TCP:5672",
"HealthyThreshold":"3", "HealthyThreshold":"3",
"UnhealthyThreshold":"5", "UnhealthyThreshold":"5",
"Interval":"30", "Interval":"30",
...@@ -2643,14 +2649,28 @@ ...@@ -2643,14 +2649,28 @@
}, },
{ {
"IpProtocol":"tcp", "IpProtocol":"tcp",
"FromPort":"0", "FromPort":"5672",
"ToPort":"65535", "ToPort":"5672",
"SourceSecurityGroupId" : { "SourceSecurityGroupId" : {
"Ref" : "RabbitMQServerSecurityGroup" "Ref" : "XqueueServerSecurityGroup"
} }
}, },
{ {
"IpProtocol":"tcp", "IpProtocol":"tcp",
"FromPort":"6163",
"ToPort":"6163",
"SourceSecurityGroupId" : {
"Ref" : "XqueueServerSecurityGroup"
}
},
{
"IpProtocol":"tcp",
"FromPort":"0",
"ToPort":"65535",
"CidrIp":"10.0.0.0/16"
},
{
"IpProtocol":"tcp",
"FromPort":"15672", "FromPort":"15672",
"ToPort":"15672", "ToPort":"15672",
"SourceSecurityGroupId" : { "SourceSecurityGroupId" : {
......
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