AWS Ansible-based development environment for Firefox Accounts
Prerequisites
Usage
To run on AWS change directory to aws
cd aws
- Set the
AWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
environment variables - create a
environments/foo.yml
file ('foo' can be anything) a) seeenvironments/EXAMPLE.yml
for a base reference b) it is recommended that you set values forowner
andreaper_spare_me
- run
make foo
To updated the stack just run make foo
again.
You can ssh into the EC2 instance with ssh ec2-user@meta-{{ whatever you configured in foo.yml }}
Layout Notes
- fxa sources are in
/data/fxa-*
- node processes are run by supervisord
- config in
/etc/supervisor.d
- run
sudo supervisorctl status
for info
- config in
- nginx is the web frontend
- config in
/etc/nginx/conf.d
- config in
- node process logs are in
/var/log/fxa-*
Example urls
- logs: https://latest.dev.lcip.org/logs/
- content server: https://latest.dev.lcip.org
- auth server: https://latest.dev.lcip.org/auth/
- oauth server: https://oauth-latest.dev.lcip.org
- sync tokenserver: https://latest.dev.lcip.org/syncserver/token/1.0/sync/1.5
- demo oauth site: https://123done-latest.dev.lcip.org
- ssh access: [email protected]