We use a CloudFormation stack (1) to create the components shown. When everything is up and running, we have an EC2 instance running a CloudWatch Logs agent (2). The agent routes the configured logs to a CloudWatch Logs log group (3). A Lambda f...
Amazon CloudWatch probably comes to mind first. This built-in AWS monitoring and observability service helps IT teams to track performance and collect data from many AWS cloud services and resources. For EC2 instances, CloudWatch provides typical monitoring of CPU utilization, hard disk utiliza...
In AWS, this task can be handled with a CloudWatch alarm. When set to monitor a specific metric, CloudWatch notifies you if that metric goes above a certain threshold. Let's look at what the different CloudWatch alarms do, when to use them and how to set one up on anEC2 ins...
The memory utilization metric is not one of themetricsthat Amazon EC2 sends to CloudWatch. I will use the unified CloudWatch agent to send the memory utilization metric from EC2 instances. I will also configure theaggregation_dimensionsfield in the CloudWatch agent configuration file. This fie...
The AWS Lambda service automatically writes execution logs to CloudWatch Logs. CloudWatch Logs has a very useful feature called Metric Filters, which allows you to identify text patterns in your logs and automatically convert them to CloudWatch Metrics. This is extremely helpful, so you can easily...
Each file includes resources of one type, such as Amazon EC2 instances or Amazon EBS volumes. If no configuration changes occur, AWS Config does not send a file. AWS Config sends a configuration snapshot to your Amazon S3 bucket when you use the deliver-config-snapshot command with the AWS...
Amazon S3 File Gateway enables file system mount on Amazon S3, allowing access to data directly in S3 using NFS or SMB protocols. It provides low-latency access through local caching and integrates with AWS services like IAM and CloudWatch, offering a cost-effective alternative to on-premises st...
Grafana– dashboards and awesome visualizations to connect open-source solutions Promtail– pulls logs from many sources, including local log files from the same host, server IPMI stats, systemd journal, GCP, AWS Cloudwatch,AWS EC2and EKS, Windows event logs, application logs, Docker containers ...
How can I set up a CloudWatch alarm to automatically recover my EC2 instance? Move EC2 instance to other AZ Best practices for handling EC2 Spot Instance interruptions How to share the EC2 AMI Copy AMI from global to China How to handle EC2 detected degradation Check if a reboot is required...
Recognizing services that aid in governance and compliance (for example, monitoring with Amazon CloudWatch; auditing with AWS CloudTrail, AWS Audit Manager, and AWS Config; reporting with access reports) Recognizing compliance requirements that vary among AWS services Task Statement 2.3: Identify AWS acc...