Container Insights, click on
Filter by clustersearch box, then select the option starting with
Services-PayForAdoptionsfrom the drop down list.
This will return all the resources that associated with the selected cluster.
You can also search for a specific resource by using the
Find resources search box. For example, you can execute a search for resources containing the keyword
task as shown below.
Map Viewin the top right corner.
This will show the cluster resources in a tree format.
Services-PayForAdoptionnode on the map.
This will cause critical metrics about the resource to appear at the bottom of the screen. In this example, you can see cpu, memory, and network related metrics aggregated at the cluster level.
View Dashboardbutton located in the top left of the panel displaying the metrics.
Here you will be able to see the automatic dashboards created by CloudWatch Container Insights. For ECS, you can see performance and health metrics at the following levels:
ECS Clustersselected) and click on a few of the options listed above to view the different dashboards.
As demonstrated in the GIF below, you can also see the application and performance logs for a selected resource.
ECS Servicesfrom the dashboard drop down.
Filtersdrop down. (The drop down directly to the right of the dashboard drop down).
Task Performancesection and select one of the tasks by checking the checkbox.
Actionsdrop down at the top right of the section, then click
View performance logs.
You will be redirected to the
CloudWatch Logs Insights screen as shown below. Notice that the log group and time line were already selected, and a sample query is already present.
run queryand view the logs listed.
This concludes this section. You may continue on to the next section.