Monitoring Amazon ECS Resources With Amazon CloudWatch
Amazon CloudWatch collects and processes Amazon ECS data into readable, near real-time metrics that allow developers to gain a better perspective on how clusters and services are performing. Amazon ECS services launched using the Fargate launch type automatically provide CPU and memory utilization metrics, but additional metrics can be enabled at the cluster and service levels.
Amazon CloudWatch Container Insights collect, aggregate, and summarize various metrics from containerized applications. When enabled, CloudWatch container insights provide higher-level aggregated metrics at the cluster, service, and task levels. As a feature of CloudWatch, metrics provided by container insights can also be utilized to create alarms and trigger downstream workflows in an event-driven solution.
In this lab, you will explore the metrics provided by CloudWatch container insights. You will walk through the container insights dashboard to visualize ECS metrics, and also leverage the metrics to create a CloudWatch alarm.
Upon completion of this intermediate-level lab, you will be able to:
- Enable CloudWatch container insights for an ECS cluster
- Explore CloudWatch container insight dashboards
- Create a CloudWatch alarm using ECS service metrics
- Cloud Architects
- DevOps Engineers
- Software Engineers
Familiarity with the following will be beneficial but is not required:
- Amazon Elastic Container Service
- Amazon CloudWatch
The following content can be used to fulfill the prerequisites:
Jun is a Cloud Labs Developer with previous experience as a Software Engineer and Cloud Developer. He holds the AWS Certified Solutions Architect and DevOps Engineer Professional certifications. He also holds the AWS Certified Solutions Architect, Developer, and SysOps Administrator Associate certifications.
Jun is focused on giving back to the growing cloud community by sharing his knowledge and experience with students and creating engaging content.