devops-infra-demo
devops-infra-demo copied to clipboard
Growing repository of Infrastructure as Code demos (initially created for DevOps Wall Street)
In the [ticket where we originally added CloudWatch](https://trello.com/c/UlmIfyqL/19-devops-infra-demo-setup-cloud-watch-agent-through-ansible-to-forward-logs) we used these CloudWatch log group names, which are short, but don't group well or show up together when you go into...
It would be valuable to be able to have more than one pool of servers, so lets break most of this into a module where you can set a name...
Dependent on #42
See the TODO in bin/codedeploy/AfterInstall.sh
Check out this set of log entries, around `uwsgi: *** Error in `/app/venv/bin/uwsgi': double free or corruption (out): 0x00007f047c0327d0 ***`: ``` ==> /var/log/messages generated 71 bytes in 5004 msecs (HTTP/1.1...
I want everything that `journalctl -f` emits, in a `systemd` log group, for example: ``` Jul 30 16:17:48 ip-10-0-1-81.ec2.internal uwsgi[3620]: ImportError: Import by filename is not supported. Jul 30 16:17:48...
I noticed that running packer and ansible left these files around (in the : ``` emperor.ini src/infra-demo.ini ``` It looks like the split between the Ansible portion of the Python...
We should not be seeing errors [such as this](https://console.aws.amazon.com/cloudwatch/home?region=us-east-1#logs-insights:queryDetail=~(end~0~start~-3600~timeType~'RELATIVE~unit~'seconds~editorString~'fields*20*40timestamp*2c*20*40message*0a*7c*20sort*20*40timestamp*20desc*0a*7c*20limit*2020~isLiveTail~false~queryId~'3fb8b208-6045-4d29-9030-01ca61fd4b6c~source~(~'nginx-error))) in the nginx error log: ``` 1 2019-07-30T11:58:54.452-04:00 2019/07/30 15:58:48 [error] 1223#1223: *3 open() "/usr/share/nginx/html/api/spin" failed (2: No such file or...