Commit 329334c5 by Feanil Patel

Merge pull request #105 from edx/feanil/documentation

Feanil/documentation
parents 3be317f7 8a3d6b91
......@@ -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).
![CloudFormation Output (Amazon console)](doc/cfn-output-example.png)
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 with be the tags
12.0.4 LTS servers. The only difference between them will 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
......
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