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
329334c5
Commit
329334c5
authored
Jun 13, 2013
by
Feanil Patel
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #105 from edx/feanil/documentation
Feanil/documentation
parents
3be317f7
8a3d6b91
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
1 deletions
+25
-1
README.md
+25
-1
No files found.
README.md
View file @
329334c5
...
...
@@ -51,8 +51,31 @@ configuration parameters, it will give you continuous feedback during
the process of building the stack and useful error messages when
problems occur.
Before you create the stack you will need to create a key-pair that can
be used to connect to the stack once it's instantiated. To do this
go to the 'EC2' section and create a new key-pair under the 'Key Pairs'
section. Note the name of this key and update
`cloudformation_templates/edx-reference-architecture.json`
file. Under the
'KeyName' section change the value of 'Default' to the name of the key-pair
you just created.
Details on how to build the stack using Ansible are available below.
#### Building with the AWS Console
From the AWS main page that lists all the services you can use. Click on the
CloudFormation link. This will take you to a list of cloud stacks you currently
have active. Here click the 'Create Stack' button. In the wizard you can give a
name for your stack and pass in a template which defines the edX stack. Use the
`edx-reference-architecture.json`
template in the
`cloudformation_templates`
directory.
#### Building with the CloudFormation CLI
To build from the CloudFormation CLI you will have to first upload the configuration
file to an S3 Bucket. The easiest way to do this is to use
`s3cmd`
.
```
s3cmd put /path/to/edx-reference-architecture.json s3://<bucket_name>
aws cloudformation create-stack --stack-name <stack_name> --template-url https://s3.amazonaws.com/<bucket_name>/edx-reference-architecture.json --capabilities CAPABILITY_IAM
```
### Post Bringup Manual Commands
...
...
@@ -73,6 +96,7 @@ screenshot).

Run the commands shown here before moving onto the next step.
### Connecting to Hosts in the Stack
...
...
@@ -131,7 +155,7 @@ ec2_region_endpoint = ec2.us-west-1.amazonaws.com
Tagging is the bridge between the provisioning and configuration
phases. The servers provisioned in your VPC will be stock Ubuntu
12.
0.4 LTS servers. The only difference between them wi
th
be the tags
12.
0.4 LTS servers. The only difference between them wi
ll
be the tags
that CloudFront has applied to them. These tags will be used by Ansible
to map playbooks to the correct servers. The application of the
appropriate playbook, will turn each stock host into an appropriately
...
...
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