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
bdc7af57
Commit
bdc7af57
authored
Apr 30, 2013
by
Sef Kloninger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanups to memcache cluster manual commands
parent
81fa0116
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
41 deletions
+17
-41
cloudformation_templates/edx-reference-architecture.json
+17
-41
No files found.
cloudformation_templates/edx-reference-architecture.json
View file @
bdc7af57
...
...
@@ -3131,64 +3131,40 @@
}
},
"ElasticCacheCreateSubnetGroupCommand"
:{
"Description"
:
"
Commands to be run to create the elatic cache. Creation isn't fully supported in CF today
."
,
"Description"
:
"
MANUAL COMMAND #1: create subnet group. (these commands have to be run by hand because they aren't supported by CloudFormation yet
."
,
"Value"
:{
"Fn::Join"
:[
""
,
[
"elasticache-create-cache-subnet-group"
,
" "
,
{
"Ref"
:
"EdxVPC"
},
"-ElasticCacheSubnetGroup --description 'VPC ElasticCache Subnet Group'"
,
" --subnet-ID-list"
,
" "
,
{
"Ref"
:
"Cache01"
},
","
,
{
"Ref"
:
"Cache02"
}
"elasticache-create-cache-subnet-group "
,
{
"Ref"
:
"EdxVPC"
},
"-ElasticCacheSubnetGroup "
,
"--description 'VPC ElasticCache Subnet Group' "
,
"--subnet-ID-list "
,
{
"Ref"
:
"Cache01"
},
","
,
{
"Ref"
:
"Cache02"
}
]
]
}
},
"ElasticCacheCreateCacheClusterCommand"
:{
"Description"
:
"
Foo
"
,
"Description"
:
"
MANUAL COMMAND #2: Create cache cluster.
"
,
"Value"
:{
"Fn::Join"
:[
""
,
[
"elasticache-create-cache-cluster"
,
" "
,
{
"Ref"
:
"EdxVPC"
},
"-Cache --num-cache-nodes "
,
{
"Ref"
:
"NumberOfCacheNodes"
},
" --cache-node-type "
,
{
"Ref"
:
"CacheNodeType"
},
" --engine memcached --engine-version 1.4.5 --port 12345 --preferred-availability-zone "
,
{
"Fn::FindInMap"
:[
"elasticache-create-cache-cluster "
,
{
"Ref"
:
"EdxVPC"
},
"-Cache "
,
"--num-cache-nodes "
,
{
"Ref"
:
"NumberOfCacheNodes"
},
" "
,
"--cache-node-type "
,
{
"Ref"
:
"CacheNodeType"
},
" "
,
"--engine memcached "
,
"--engine-version 1.4.5 "
,
"--port 12345 "
,
"--preferred-availability-zone "
,
{
"Fn::FindInMap"
:[
"MapRegionsToAvailZones"
,
{
"Ref"
:
"AWS::Region"
},
"AZone0"
]
},
" --cache-parameter-group-name default.memcached1.4 --auto-minor-version-upgrade true"
,
" --cache-subnet-group-name ElasticCacheSubnetGroup"
,
" "
,
{
"Ref"
:
"EdxVPC"
},
"-ElasticCacheSubnetGroup"
},
" "
,
"--cache-parameter-group-name default.memcached1.4 "
"--auto-minor-version-upgrade true "
,
"--cache-subnet-group-name "
,
{
"Ref"
:
"EdxVPC"
},
"-ElasticCacheSubnetGroup"
]
]
}
...
...
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