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
OpenEdx
configuration
Commits
3b571a56
Commit
3b571a56
authored
May 09, 2013
by
e0d
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
numerous improvements
parent
1f20196d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
21 deletions
+37
-21
cloudformation_templates/edx-reference-architecture.json
+37
-21
No files found.
cloudformation_templates/edx-reference-architecture.json
View file @
3b571a56
...
@@ -47,7 +47,12 @@
...
@@ -47,7 +47,12 @@
"WebServerPort"
:{
"WebServerPort"
:{
"Description"
:
"The TCP port for the Web Server"
,
"Description"
:
"The TCP port for the Web Server"
,
"Type"
:
"Number"
,
"Type"
:
"Number"
,
"Default"
:
"8888"
"Default"
:
"80"
},
"CacheNodePort"
:{
"Description"
:
"The TCP port for the nodes in the Elasticache cluster"
,
"Type"
:
"Number"
,
"Default"
:
"11211"
},
},
"BastionInstanceType"
:{
"BastionInstanceType"
:{
"Description"
:
"Bastion Host EC2 instance type"
,
"Description"
:
"Bastion Host EC2 instance type"
,
...
@@ -1571,6 +1576,10 @@
...
@@ -1571,6 +1576,10 @@
"'
\n
"
,
"'
\n
"
,
" exit 1
\n
"
,
" exit 1
\n
"
,
"}
\n
"
,
"}
\n
"
,
"for dev in /dev/xvdc /dev/xvdd; do sudo echo w | fdisk $dev; sudo mkfs -t ext4 $dev;done;
\n
"
,
"sudo mkdir /mnt/logs
\n
"
,
"sudo mount /dev/xvdc /mnt/logs
\n
"
,
"sudo mount /dev/xvdd /opt
\n
"
,
"apt-get -y update
\n
"
,
"apt-get -y update
\n
"
,
"apt-get -y install python-setuptools
\n
"
,
"apt-get -y install python-setuptools
\n
"
,
"echo
\"
Python Tools installed
\"
- `date` >> /home/ubuntu/cflog.txt
\n
"
,
"echo
\"
Python Tools installed
\"
- `date` >> /home/ubuntu/cflog.txt
\n
"
,
...
@@ -1616,13 +1625,13 @@
...
@@ -1616,13 +1625,13 @@
},
},
"BlockDeviceMappings"
:[
"BlockDeviceMappings"
:[
{
{
"DeviceName"
:
"/dev/xvd
b
"
,
"DeviceName"
:
"/dev/xvd
c
"
,
"Ebs"
:{
"Ebs"
:{
"VolumeSize"
:
"50"
"VolumeSize"
:
"50"
}
}
},
},
{
{
"DeviceName"
:
"/dev/xvd
c
"
,
"DeviceName"
:
"/dev/xvd
d
"
,
"Ebs"
:{
"Ebs"
:{
"VolumeSize"
:
"50"
"VolumeSize"
:
"50"
}
}
...
@@ -1785,6 +1794,9 @@
...
@@ -1785,6 +1794,9 @@
"Subnets"
:[
"Subnets"
:[
{
{
"Ref"
:
"PublicSubnet01"
"Ref"
:
"PublicSubnet01"
},
{
"Ref"
:
"PublicSubnet02"
}
}
]
]
}
}
...
@@ -1992,13 +2004,13 @@
...
@@ -1992,13 +2004,13 @@
},
},
"BlockDeviceMappings"
:[
"BlockDeviceMappings"
:[
{
{
"DeviceName"
:
"/dev/xvd
b
"
,
"DeviceName"
:
"/dev/xvd
c
"
,
"Ebs"
:{
"Ebs"
:{
"VolumeSize"
:
"50"
"VolumeSize"
:
"50"
}
}
},
},
{
{
"DeviceName"
:
"/dev/xvd
c
"
,
"DeviceName"
:
"/dev/xvd
d
"
,
"Ebs"
:{
"Ebs"
:{
"VolumeSize"
:
"50"
"VolumeSize"
:
"50"
}
}
...
@@ -2162,9 +2174,12 @@
...
@@ -2162,9 +2174,12 @@
"Timeout"
:
"5"
"Timeout"
:
"5"
},
},
"Subnets"
:[
"Subnets"
:[
{
{
"Ref"
:
"PublicSubnet01"
"Ref"
:
"XqueueSubnet01"
}
},
{
"Ref"
:
"XqueueSubnet02"
}
]
]
}
}
},
},
...
@@ -2365,13 +2380,13 @@
...
@@ -2365,13 +2380,13 @@
},
},
"BlockDeviceMappings"
:[
"BlockDeviceMappings"
:[
{
{
"DeviceName"
:
"/dev/xvd
b
"
,
"DeviceName"
:
"/dev/xvd
c
"
,
"Ebs"
:{
"Ebs"
:{
"VolumeSize"
:
"50"
"VolumeSize"
:
"50"
}
}
},
},
{
{
"DeviceName"
:
"/dev/xvd
c
"
,
"DeviceName"
:
"/dev/xvd
d
"
,
"Ebs"
:{
"Ebs"
:{
"VolumeSize"
:
"50"
"VolumeSize"
:
"50"
}
}
...
@@ -2537,10 +2552,10 @@
...
@@ -2537,10 +2552,10 @@
},
},
"Subnets"
:[
"Subnets"
:[
{
{
"Ref"
:
"
Public
Subnet01"
"Ref"
:
"
Rabbit
Subnet01"
},
},
{
{
"Ref"
:
"
Public
Subnet02"
"Ref"
:
"
Rabbit
Subnet02"
}
}
]
]
}
}
...
@@ -2750,13 +2765,13 @@
...
@@ -2750,13 +2765,13 @@
},
},
"BlockDeviceMappings"
:[
"BlockDeviceMappings"
:[
{
{
"DeviceName"
:
"/dev/xvd
b
"
,
"DeviceName"
:
"/dev/xvd
c
"
,
"Ebs"
:{
"Ebs"
:{
"VolumeSize"
:
"50"
"VolumeSize"
:
"50"
}
}
},
},
{
{
"DeviceName"
:
"/dev/xvd
c
"
,
"DeviceName"
:
"/dev/xvd
d
"
,
"Ebs"
:{
"Ebs"
:{
"VolumeSize"
:
"50"
"VolumeSize"
:
"50"
}
}
...
@@ -2922,10 +2937,10 @@
...
@@ -2922,10 +2937,10 @@
},
},
"Subnets"
:[
"Subnets"
:[
{
{
"Ref"
:
"
Public
Subnet01"
"Ref"
:
"
XServer
Subnet01"
},
},
{
{
"Ref"
:
"
Public
Subnet02"
"Ref"
:
"
XServer
Subnet02"
}
}
]
]
}
}
...
@@ -3087,10 +3102,10 @@
...
@@ -3087,10 +3102,10 @@
"SecurityGroupIngress"
:[
"SecurityGroupIngress"
:[
{
{
"IpProtocol"
:
"tcp"
,
"IpProtocol"
:
"tcp"
,
"FromPort"
:
"12345"
,
"FromPort"
:
{
"Ref"
:
"CacheNodePort"
}
,
"ToPort"
:
"12345"
,
"ToPort"
:
{
"Ref"
:
"CacheNodePort"
}
,
"SourceSecurityGroupId"
:{
"SourceSecurityGroupId"
:{
"Ref"
:
"Edxapp
ELB
SecurityGroup"
"Ref"
:
"Edxapp
Server
SecurityGroup"
}
}
}
}
]
]
...
@@ -3174,7 +3189,7 @@
...
@@ -3174,7 +3189,7 @@
"--cache-node-type "
,
{
"Ref"
:
"CacheNodeType"
},
" "
,
"--cache-node-type "
,
{
"Ref"
:
"CacheNodeType"
},
" "
,
"--engine memcached "
,
"--engine memcached "
,
"--engine-version 1.4.5 "
,
"--engine-version 1.4.5 "
,
"--port
12345
"
,
"--port
"
,
{
"Ref"
:
"CacheNodePort"
},
"
"
,
"--preferred-availability-zone "
,
"--preferred-availability-zone "
,
{
"Fn::FindInMap"
:[
{
"Fn::FindInMap"
:[
"MapRegionsToAvailZones"
,
"MapRegionsToAvailZones"
,
...
@@ -3184,7 +3199,8 @@
...
@@ -3184,7 +3199,8 @@
},
" "
,
},
" "
,
"--cache-parameter-group-name default.memcached1.4 "
,
"--cache-parameter-group-name default.memcached1.4 "
,
"--auto-minor-version-upgrade true "
,
"--auto-minor-version-upgrade true "
,
"--cache-subnet-group-name "
,
{
"Ref"
:
"EdxVPC"
},
"-ElasticCacheSubnetGroup"
"--cache-subnet-group-name "
,
{
"Ref"
:
"EdxVPC"
},
"-ElasticCacheSubnetGroup "
,
"--security-group-ids "
,
{
"Ref"
:
"CacheSecurityGroup"
}
]
]
]
]
}
}
...
...
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