As the scope of FxA projects grow and new repositories are added keeping a 
development environment up to date and functional becomes increasingly more 
difficult. So far we've been able to use awsbox for our various *.dev.lcip.org 
servers, but I feel like we're reaching the limits of their convenience for 
testing the whole integrated system. The latest and nightly servers have 
accumulated various one off hacks to do the things we need them to do and I 
think this would continue as we add more services.

I started a repo a couple weeks ago to start to try and address this issue and 
also allow for more experimentation with our deployment. What I'd like to 
propose here is that we retire our current set of shared *.dev.lcip.org 
awsboxes and use this new thing for our shared dev/test environment.

So what is the new thing an how is it better?

1. It uses cloudformation to create the all the AWS resources.
  - Its the same way production and stage resources are provisioned
  - It allows for easier server architecture experimentation
  - Stack setup and teardown is easier
2. Supporting services are included.
  - Heka, Elasticsearch and Kibana are included
  - Can use the same tools to debug dev as prod
  - Makes developing new Heka filters, Kibana dashboards, etc. easier
3. Its provisioned with Ansible.
  - All parts of the installation are documented and repeatable
  - Easy to add new roles and tasks
  - Automatically update server configuration in addition to code

Its not complete but I think it now has all the minimum requirements to to 
serve as our latest and nightly development servers: https, ssh access, 
reliable email, auto-update.

The latest server pulls from github every 10 minutes and is at:

https://latest.dev.lcip.org

To log in with ssh:

ssh [email protected]

Heka and Kibana are at:

http://meta-latest.dev.lcip.org:4352 and http://meta-latest.dev.lcip.org:9199

The repo is:

https://github.com/dannycoates/fxa-dev

The readme has some basic info on the AWS setup. For a deep dive look at the 
roles and aws directories.


Please have a look and share any feedback :)


--  
Danny Coates

_______________________________________________
Dev-fxacct mailing list
[email protected]
https://mail.mozilla.org/listinfo/dev-fxacct

Reply via email to