Commit 12763abd by e0d

Merge pull request #694 from edx/e0d/forums-fixes

Port fixes, removing hard codes.
parents 0280445e a33f00d8
......@@ -227,7 +227,7 @@
"ForumServerPort":{
"Description":"The TCP port for the Forum Server",
"Type":"Number",
"Default":"4567"
"Default":"18080"
},
"CacheNodePort":{
"Description":"The TCP port for the nodes in the Elasticache cluster",
......@@ -5174,13 +5174,6 @@
],
"Listeners":[
{
"LoadBalancerPort":"80",
"InstancePort":{
"Ref":"ForumServerPort"
},
"Protocol":"HTTP"
},
{
"LoadBalancerPort":"443",
"InstancePort":{
"Ref":"ForumServerPort"
......@@ -5193,7 +5186,12 @@
}
],
"HealthCheck":{
"Target":"TCP:80",
"Target":{"Fn::Join":["",
["TCP:",
{"Ref":"ForumServerPort"}
]
]
},
"HealthyThreshold":"3",
"UnhealthyThreshold":"5",
"Interval":"30",
......@@ -5212,19 +5210,13 @@
"ForumELBSecurityGroup":{
"Type":"AWS::EC2::SecurityGroup",
"Properties":{
"GroupDescription":"Enable HTTP access on port 80",
"GroupDescription":"Enable HTTPS access",
"VpcId":{
"Ref":"EdxVPC"
},
"SecurityGroupIngress":[
{
"IpProtocol":"tcp",
"FromPort":"80",
"ToPort":"80",
"CidrIp":"0.0.0.0/0"
},
{
"IpProtocol":"tcp",
"FromPort":"443",
"ToPort":"443",
"CidrIp":"0.0.0.0/0"
......@@ -5260,7 +5252,9 @@
"IpProtocol":"tcp",
"FromPort": { "Ref": "ForumServerPort" },
"ToPort": { "Ref": "ForumServerPort" },
"CidrIp":"0.0.0.0/0"
"SourceSecurityGroupId" : {
"Ref" : "ForumELBSecurityGroup"
}
}
]
}
......
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