AWS Cloud Operations & Migrations Blog

Tag: Amazon CloudWatch

Create a metric math alarm using Amazon CloudWatch

In 2018 we launched metric math, which enables you to perform calculations across multiple metrics for real-time analysis. You can visualise these computed metrics through the Amazon CloudWatch console, add them to CloudWatch Dashboards, or retrieve through the newly launched GetMetricData API. You can use metric math to derive insights from your existing CloudWatch metrics and […]

Automating processes for handling and remediating AWS Abuse alerts

Introduction AWS Abuse addresses many different types of potentially abusive activity such as phishing, malware, spam, and denial of service (DoS)/ distributed denial of service (DDoS) incidents. When abuse is reported, we alert customers so they can take the remediation action that is necessary. Customers want to build automation for handling abuse events and the […]

Learn how to leverage Amazon CloudWatch alarms to create an incident in ServiceNow

This was blog was authored by Itai Njanji and third party collaborators: A special thanks to Grant Hulbert  a Sr. Technology Alliance Architect for ServiceNow, who co-authored this blog Ben Yukich a Field CTO for ITOM at ServiceNow, who wrote the ServiceNow source code for this integration (Note: This post was updated September 22, 2020) Introduction Customers want […]

Streaming AWS Systems Manager Run Command output to Amazon CloudWatch Logs

April 12, 2021:  We updated the blog post  to reflect new Run Command service quotas. AWS Systems Manager Run Command is designed to let you remotely and securely manage instances. Run Command provides a simple way of automating common administrative tasks like running shell scripts, installing software or patches, and more. All actions taken with […]

Monitoring Service Limits with Trusted Advisor and Amazon CloudWatch

Understanding your service limits (and how close you are to them) is an important part of managing your AWS deployments – continuous monitoring allows you to request limit increases or shut down resources before the limit is reached. One of the easiest ways to do this is via AWS Trusted Advisor’s Service Limit Dashboard, which […]

How to Export EC2 Instance Execution Logs to an S3 Bucket Using CloudWatch Logs, Lambda, and CloudFormation

This blog was updated on December, 6, 2023.  The updates included updating the AWS CloudFormation template to use Python 3.11 instead of Python 2.7.  Other minor changes were made to AWS Lambda, to accommodate Python version changes. “We want to get execution logs from our EC2 instances into S3,” my customer said. “Then we can […]

Use AWS CloudFormation Stack Termination Protection and Rollback Triggers to Maintain Infrastructure Availability

Managing your infrastructure as code using AWS CloudFormation provides a consistent way to rapidly deliver AWS environments for your applications. As your pace of delivery increases, it’s important to ensure you have the appropriate guardrails to protect your most critical infrastructure resources. AWS CloudFormation now includes two additional tools to help you ensure the consistent […]

Monitor Changes and Auto-Enable Logging in AWS CloudTrail

AWS CloudTrail is a service that enables governance, compliance, operational auditing, and risk auditing of your AWS account. Hence, it’s crucial to monitor any changes to CloudTrail and make sure that logging is always enabled. With CloudTrail, you can log, continuously monitor, and retain events related to API calls across your AWS infrastructure. CloudTrail provides […]

Keeping CloudWatch Dashboards up to date using AWS Lambda

With the launch of the new CloudWatch Dashboards API and CloudFormation support it is now easy to automate your CloudWatch Dashboards and make sure they monitor all the resources that you launched when creating your CloudFormation stacks. Let’s now see how you can use the new CloudWatch Dashboards API to dynamically update your dashboard as […]