To run on AWS change directory to aws
cd aws- Set the
AWS_ACCESS_KEY_IDandAWS_SECRET_ACCESS_KEYenvironment variables - create a
environments/foo.ymlfile ('foo' can be anything) a) seeenvironments/EXAMPLE.ymlfor a base reference b) it is recommended that you set values forownerandreaper_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 }}
- fxa sources are in
/data/fxa-* - node processes are run by supervisord
- config in
/etc/supervisor.d - run
sudo supervisorctl statusfor info
- config in
- nginx is the web frontend
- config in
/etc/nginx/conf.d
- config in
- node process logs are in
/var/log/fxa-*
- 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: ec2-user@meta-latest.dev.lcip.org