Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
e559a000
Commit
e559a000
authored
Mar 14, 2014
by
Feanil Patel
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #877 from edx/feanil/cfn_xserver
Feanil/cfn xserver
parents
164b65d0
8d4b9bb8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
51 additions
and
38 deletions
+51
-38
cloudformation_templates/edx-reference-architecture.json
+51
-38
No files found.
cloudformation_templates/edx-reference-architecture.json
View file @
e559a000
...
...
@@ -2918,7 +2918,9 @@
"s3:Put"
,
"ses:SendEmail"
,
"ses:SendRawEmail"
,
"ses:GetSendQuota"
"ses:GetSendQuota"
,
"ec2:DescribeInstances"
,
"ec2:DescribeTags"
],
"Resource"
:
"*"
}
...
...
@@ -3045,7 +3047,7 @@
]
}
},
"EdxappServerA
S
Group"
:{
"EdxappServerA
s
Group"
:{
"Type"
:
"AWS::AutoScaling::AutoScalingGroup"
,
"Properties"
:{
"AvailabilityZones"
:[
...
...
@@ -3082,6 +3084,11 @@
"PropagateAtLaunch"
:
true
},
{
"Key"
:
"services"
,
"Value"
:
"edxapp,lms,cms"
,
"PropagateAtLaunch"
:
true
},
{
"Key"
:
"environment"
,
"Value"
:{
"Ref"
:
"EnvironmentTag"
...
...
@@ -3120,7 +3127,7 @@
"Properties"
:{
"AdjustmentType"
:
"ChangeInCapacity"
,
"AutoScalingGroupName"
:{
"Ref"
:
"EdxappServerA
S
Group"
"Ref"
:
"EdxappServerA
s
Group"
},
"Cooldown"
:
"60"
,
"ScalingAdjustment"
:
"1"
...
...
@@ -3131,7 +3138,7 @@
"Properties"
:{
"AdjustmentType"
:
"ChangeInCapacity"
,
"AutoScalingGroupName"
:{
"Ref"
:
"EdxappServerA
S
Group"
"Ref"
:
"EdxappServerA
s
Group"
},
"Cooldown"
:
"60"
,
"ScalingAdjustment"
:
"-1"
...
...
@@ -3156,7 +3163,7 @@
{
"Name"
:
"AutoScalingGroupName"
,
"Value"
:{
"Ref"
:
"EdxappServerA
S
Group"
"Ref"
:
"EdxappServerA
s
Group"
}
}
],
...
...
@@ -3182,7 +3189,7 @@
{
"Name"
:
"AutoScalingGroupName"
,
"Value"
:{
"Ref"
:
"EdxappServerA
S
Group"
"Ref"
:
"EdxappServerA
s
Group"
}
}
],
...
...
@@ -3368,7 +3375,7 @@
]
}
},
"XqueueServerA
S
Group"
:{
"XqueueServerA
s
Group"
:{
"Type"
:
"AWS::AutoScaling::AutoScalingGroup"
,
"Properties"
:{
"AvailabilityZones"
:[
...
...
@@ -3443,7 +3450,7 @@
"Properties"
:{
"AdjustmentType"
:
"ChangeInCapacity"
,
"AutoScalingGroupName"
:{
"Ref"
:
"XqueueServerA
S
Group"
"Ref"
:
"XqueueServerA
s
Group"
},
"Cooldown"
:
"60"
,
"ScalingAdjustment"
:
"1"
...
...
@@ -3454,7 +3461,7 @@
"Properties"
:{
"AdjustmentType"
:
"ChangeInCapacity"
,
"AutoScalingGroupName"
:{
"Ref"
:
"XqueueServerA
S
Group"
"Ref"
:
"XqueueServerA
s
Group"
},
"Cooldown"
:
"60"
,
"ScalingAdjustment"
:
"-1"
...
...
@@ -3479,7 +3486,7 @@
{
"Name"
:
"AutoScalingGroupName"
,
"Value"
:{
"Ref"
:
"XqueueServerA
S
Group"
"Ref"
:
"XqueueServerA
s
Group"
}
}
],
...
...
@@ -3505,7 +3512,7 @@
{
"Name"
:
"AutoScalingGroupName"
,
"Value"
:{
"Ref"
:
"XqueueServerA
S
Group"
"Ref"
:
"XqueueServerA
s
Group"
}
}
],
...
...
@@ -3677,7 +3684,7 @@
]
}
},
"CommonClusterServerA
S
Group"
:{
"CommonClusterServerA
s
Group"
:{
"Type"
:
"AWS::AutoScaling::AutoScalingGroup"
,
"Properties"
:{
"AvailabilityZones"
:[
...
...
@@ -3774,7 +3781,7 @@
{
"Name"
:
"AutoScalingGroupName"
,
"Value"
:{
"Ref"
:
"CommonClusterServerA
S
Group"
"Ref"
:
"CommonClusterServerA
s
Group"
}
}
],
...
...
@@ -3796,7 +3803,7 @@
{
"Name"
:
"AutoScalingGroupName"
,
"Value"
:{
"Ref"
:
"CommonClusterServerA
S
Group"
"Ref"
:
"CommonClusterServerA
s
Group"
}
}
],
...
...
@@ -4207,13 +4214,13 @@
]
}
},
"XServer"
:{
"X
server
Server"
:{
"Type"
:
"AWS::AutoScaling::LaunchConfiguration"
,
"Properties"
:{
"IamInstanceProfile"
:{
"Ref"
:
"XServerInstanceProfile"
},
"SecurityGroups"
:[
{
"Ref"
:
"XServerSecurityGroup"
"Ref"
:
"X
server
ServerSecurityGroup"
}
],
"ImageId"
:{
...
...
@@ -4249,7 +4256,7 @@
]
}
},
"X
ServerAS
Group"
:{
"X
serverServerAs
Group"
:{
"Type"
:
"AWS::AutoScaling::AutoScalingGroup"
,
"Properties"
:{
"AvailabilityZones"
:[
...
...
@@ -4301,7 +4308,7 @@
}
],
"LaunchConfigurationName"
:{
"Ref"
:
"XServer"
"Ref"
:
"X
server
Server"
},
"MinSize"
:{
"Ref"
:
"XServerDesiredCapacity"
...
...
@@ -4319,23 +4326,23 @@
]
}
},
"XServerScaleUpPolicy"
:{
"X
server
ServerScaleUpPolicy"
:{
"Type"
:
"AWS::AutoScaling::ScalingPolicy"
,
"Properties"
:{
"AdjustmentType"
:
"ChangeInCapacity"
,
"AutoScalingGroupName"
:{
"Ref"
:
"X
ServerAS
Group"
"Ref"
:
"X
serverServerAs
Group"
},
"Cooldown"
:
"60"
,
"ScalingAdjustment"
:
"1"
}
},
"XServerScaleDownPolicy"
:{
"X
server
ServerScaleDownPolicy"
:{
"Type"
:
"AWS::AutoScaling::ScalingPolicy"
,
"Properties"
:{
"AdjustmentType"
:
"ChangeInCapacity"
,
"AutoScalingGroupName"
:{
"Ref"
:
"X
ServerAS
Group"
"Ref"
:
"X
serverServerAs
Group"
},
"Cooldown"
:
"60"
,
"ScalingAdjustment"
:
"-1"
...
...
@@ -4353,14 +4360,14 @@
"Threshold"
:
"90"
,
"AlarmActions"
:[
{
"Ref"
:
"XServerScaleUpPolicy"
"Ref"
:
"X
server
ServerScaleUpPolicy"
}
],
"Dimensions"
:[
{
"Name"
:
"AutoScalingGroupName"
,
"Value"
:{
"Ref"
:
"X
ServerAS
Group"
"Ref"
:
"X
serverServerAs
Group"
}
}
],
...
...
@@ -4379,14 +4386,14 @@
"Threshold"
:
"70"
,
"AlarmActions"
:[
{
"Ref"
:
"XServerScaleDownPolicy"
"Ref"
:
"X
server
ServerScaleDownPolicy"
}
],
"Dimensions"
:[
{
"Name"
:
"AutoScalingGroupName"
,
"Value"
:{
"Ref"
:
"X
ServerAS
Group"
"Ref"
:
"X
serverServerAs
Group"
}
}
],
...
...
@@ -4463,7 +4470,7 @@
]
}
},
"XServerSecurityGroup"
:{
"X
server
ServerSecurityGroup"
:{
"Type"
:
"AWS::EC2::SecurityGroup"
,
"Properties"
:{
"GroupDescription"
:
"Open up SSH access plus XServer required ports"
,
...
...
@@ -4640,6 +4647,7 @@
"WorkerServer"
:{
"Type"
:
"AWS::AutoScaling::LaunchConfiguration"
,
"Properties"
:{
"IamInstanceProfile"
:{
"Ref"
:
"EdxappInstanceProfile"
},
"SecurityGroups"
:[
{
"Ref"
:
"WorkerServerSecurityGroup"
...
...
@@ -4678,7 +4686,7 @@
]
}
},
"WorkerServerA
S
Group"
:{
"WorkerServerA
s
Group"
:{
"Type"
:
"AWS::AutoScaling::AutoScalingGroup"
,
"Properties"
:{
"AvailabilityZones"
:[
...
...
@@ -4715,6 +4723,11 @@
"PropagateAtLaunch"
:
true
},
{
"Key"
:
"services"
,
"Value"
:
"worker"
,
"PropagateAtLaunch"
:
true
},
{
"Key"
:
"environment"
,
"Value"
:{
"Ref"
:
"EnvironmentTag"
...
...
@@ -4748,7 +4761,7 @@
"Properties"
:{
"AdjustmentType"
:
"ChangeInCapacity"
,
"AutoScalingGroupName"
:{
"Ref"
:
"WorkerServerA
S
Group"
"Ref"
:
"WorkerServerA
s
Group"
},
"Cooldown"
:
"60"
,
"ScalingAdjustment"
:
"1"
...
...
@@ -4759,7 +4772,7 @@
"Properties"
:{
"AdjustmentType"
:
"ChangeInCapacity"
,
"AutoScalingGroupName"
:{
"Ref"
:
"WorkerServerA
S
Group"
"Ref"
:
"WorkerServerA
s
Group"
},
"Cooldown"
:
"60"
,
"ScalingAdjustment"
:
"-1"
...
...
@@ -4784,7 +4797,7 @@
{
"Name"
:
"AutoScalingGroupName"
,
"Value"
:{
"Ref"
:
"WorkerServerA
S
Group"
"Ref"
:
"WorkerServerA
s
Group"
}
}
],
...
...
@@ -4810,7 +4823,7 @@
{
"Name"
:
"AutoScalingGroupName"
,
"Value"
:{
"Ref"
:
"WorkerServerA
S
Group"
"Ref"
:
"WorkerServerA
s
Group"
}
}
],
...
...
@@ -4895,7 +4908,7 @@
]
}
},
"ForumServerA
S
Group"
:{
"ForumServerA
s
Group"
:{
"Type"
:
"AWS::AutoScaling::AutoScalingGroup"
,
"Properties"
:{
"AvailabilityZones"
:[
...
...
@@ -4970,7 +4983,7 @@
"Properties"
:{
"AdjustmentType"
:
"ChangeInCapacity"
,
"AutoScalingGroupName"
:{
"Ref"
:
"ForumServerA
S
Group"
"Ref"
:
"ForumServerA
s
Group"
},
"Cooldown"
:
"60"
,
"ScalingAdjustment"
:
"1"
...
...
@@ -4981,7 +4994,7 @@
"Properties"
:{
"AdjustmentType"
:
"ChangeInCapacity"
,
"AutoScalingGroupName"
:{
"Ref"
:
"ForumServerA
S
Group"
"Ref"
:
"ForumServerA
s
Group"
},
"Cooldown"
:
"60"
,
"ScalingAdjustment"
:
"-1"
...
...
@@ -5006,7 +5019,7 @@
{
"Name"
:
"AutoScalingGroupName"
,
"Value"
:{
"Ref"
:
"ForumServerA
S
Group"
"Ref"
:
"ForumServerA
s
Group"
}
}
],
...
...
@@ -5032,7 +5045,7 @@
{
"Name"
:
"AutoScalingGroupName"
,
"Value"
:{
"Ref"
:
"ForumServerA
S
Group"
"Ref"
:
"ForumServerA
s
Group"
}
}
],
...
...
@@ -5286,7 +5299,7 @@
]
}
},
"MongoServerA
S
Group"
:{
"MongoServerA
s
Group"
:{
"Type"
:
"AWS::AutoScaling::AutoScalingGroup"
,
"Properties"
:{
"AvailabilityZones"
:[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment