- 02 May, 2013 13 commits
-
-
Sef Kloninger committed
-
Sef Kloninger committed
-
Sef Kloninger committed
-
Sef Kloninger committed
-
You may want to deploy more app instances by default to start with.
Sef Kloninger committed -
It's a bummer that enabling VPC DNS hostnames isn't supported by CloudFormation yet, so we have to do this manual command hack like we're already doing for ElastiCache. Helpful bit for configuring your ssh as well.
Sef Kloninger committed -
Install debian and python dependencies for LMS/CMS
jarv committed -
* Move debian package list to roles/lms/vars/main.yml * Move lms_git_repo to roles/lms/vars/main.yml
Joe Blaylock committed -
Return private DNS names that will be resolvale within the VPC. This way we can define a general SSH config that will work for all hosts.
Sef Kloninger committed -
Some minor ruby role changes
jarv committed -
high-level overview of ssh config
Sef Kloninger committed -
moved creation of /opt/www and www user into ruby role
Jason Bau committed -
Need to be able to ssh *out* of our hosts to communicate with GitHub for private repos. Add egress TCP port 22 access to the NATSecurityGroup.
Sef Kloninger committed
-
- 01 May, 2013 8 commits
-
-
* Cleanups in LMS task * Add missing debian packages: libgeos-dev, nodejs * Alphabetize list of debian packages in LMS task
Joe Blaylock committed -
Playbook that installs ruby.
jarv committed -
* Create a global variable lms_source_repo to make it easy to update where to pull mitx from when mitx moves * Create global variable venv_base to store location of edx virtual environment, defaults to /opt/edx * Create edx virtual environment to store python modules * Add tags to LMS and CMS tasks to make selective running and testing easier * Install a long, static list of debian packages, which has been manually curated from other edx configurations; this probably needs more attention and in the future should probably be divided better among various roles. * Install the list of python packages distributed with the mitx repository * Install some really useful software, namely mosh and tmux
Joe Blaylock committed -
e0d committed
-
Jason Bau committed
-
adding license
jarv committed -
e0d committed
-
By default it installs 1.9.3-p374 in /opt/www/.rbenv and gems go in /opt/www/.gem, which replicates the vagrant box
Jason Bau committed
-
- 30 Apr, 2013 10 commits
-
-
Feature/e0d/reference architecture
Sef Kloninger committed -
Feature/jbau/env parameterizaton
jarv committed -
Jason Bau committed
-
reduce scaling group minimums to 1 for dev/test
jarv committed -
Sef Kloninger committed
-
don't require 2 caches for dev/test cases
Sef Kloninger committed -
Eventually we might want to set these thresholds to have better ranges, but for trying the stack out I say that we shouldn't require an more than the minimum number of machines.
Sef Kloninger committed -
Also changed top level playbook ymlv var search to follow a path, first over {{ secure_file_dir }} set in group_vars/all then at vars/secure_default
Jason Bau committed -
parameterize availability zones; reformat templ maps
e0d committed -
var empty, so no actual users are created
Jason Bau committed
-
- 29 Apr, 2013 7 commits
-
-
Sef Kloninger committed
-
Added defaults to some of the settings to make it more likely that someone will get a stack up and running on the first try: deployment key and environment tag. Parameterized the availability zones instead of hardcoding them to us-east-1. Each region has it's own notion of what is primary and what is secondary, etc. because it seems that not all capabilities work in all AZ's. Specifically I got this error when trying to create a VPC in us-west-1. > Value (us-west-1b) for parameter availabilityZone is invalid. Subnets > can currently only be created in the following availability zones: > us-west-1c, us-west-1a. For us-east-1 "B" and "C" are still the primary and secondary so EdX shouldn't be affected. But in us-west-1 primary=A and secondary=C. We'll have to learn over time what works best for other regions. Reformatted the mapping sections to make them easier to read. Hope you don't mind. Much terser and easier to eyeball. Terser overall description. Removed the "you'll be billed!" warning.
Sef Kloninger committed -
Change made in other tempates, doing for this template too. At some point there was a copy/paste error and the eu-west-1 was used for us-west-1. See 2cba8413
Sef Kloninger committed -
Jrbl/feature/git checkout
jarv committed -
* Replace hardcoded instances of /opt/wwc with $app_base_dir, which defaults to /opt/wwc. * Add tags to nginx tasks so they can be selected independently.
Joe Blaylock committed -
e0d committed
-
e0d committed
-
- 26 Apr, 2013 2 commits
-
-
Joe Blaylock committed
-
* create_users creates an 'edx' group * create_users task edited to put all admin users in adm and edx groups, * create_users assigns all users a shell * lms installs ssh keys for mitx checkout, creates target dir in /opt/wwc, and checks out the mitx source
Joe Blaylock committed
-