Integration & Automation

Category: Amazon CloudWatch

Keep your AWS resources when you rename an AWS CloudFormation stack

Learn how to change the name of a CloudFormation stack without deleting the resources that it manages. In the walkthrough, which uses a simple architecture with a single resource, a virtual private cloud (VPC), you add a Retain attribute to the resource’s deletion policy so that the resource isn’t lost when that stack is deleted.

Read More

Reduce log-storage costs by automating retention settings in Amazon CloudWatch

Learn how to reduce log-storage costs by automating retention settings in Amazon CloudWatch. By default, CloudWatch Logs stores log data indefinitely, which is helpful. But as AWS workload logging grows, so do your log-storage costs. To reduce costs, establish a log-retention policy and apply it across all your log groups, ideally automatically.

Read More

Collect custom metrics with Amazon CloudWatch strategic tagging

Learn how to use an Amazon CloudWatch agent to automate the collection of custom metrics for two Amazon EC2 instances. The solution is based on a tagging strategy combined with AWS Systems Manager State Manager to enforce specific CloudWatch agent configurations for EC2 instances that are tagged appropriately.

Read More
cloudwatch logs

Logging Windows Amazon EC2 UserData activity in Amazon CloudWatch

Track what is happening with your Amazon EC2 instance at creation time by leveraging CloudWatch to externalize log data. Use AWS Secrets Manager for credential security with PowerShell scripts, and create a reusable AWS CloudFormation template.

Read More