Cloud-native app monitoring
Amazon CloudWatch allows developers, system architects, and administrators to monitor their AWS applications in the cloud, in near-real-time. CloudWatch is automatically configured to provide metrics on request counts, latency, and CPU usage. Users also can send their own logs and custom metrics to CloudWatch for monitoring.
The data and reports CloudWatch provides lets users keep track of application performance, resource use, operational issues, and constraints. This helps organizations resolve technical issues and streamline operations.
CloudWatch is most commonly used with Elastic Compute Cloud (EC2) instances, and can also monitor Amazon Elastic Block Store (EBS) volumes, Elastic Load Balancers (ELBs), and instances of Amazon Relational Database Service (RDS). It also can extend beyond these core services to intake custom data from external sources.
Users choose CloudWatch for its automatic integration with AWS services, its flexibility, and its ability to scale quickly.
Amazon CloudWatch Pricing
AWS CouldWatch comes in pricing tiers, a free and paid tier. The paid tier of CloudWatch has no upfront fees or commitments and is billed at the end of the month based on usage. Keep in mind, CloudWatch prices do vary by region and are subject to change. Below are the current prices listed by Amazon:
- First 10,000 metric - $0.30 (metric/month)
- Next 240,000 metrics - $0.10
- Next 750,000 metrics - $0.05
- Over 1,000,000 metrics - $0.02
- GetMetricData, GetInsightRuleReport - $0.01 per 1,000 metrics requested
- GetMetricWidgetImage - $0.02 per 1,000 metrics requested
- GetMetricStatistics, ListMetrics, PutMetricData, GetDashboard, ListDashboards, PutDashboard and DeleteDashboards requests - $0.01 per 1,000 requests
- $3.00 per dashboard
- Standard resolution - $0.10 per alarm metric
- High resolution - $0.30 per alarm metric
- Standard resolution anomaly detection - $0.30 per alarm
- High resolution anomaly detection - $0.90 per alarm
- Composite - $0.50 per alarm
- Collect (data ingestion) - $0.67 per GB
- Store (archival) - $0.033 per GB
- Analyze (logs insights queries) - $0.0067 per GB of data scanned
- Custom Events - $1.00 per million events
- Cross-Account Events - $1.00 per million events
- Contributor Insights Rule - $0.50 per rule per month
- Matched Log Events - $0.027 per one million log events that match the rule per month
- $0.0017 per canary run
Ready to optimize your AWS architecture?
See how our AWS cloud-native analytics platform unifies visibility and security in every AWS environment, and get started for free today.
Monitoring AWS Resources With CloudWatch
Amazon CloudWatch is configured out-of-the-box to integrate with EC2, offering two levels of monitoring capabilities:
- Basic monitoring, which requires no additional fee, includes seven pre-selected metrics and three status-check metrics, produced at five-minute and one-minute intervals, respectively.
- Detailed monitoring, which comes at an additional charge, increases the frequency of all metrics to one-minute intervals.
Additional AWS services that CloudWatch can monitor automatically include the following:
- EBS: Monitors read/write latency and similar measurements.
- RDS database instances: Monitors metrics such as storage space and freeable memory.
- SQS Queues: Monitors messages sent, messages received, and other key metrics.
- SNS Topics: Monitors common metrics like number of published and delivered messages.
Can CloudWatch Monitor Custom Metrics?
Amazon CloudWatch is capable of monitoring custom metrics from data produced by your applications, scripts, and services. Custom metrics can include anything from web page load time, or amount of work performed by your application. PutMetricData API is the easiest way to get started with custom metrics, but you can also use a number of other applications and tools offered by AWS partners.
Does CloudWatch Charge for All Monitoring
Amazon CloudWatch offers Basic Monitoring at no cost for EC2 instances. Data included in Basic monitoring includes CPU load, disk I/O, and network I/O metrics which is collected in five minute intervals with two week storage.
Other CloudWatch Features and Capabilities
Beyond its automatically configured monitoring capabilities, CloudWatch can be extended to monitor metrics from additional AWS services and even external applications. Through API requests, users can enable the same core functionality of CloudWatch for their custom data. CloudWatch also can function for basic monitoring of system logs, allowing users to track and analyze for specific metrics.
The CloudWatch dashboard interface allows users to create custom graphical views across their AWS services. These can include both real-time data and historical data up to a two-week maximum.
Users also can set alarms that will trigger whenever a metric crosses a specified limit, allowing them to take quick actions on real-time data or easily spot resources that are being underutilized. Some responsive actions can even be automated using a rules engine built into the service.
How Do I Check My CloudWatch Logs?
Using AWS CloudWatch, you can view log data on a stream-by-stream basis. All log data is sent by CloudWatch Logs agent to CloudWatch Logs. The data can easily be reviewed by time range specified for the log data.
How to view log data
- Open your CloudWatch console
- Select Log groups from the navigation window
- Choose the log group you want to review to view the streams
- Pick the name of the log group you want to view from the available list of log groups
- From here, you can expand log events, view as plain text, filter, and specify date/time ranges.
Using Sumo Logic to Collect Data from AWS CloudWatch
Using Sumo Logic, you can collect CloudWatch logs by using our AWS Lambda function to subscribe to your CloudWatch Log Group. Our AWS Lambda function converts the CloudWatch log format into a format that is compatible with Sumo, then POSTs the data directly to a Sumo HTTP Source. This is the preferred method for the following types of data: Custom CloudWatch log data, Amazon VPC Flow logs, AWS Lambda logs.
For more information on collected Amazon CloudWatch data in Sumo Logic click here.