CloudWatch
.Container Insights
, click on Resources
.Filter by cluster
search box, then select the option starting with Services-PayForAdoptions
from 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 View
in the top right corner.This will show the cluster resources in a tree format.
Services-PayForAdoption
node 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 Dashboard
button 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 Clusters
selected) 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 Services
from the dashboard drop down.Services-PayForAdoption
from the Filters
drop down. (The drop down directly to the right of the dashboard drop down).Task Performance
section and select one of the tasks by checking the checkbox.Actions
drop 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 query
and view the logs listed.This concludes this section. You may continue on to the next section.