New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure cloudwatch logs for seedling server #6
Comments
Configuring a running system from AWS's docs Will then add this to the to be built cf template Recipe
{
"Effect": "Allow",
"Action": [
"logs:CreateLogGroup",
"logs:CreateLogStream",
"logs:PutLogEvents",
"logs:DescribeLogStreams"
],
"Resource": [
"arn:aws:logs:*:*:*"
]
}
was getting
|
Next, test run: http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/EC2NewInstanceCWL.html then take what's learned there and start the CF Template |
This needs to go AFTER the run of init-config.php (it creates the files we'll be moving) ## Additions to template
mv /etc/awslogs/awslogs.conf /etc/awslogs/awslogs.conf.stock
mv /etc/awslogs/awscli.conf /etc/awslogs/awscli.conf.stock
mkdir -p /var/awslogs/state
mv /home/ec2-user/kiln/config/cloudwatchLogs/awscli.conf /etc/awslogs/awscli.conf
mv /home/ec2-user/kiln/config/cloudwatchLogs/awslogs.conf /etc/awslogs/awslogs.conf
service awslogs start
chkconfig awslogs on |
- init-config now creates to production files form the templates - cf-template mv's the files into place on the build maching and completes the awslogs install fixes #6
added templates for the aws cloudwatch logs config files
No description provided.
The text was updated successfully, but these errors were encountered: