Integration & Automation
Category: Amazon CloudWatch
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 MoreCollect 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 MoreDeploy bastion hosts into private subnets with AWS CDK
Learn how to use AWS CDK to deploy bastion hosts into private subnets of a VPC.
Read MoreAutomate VPC tagging with AWS Control Tower lifecycle events
Automatically tag resources in an AWS account created by AWS Control Tower.
Read MoreHow to automatically subscribe to Amazon CloudWatch Logs groups
Automatically discover new log groups and add them as triggers to your existing Lambda functions.
Read MoreRun code before terminating an EC2 Auto Scaling instance
Learn how to create an AWS CloudFormation template that runs code prior to terminating an EC2 Auto Scaling instance.
Read MoreLogging 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 MoreAutomating Amazon CloudWatch alarms with an AWS CloudFormation macro
Tired of writing out each Amazon CloudWatch alarm within your AWS CloudFormation template? Learn how to append alarms automatically by using a CloudFormation macro.
Read MoreUsing AWS Systems Manager Automation and AWS CloudFormation together
In this first post of a two-part series, read about the benefits of using AWS CloudFormation and AWS Systems Manager together to streamline deployment, and outputting logs to Amazon CloudWatch for centralized troubleshooting.
Read More